System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Help with removing a storage LUN on on VM

 
Deepak Seth_1
Regular Advisor

Help with removing a storage LUN on on VM

very new to VM on HPUX . VM 4.0 version ,
need to remove a LUN from VM Host and a Guest . just need a syntax .

Couldn't find an option in Integrity Virtual Machiner Manager GUI .

Quick help is really appreciated.
5 REPLIES
Deepak Seth_1
Regular Advisor

Re: Help with removing a storage LUN on on VM

figure it out .
hpvmmodify -P hervmd02 -d disk:scsi::disk:/dev/rdisk/disk25

however made one mistake . Looks like we need to halt the VM before removing a LUN . Doesn't make sense but looks like that is the case.
Eric SAUBIGNAC
Honored Contributor

Re: Help with removing a storage LUN on on VM

"Looks like we need to halt the VM before removing a LUN . Doesn't make sense but looks like that is the case."

Normally, if you have other virtual disks on the same virtual bus, you don't need to shutdown the VM when adding/deleting vDisk

Eric
Robert-Jan Goossens_1
Honored Contributor

Re: Help with removing a storage LUN on on VM

however made one mistake . Looks like we need to halt the VM before removing a LUN

No you do not need to halt the vm, but you will need to stop the vm having access to the lun (umount the filesystem).

Deepak Seth_1
Regular Advisor

Re: Help with removing a storage LUN on on VM

I tried running "ioscan" just after doing the delete of disk to make sure that it is really gone . The ioscan command got hung and then i rebooted the VM guest .

i was getting this error when ioscan was hung.

vmunix: I/O hardware probe timed out at path 0/0/2/0 or relative to it
Jan 8 15:50:35 herhxd02 vmunix: SCSI Ultra320 0/0/2/0 instance 1: An IO timeout condition was detected. Condition cleared, no intervention required.
Jan 8 15:50:35 herhxd02 above message repeats 185 times
Jan 8 15:50:34 herhxd02 vmunix: SCSI Ultra320 0/0/2/0 instance 1: Controller reset has been successfully completed.
Jan 8 15:50:35 herhxd02 above message repeats 184 times
Jan 8 15:50:34 herhxd02 vmunix: SCSI Ultra320 0/0/2/0 instance 1: Driver initiating SCSI bus reset. Condition cleared, no intervention required.
Jan 8 15:50:35 herhxd02 above message repeats 184 times

Eric SAUBIGNAC
Honored Contributor

Re: Help with removing a storage LUN on on VM

... probably because it was the only disk on the virtual bus ?