Operating System - HP-UX
1829404 Members
2410 Online
109991 Solutions
New Discussion

hpvmmodify: Unable to dynamically delete device disk : please advice

 
SOLVED
Go to solution
vandevoort
Valued Contributor

hpvmmodify: Unable to dynamically delete device disk : please advice

HPUX 11.31 and HPVM 4.3 . and these Guests are in Controll by ServiceGuard 11.20 .

for  a  test in next order :

when  added on a Guest a disk ,

 hpvmmodify -P ahv012 -a disk:avio_stor::disk:/dev/rdisk/disk973

 

 

from hpvmstatus -P < Guest>

disk    avio_stor    0   0   0   5   0 disk      /dev/rdisk/disk973

on the  Guest

create a Volume group - LV and  File system on it  mount .

wrote  data to it .

 

umount file system vgexport  ;vgchange -a n ; rmsf -a /dev/rdisk/disk19  ( the disk in this  case)

 

tried to remove the disk from the  Guest configuration :

On the  Host:

hpvmmodify -P <Guest> -d disk:avio_stor::disk:/dev/rdisk/disk973
hpvmmodify: Unable to dynamically delete device disk:avio_stor:0,0,5:disk:/dev/rdisk/disk973 - Device busy.
hpvmmodify: Guest needs to be restarted (using hpvmstop followed by hpvmstart) for all changes to take effect.
ahv012: Distributed guests require equivalent modifications on all
HPVM servers to synchronize the change.

 

I do not know how dynamically remove this disk without a reboot of the Guest.

can someone  help me with this ?

Thanks .

2 REPLIES 2
Stan_M
HPE Pro

Re: hpvmmodify: Unable to dynamically delete device disk : please advice

See HPVM Install and Manage (Admin) manual chapter 6.1.3.5:

 

Devices configured under AVIO Stor HBA for an HP-UX 11i v3 guest cannot be deleted (using
the hpvmmodify command) if the guest is online.

 

Run ioscan -kfNC tgtpath or ioscan -kfNC lunpath from the guest to obtain the
tgtpath or lunpath H/W Path for the device to be deleted. Remove the device by using
rmsf -H of the lunpath or tgtpath H/W Path from the guest and retry the hpvmmodify
command from the host.

 

HTH

I work for HPE
vandevoort
Valued Contributor
Solution

Re: hpvmmodify: Unable to dynamically delete device disk : please advice

Hi Stan,

 what I read in the hpvm 4.3  manual : at 6.1.3.5

Devices configured under AVIO Stor HBA for a guest cannot be deleted (using the

hpvmmodify command) if the guest is at EFI.

But I am not at EFI but normal operational ..

our systems  runs  oracle databases on which hardly never allowed to shut down ..