################################################################
LVM Configuration
1. Initialize LUNs with pvcreate..
iSCSI/non-multipath:
pvcreate /dev/sd
pvcreate /dev/dm-<0-9> 2. Add a device into the Volume group
vgextend vgcl_gfs_
3. Sync the LVM Metadata
clvmd -R
4. Extend the size of the Logical Volume
lvextend -L +100G /dev/vgcl_gfs_
[root ~]# lvextend -L +73G /dev/vgcl_gfs_san_cus/cuslv
Extending logical volume cuslv to 85.00 GB
Logical volume cuslv successfully resized5. Sync the LVM Metadata
clvmd -R
#######################################################################
GFS Configuration
6. Grow the existing GFS file system into the additional space
gfs_grow -v (device|mount)
[root ~]# gfs_grow -v /dev/mapper/vgcl_gfs_san_cus/cuslv /gfs/cus
Preparing to write new FS information...
Done.
Device has grown by less than 100 blocks.... skipping
This TEST will not do anything, but tell you what device and mount point to use.
[root ~]# gfs_grow -Tv /dev/mapper/vgcl_gfs_san_cus/cuslv /gfs/cus
No comments:
Post a Comment