Next, we will indicate the steps to follow to resize the disk size in GNU/Linux
We rescan the sessions on both nodes
text
iscsiadm -m session -Rusing the command multipath -ll we identify the MON
text
multipath -ll
mysql_data (3624a93708731da97f48571620001105a) dm-6 PURE ,FlashArray
size=232G features=’0′ hwhandler=’0′ wp=rw
`-+- policy=’service-time 0′ prio=1 status=active
|- 3:0:0:10 sdb 8:16 active ready running
|- 4:0:0:10 sdc 8:32 active ready running
|- 5:0:0:10 sdd 8:48 active ready running
|- 6:0:0:10 sde 8:64 active ready running
|- 7:0:0:10 sdf 8:80 active ready running
|- 10:0:0:10 sdh 8:112 active ready running
|- 8:0:0:10 sdg 8:96 active ready running
`- 9:0:0:10 sdi 8:128 active ready runningRe-scan the device multipath on both nodes
text
multipathd -k’mysql_data’We expand the physical volume:
text
pvresize /dev/mapper/mysql_dataIf we do not have any physical volume created, we must resize it using resize2fs
text
resize2fs /dev/mapper/mysql_data:wq!
Comments