OS sles 10.2
power path 5.1.2
connecting to an ax4 via iscsi (no hba)
I am able to dynamically resize the space available to the sles server and the server sees the extra space after I issue a iscsiadm -m session -R command. The pseudo device does not reflect the increased disk space until the system is rebooted. Is there any way to get the pseudo device to dynamically resize?
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
719
0
Posted 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.