- 论坛徽章:
- 0
|
问题是这样的:
/home分区,我本来分了10G,现在缩小为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?
谁能帮我解释下,谢谢~~ |
|