It is assumed that you have configured the storage so that all systems in the cluster can see it prior to continuing through these steps. If you have not, then please see either the iSCSI or SAN How To.
################################################################
LVM Configuration
1. Initialize LUNs with pvcreate..
iSCSI/non-multipath:
pvcreate /dev/sd SAN/multipath:
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__/gfslv
[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
################################################################
LVM Configuration
1. Initialize LUNs with pvcreate..
iSCSI/non-multipath:
pvcreate /dev/sd SAN/multipath:
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__/gfslv
[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