Resize-filesystem
Resize-filesystem
root@qemu4:~# kpartx -av /dev/mapper/vg0-ecc--a--16 add map vg0-ecc--a--16p1 (254:7): 0 921600 linear 254:6 2048 add map vg0-ecc--a--16p2 (254:8): 0 202752 linear 254:6 923648 add map vg0-ecc--a--16p3 (254:9): 0 32768 linear 254:6 1126400 add map vg0-ecc--a--16p4 (254:10): 0 627984161 linear 254:6 1159168 root@qemu4:~# ntfsresize -ff /dev/mapper/vg0-ecc--a--16p vg0-ecc--a--16p1 vg0-ecc--a--16p2 vg0-ecc--a--16p3 vg0-ecc--a--16p4 root@qemu4:~# ntfsresize -ff /dev/mapper/vg0-ecc--a--16p4 ntfsresize v2017.3.23 (libntfs-3g) Device name : /dev/mapper/vg0-ecc--a--16p4 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 139999998464 bytes (140000 MB) Current device size: 321527890432 bytes (321528 MB) New volume size : 321527890432 bytes (321528 MB) Checking filesystem consistency ... 100.00 percent completed Accounting clusters ... Space in use : 139913 MB (99.9%) Collecting resizing constraints ... Schedule chkdsk for NTFS consistency check at Windows boot time ... Resetting $LogFile ... (this might take a while) Updating $BadClust file ... Updating $Bitmap file ... Updating Boot record ... Syncing device ... Successfully resized NTFS on device '/dev/mapper/vg0-ecc--a--16p4'. root@qemu4:~# kpartx -dv /dev/mapper/vg0-ecc--a--16 del devmap : vg0-ecc--a--16p1 del devmap : vg0-ecc--a--16p4 del devmap : vg0-ecc--a--16p3 del devmap : vg0-ecc--a--16p2
Tags
None
Subscribers
None
- Last Author
- newellz2
- Last Edited
- Feb 15 2018, 11:07 AM