/dev/sdb1 /media/USBDEVICE2 ntfs-3g rw,umask=0000,defaults 0 0 /dev/sdb1 /media/USBDEVICE1 vfat rw,umask=0000,defaults 0 0
To expand volume on CentOS after resizing in VirtualBox and GParted
[root@flo ~]# lvm vgdisplay [root@flo ~]# lvextend -l +100%FREE /dev/mapper/vg_danube-lv_root [root@florida ~]# df -T Filesystem Type 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_danube-lv_root ext4 8648080 7608976 949924 89% / tmpfs tmpfs 961132 152 960980 1% /dev/shm /dev/sda1 ext4 487652 87980 374072 20% /boot
Volume still not resized.
[root@flo ~]# resize2fs /dev/mapper/vg_danube-lv_root resize2fs 1.41.12 (17-May-2010) Filesystem at /dev/mapper/vg_danube-lv_root is mounted on /; on-line resizing required old desc_blocks = 1, new_desc_blocks = 2 Performing an on-line resize of /dev/mapper/vg_danube-lv_root to 4728832 (4k) blocks. The filesystem on /dev/mapper/vg_danube-lv_root is now 4728832 blocks long. [root@flo ~]# df -T Filesystem Type 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_danube-lv_root ext4 18486004 7612456 10685860 42% / tmpfs tmpfs 961132 304 960828 1% /dev/shm /dev/sda1 ext4 487652 87980 374072 20% /boot
Now volume has been resized.
No comments:
Post a Comment