1832337 Members
2249 Online
110041 Solutions
New Discussion

Re: HPVM create error

 
kingsan168
Advisor

HPVM create error

Hi,

I try to use the following command to create the HPVM on integrity server but have error occur.
# hpvmcreate -P Fedora -O LINUX -c 1 -r 1G -a dvd:scsi::file:/opt/hpvm/ISO-images/linux/fedora-ia64-dvd.iso
-a disk:scsi::lv:/dev/vg00/rfedora -a network:lan::vswitch:vswitch1

Output error:
hpvmcreate: WARNING (Fedora): Device file '/dev/vg00/rfedora' is a server-restricted device and cannot be used by a guest while restricted. See 'hpvmdevmgmt -l rdev:/dev/vg00/rfedora'.
hpvmcreate: ERROR (Fedora): Due to errors affecting the device database, the guest configuration file will not be updated.
hpvmcreate: Unable to create guest 'Fedora'.
hpvmcreate: Unable to create the guest.

# hpvmdevmgmt -l rdev:/dev/vg00/rfedora
/dev/vg00/rfedora:CONFIG=rdev,EXIST=YES,DEVTYPE=LV,SHARE=NO,AUTORDEV=YES::HPVM_STATID_3349_1073741833

What's problem? Thank you!
2 REPLIES 2
Shibin_2
Honored Contributor

Re: HPVM create error

Look at your config "CONFIG=rdev" .. it is restricted device.

Read this manual.

http://docstore.mik.ua/manuals/hp-ux/en/T2767-90141/rn01re06.html

You can disable it.

Disable restricted directory recursion by removing the
RECURSIVE attribute.

# hpvmdevmgmt -d rdev:/some-directory:attr:RECURSIVE



Look at this similar thread.

http://h30499.www3.hp.com/t5/General/not-able-to-assign-disk-to-guest-from-host/m-p/4436569#M141401

Regards
Shibin
Eric SAUBIGNAC
Honored Contributor

Re: HPVM create error

Could it be possible that /dev/vg00/fedora is mounted on the host itself ?

Eric