Sample Header Ad - 728x90

Multipath resize without LVM

1 vote
1 answer
989 views
I have a server with a multipath (example) and without LVM. (mpathb -> 5 Tb).
mpathb (360002ac00000000000003af40000af6b) dm-3 3PARdata,VV
size=5.0T features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=0 status=active
|- 1:0:1:0 sdc 8:32 active undef running
|- 1:0:0:0 sdb 8:16 active undef running
|- 2:0:0:0 sde 8:64 active undef running
`- 2:0:1:0 sdd 8:48 active undef running
And the disk mounted.
/dev/mapper/mpathbp1              /data  (5.0 Tb).
I will need to increase this disk, How do that? Increase at Storage the LUN (From: 5 Tb -> To: 7 Tb) - example. Execute echo 1 > /sys/block/path_device/device/rescan (for all paths). Execute multipathd -k 'resize map mpathb' Execute resize2fs /dev/mpathbp1 This procedure its correct? --- I have just one partition. Would be partprobe where? Partprobe /dev/mapper/mparha? Could explain in details?
Asked by Rodrigo Oliveira (11 rep)
May 11, 2020, 02:27 PM
Last activity: May 12, 2020, 07:59 AM