以下是我的 df -h 输出
[root@dpnjsv2-centos7-base logs]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 12G 9.8G 1.6G 87% /
devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 2.0G 8.5M 2.0G 1% /run
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/sda2 497M 148M 350M 30% /boot
/dev/sda1 200M 9.5M 191M 5% /boot/efi
/dev/mapper/centos-tmp 2.0G 98M 1.9G 5% /tmp
/dev/mapper/data-data1 50G 1.9G 49G 4% /data1
下面是 lsblk -f 输出
NAME FSTYPE LABEL UUID MOUNTPOINT
fd0
sda
├─sda1 vfat 4343-0026 /boot/efi
├─sda2 xfs 7e4e5f1d-6ee5-4e33-8a72-bcd7f227013a /boot
└─sda3 LVM2_memb 6qx8c7-OfWv-IAYT-GMH0-30EB-yQ61-hKuUMv
├─centos-root
xfs 37835852-3016-4999-9d89-6d6a8ac8a723 /
├─centos-swap
swap 5514e9aa-7131-4956-978d-688409f8c31e [SWAP]
└─centos-tmp xfs 2508b082-d9f5-45a8-86dd-425a9ddd56c1 /tmp
sdb
└─sdb1 LVM2_memb 9qQ5c4-vzI5-AMtd-63eU-rG7o-6vkA-T8xLJH
└─data-data1 xfs 528aa02f-eebd-40ff-8e51-48bddfe6c1cd /data1
sr0
我想从 data-data1 到 centos-root 文件夹分配空间,感谢帮助