有人能帮我把 1.7T 的磁盘空间从 移到/home
吗/
?磁盘位于远程访问的专用服务器上。
df
命令输出:
Filesystem 1K-blocks Used Available Use% Mounted on
udev 8131140 0 8131140 0% /dev
tmpfs 1632332 708 1631624 1% /run
/dev/sda2 20026236 1694544 17291360 9% /
tmpfs 8161648 0 8161648 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 8161648 0 8161648 0% /sys/fs/cgroup
/dev/sda1 498532 80794 387479 18% /boot
/dev/sda3 1857690664 69260 1763233540 1% /home
tmpfs 1632328 0 1632328 0% /run/user/0
lsblk
输出:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.8T 0 disk
├─sda1 8:1 0 511M 0 part /boot
├─sda2 8:2 0 19.5G 0 part /
├─sda3 8:3 0 1.8T 0 part /home
└─sda4 8:4 0 511M 0 part [SWAP]
fdisk -l
输出:
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 4096 1050623 1046528 511M 83 Linux
/dev/sda2 1050624 42008575 40957952 19.5G 83 Linux
/dev/sda3 42008576 3905972223 3863963648 1.8T 83 Linux
/dev/sda4 3905972224 3907018751 1046528 511M 82 Linux swap / Solaris