- 論壇徽章:
- 0
|
問題是這樣的:
/home分區(qū),我本來分了10G,現(xiàn)在縮小為300M:
- [root@system1 ~]# df -hT /home
- Filesystem Type Size Used Avail Use% Mounted on
- /dev/mapper/g0-home ext4 9.8G 40M 9.2G 1% /home
- [root@system1 ~]# lvreduce -L 300M -rf /dev/g0/home
- Do you want to unmount "/home"? [Y|n] y
- fsck from util-linux 2.23.2
- /dev/mapper/g0-home: 157/655360 files (0.0% non-contiguous), 83993/2621440 blocks
- resize2fs 1.42.9 (28-Dec-2013)
- Resizing the filesystem on /dev/mapper/g0-home to 76800 (4k) blocks.
- The filesystem on /dev/mapper/g0-home is now 76800 blocks long.
- Reducing logical volume home to 300.00 MiB
- Logical volume home successfully resized
- [color=Red][root@system1 ~]# df -hT /home
- Filesystem Type Size Used Avail Use% Mounted on
- /dev/mapper/g0-home ext4 166M 12M 134M 8% /home[/color]
復制代碼 為什么顯示我把/home縮小為300M了,但是通過df -hT /home查看到的大小是166M?
誰能幫我解釋下,謝謝~~ |
|