OK so it won't let you do this online, you would have to unmount any open devices, then stop iSCSI and PP, restart. Since you have to take the FS offline, you may as well reboot the box.
This is the first thing I tried. I get the following message:
Stopping PowerPath: PowerPath devices are open. Please close these devices and then re-issue PowerPath stop. failed
What I am trying to achieve is getting the psuedo device to see the LUN resize without rebooting the system. I can dynamically resize my partitions after that.
What I am looking for is a method to get the pseudo device to either rescan or recreate. It looks like it can be done with Windows but not with linux.
rescan for new devices ? If it's for new devices ...as soon as i present new LUNs i can see native device names show up in dmesg, then i can run powermt config and they get claimed by Powerpath and i can see my new power devices. I will be honest that it works 80% of the time on my RH 4U6 boxes, in other instances i have to reboot the box.
What I was trying to accomplish was to get the emcpowera pseudo device to see a LUN resize. Native devices sdb, sdc and sdd (all the same device on different paths) see the new size after rescanning the iscsi target.
I have added another disk instead of growing the disk and have been able to see the new disk. I am runnning suse 10.2 and can run a rescan-scsi-bus.sh followed up by a scsidev -M -v which will allow the disk to be seen and a new pseudo device is created at that point.
I am trying to avoid allocating too much disk and am also trying to avoid having to take the system down. Has anyone been able to accomplish this?
Conor
341 Posts
0
January 12th, 2009 00:00
Stop PowerPath and iSCSI
/etc/init.d/PowerPath stop
/etc/init.d/iscsi stop
Restart iSCSI and PowerPath
/etc/init.d/iscsi start
/etc/init.d/PowerPath start
This should force PowerPath to rescan devices and pick up the new capacity, let us know if it works.
Conor
341 Posts
0
January 12th, 2009 08:00
KevinDr
6 Posts
0
January 12th, 2009 08:00
Stopping PowerPath: PowerPath devices are open.
Please close these devices and then re-issue PowerPath stop.
failed
What I am trying to achieve is getting the psuedo device to see the LUN resize without rebooting the system. I can dynamically resize my partitions after that.
What I am looking for is a method to get the pseudo device to either rescan or recreate. It looks like it can be done with Windows but not with linux.
KevinDr
6 Posts
0
January 12th, 2009 08:00
dynamox
9 Legend
•
20.4K Posts
0
January 12th, 2009 10:00
KevinDr
6 Posts
0
January 12th, 2009 11:00
KevinDr
6 Posts
0
January 12th, 2009 11:00
I have added another disk instead of growing the disk and have been able to see the new disk. I am runnning suse 10.2 and can run a rescan-scsi-bus.sh followed up by a scsidev -M -v which will allow the disk to be seen and a new pseudo device is created at that point.
I am trying to avoid allocating too much disk and am also trying to avoid having to take the system down. Has anyone been able to accomplish this?
Conor
341 Posts
0
January 13th, 2009 00:00
powermt remove dev=emcpowerX
powermt save
powermt config
powermt save
Now check if the device capacity has changed following the rediscovery.
dynamox
9 Legend
•
20.4K Posts
0
January 13th, 2009 03:00
Conor
341 Posts
0
January 13th, 2009 08:00
xbyx - have you seen Primus emc122304, its quite long but uses sfdisk -R on the emcpower device to re-read the partition information...
SKT2
2 Intern
•
1.3K Posts
0
January 13th, 2009 11:00
KevinDr
6 Posts
0
January 13th, 2009 13:00
Doesn't look like it can be done, but I've learned a lot along the way.
How do you submit an enhancement request to EMC? Maybe they could build the functionality into a future powerpath release.
Thanks to everyone who replied,
dynamox
9 Legend
•
20.4K Posts
1
January 14th, 2009 08:00
Home > Support > Request Support > Request a Product Enhancement