Proxmox 3.4 detect LUN new size

RaidoR

New Member
Aug 14, 2015
20
0
1
Hello,

I have A MD3200 array.

I increased (200 -> 205GiB) one of my virtual disk that is mapped to proxmox. Proxmox did not detect new size automatically. My question is, how I tell proxmox to detect new size?

I already tried:
#echo "- - -" > /sys/class/scsi_host/hostx/scan
(x=1-4)

But pvdisplay still shows (should be 205GiB):
--- Physical volume ---
PV Name /dev/mapper/mpathe
VG Name vgmail
PV Size 200.00 GiB / not usable 3.81 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 51199
Free PE 43005
Allocated PE 8194
PV UUID P0R01F-MbWW-W5yI-DAst-B6Gs-UlKY-v1Pwbj

# multipath -ll
mpathe (36782bcb00015a73c00000480504fd84c) dm-5 DELL,MD32xx
size=200G features='3 queue_if_no_path pg_init_retries 50' hwhandler='1 rdac' wp=rw
`-+- policy='round-robin 0' prio=6 status=active
`- 0:0:0:3 sdd 8:48 active ready running
 
I did some digging on google and I got more information, but someone should confirm that I am on right track:
From MD3200 manager I found disk VirtualDisk world-wide identifier, that I increased:
67:82:bc:b0:00:15:a7:3c:00:00:04:80:50:4f:d8:4c

From proxmox I found the disk, using following command:
# multipath -l

mpathe (36782bcb00015a73c00000480504fd84c) dm-5 DELL,MD32xx
size=200G features='3 queue_if_no_path pg_init_retries 50' hwhandler='1 rdac' wp=rw
`-+- policy='round-robin 0' prio=0 status=active
`- 0:0:0:3 sdd 8:48 active undef running

and

# /lib/udev/scsi_id -g -u -d /dev/sdd
36782bcb00015a73c00000480504fd84c

And proxmox should detect new size after following command is excecuted?

# echo 1 > /sys/class/scsi_device/0:0:0:3/rescan