Extend LVM partition with XFS
Posted by valqk on
1. Check free space:
2. Extend vg (-r is for auto extend fs):
3.1. Extend xfs
3.2. Extend ext4
The “-D size” option extend the file system to the specified size (expressed in file system blocks). Without the -D size option, xfs_growfs will extend the file system to the maximum size supported by the device.
#> vgs vgname
2. Extend vg (-r is for auto extend fs):
#> lvextend -r -L +3G /dev/vgname/xfs_part
3.1. Extend xfs
#> xfs_growfs-D
3.2. Extend ext4
#> resize2fs
The “-D size” option extend the file system to the specified size (expressed in file system blocks). Without the -D size option, xfs_growfs will extend the file system to the maximum size supported by the device.
Trackbacks
Trackback specific URI for this entryThis link is not meant to be clicked. It contains the trackback URI for this entry. You can use this URI to send ping- & trackbacks from your own blog to this entry. To copy the link, right click and select "Copy Shortcut" in Internet Explorer or "Copy Link Location" in Mozilla.
No Trackbacks
Comments
Display comments as Linear | ThreadedNo comments