- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: not able to assign disk to guest from host
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 04:37 AM
тАО06-10-2009 04:37 AM
not able to assign disk to guest from host
When i'm assigning the disk to guest from host, i'm getting below mention errors.
Please help.
Thanks in advance.
# hpvmmodify -P vmnode2 -a disk:avio_stor::disk:/dev/rdisk/disk21
hpvmmodify: ERROR (vmnode2): Device file '/dev/rdisk/disk21' is a server-restricted device and cannot be used by a guest while restricted. See 'hpvmdevmgmt -l rdev:/dev/rdisk/disk21'.
hpvmmodify: Unable to create device disk:avio_stor:0,1,0:disk:/dev/rdisk/disk21.
hpvmmodify: WARNING (vmnode2): Device file '/dev/rdisk/disk21' is a server-restricted device and cannot be used by a guest while restricted. See 'hpvmdevmgmt -l rdev:/dev/rdisk/disk21'.
hpvmmodify: ERROR (vmnode2): Due to errors affecting the device database, the guest configuration file will not be updated.
hpvmmodify: Unable to modify the guest.
# hpvmmodify -P vmnode2 -a disk:scsi::disk:/dev/rdisk/disk21
hpvmmodify: ERROR (vmnode2): Device file '/dev/rdisk/disk21' is a server-restricted device and cannot be used by a guest while restricted. See 'hpvmdevmgmt -l rdev:/dev/rdisk/disk21'.
hpvmmodify: Unable to create device disk:scsi:0,2,1:disk:/dev/rdisk/disk21.
hpvmmodify: WARNING (vmnode2): Device file '/dev/rdisk/disk21' is a server-restricted device and cannot be used by a guest while restricted. See 'hpvmdevmgmt -l rdev:/dev/rdisk/disk21'.
hpvmmodify: ERROR (vmnode2): Due to errors affecting the device database, the guest configuration file will not be updated.
hpvmmodify: Unable to modify the guest.
Regards
Karki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 04:41 AM
тАО06-10-2009 04:41 AM
Re: not able to assign disk to guest from host
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 04:47 AM
тАО06-10-2009 04:47 AM
Re: not able to assign disk to guest from host
I'm new in vm, can you tell me how to unprotect or how to assign this to disk other guest.
Regards
Karki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 04:48 AM
тАО06-10-2009 04:48 AM
Re: not able to assign disk to guest from host
A device when made restricted cant be assigned to IVM guest. the reason of doing so is that one does not assign a Host Device to a guest, like in case of disk that can cause data loss.
check the configuration as suggested using the commands
#hpvmstatus -v -P
and
#hpvmmgmtdb -l rdev:/dev/rdisk/disk21
so as to find more details for the same.
in that case if this is beong used by host then try using some other disk for the VM guest.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 04:55 AM
тАО06-10-2009 04:55 AM
Re: not able to assign disk to guest from host
# hpvmmodify -P vmnode2 -a disk:scsi::disk:/dev/sdisk/disk23
hpvmmodify: ERROR (vmnode2): '/dev/sdisk/disk23' backing device does not exist.
hpvmmodify: Unable to create device disk:scsi:0,2,2:disk:/dev/sdisk/disk23.
HPVM guest vmnode2 configuration problems:
Warning 1 on item /dev/sdisk/disk21: '/dev/sdisk/disk21' backing device does not exist.
Warning 2 on item /dev/sdisk/disk23: '/dev/sdisk/disk23' backing device does not exist.
These problems may prevent HPVM guest vmnode2 from starting.
hpvmmodify: The modification process is continuing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 06:47 AM
тАО06-10-2009 06:47 AM
Re: not able to assign disk to guest from host
# hpvmmodify -P vmnode2 -a disk:scsi::disk:/dev/sdisk/disk23
hpvmmodify: ERROR (vmnode2): '/dev/sdisk/disk23' backing device does not exist.
there is no sdisk, it should be rdisk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 07:00 AM
тАО06-10-2009 07:00 AM
Re: not able to assign disk to guest from host
Sorry for typo mistake.
i'm getting below error.
# hpvmmodify -P vmnode2 -a disk:scsi::disk:/dev/rdisk/disk21
hpvmmodify: ERROR (vmnode2): Device file '/dev/rdisk/disk21' is a server-restricted device and cannot be used by a guest while restricted. See 'hpvmdevmgmt -l rdev:/dev/rdisk/disk21'.
hpvmmodify: Unable to create device disk:scsi:0,2,1:disk:/dev/rdisk/disk21.
hpvmmodify: WARNING (vmnode2): Device file '/dev/rdisk/disk21' is a server-restricted device and cannot be used by a guest while restricted. See 'hpvmdevmgmt -l rdev:/dev/rdisk/disk21'.
hpvmmodify: ERROR (vmnode2): Due to errors affecting the device database, the guest configuration file will not be updated.
hpvmmodify: Unable to modify the guest.
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 02:49 AM
тАО06-11-2009 02:49 AM
Re: not able to assign disk to guest from host
I suspect disk21 is your internal disk which is used in your host VG00. This is automatically restricted. Do you have other disks in your system (either internally or from SAN) that aren't assigned to the host VG00 or aren't in use?
do an lvmadm -l on your VM host and see what disks are assigned to VGs on your host.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 02:57 AM
тАО06-11-2009 02:57 AM
Re: not able to assign disk to guest from host
Yesterday i have resolved the problem.
I have removed these two disk entry from hpvm_mgmtdb file and added these disk to guest. Its success.
Thanks for your responce.
Regards
Karki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 03:33 AM
тАО06-11-2009 03:33 AM
Re: not able to assign disk to guest from host
However this is suggested that you do not edit the /var/opt/hpvm/common/hpvm_mgmtdb file manually.
Instead always check that if a device is restricted then it may be to make that device more secure in VM environment to avoid the human errors of getting that destroyed.
there is a -f option with hpvmmodify also that you can use to change the device assignments which performa smaller checks on the HPVM_DB , but should be used witha grreat caution!
regards
sujit