- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: duplicate backing device
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
Forums
Discussions
Discussions
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
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
02-04-2011 12:50 AM
02-04-2011 12:50 AM
from vmhost give a device (disk) to vm1.
after that
change device to shareble.
hpvmdevmgmt -m gdev:/dev/rdisk/disk1322:attr:SHARE=YES
than i can not give the device to another vm:
vm-host:/# hpvmmodify -P vm2 -a disk:avio_stor:0,6,61:disk:/dev/rdisk/disk1322
hpvmmodify: ERROR (vm2): Duplicate backing device '/dev/rdisk/disk1322'.
hpvmmodify: ERROR (vm2): Unable to add device '/dev/rdisk/disk1322'.
hpvmmodify: Unable to create device disk:avio_stor:0,6,61:disk:/dev/rdisk/disk1322.
so it seems to me i must reboot the vm1 before i can give the device also to vm2 ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2011 12:56 AM
02-04-2011 12:56 AM
Re: duplicate backing device
Im not sure if its necessary to reboot, probably.
If this is for shared, why not mount NFS?
Regards, Jorge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2011 12:10 AM
02-05-2011 12:10 AM
Re: duplicate backing device
As far I can see, the reboot is not the problem itself.
" Duplicate backing device '/dev/rdisk/disk1322' "
I guess that the device has already been added before you have modified its shareable attribute : during this first try you have seen an error message telling you some nasty things about the ability of the disk to be shared. Then you have modified the shareable attribute, tried to add a second time the device and then seen this "duplicate" error message. Right ?
In fact the device has been added the very first time, but because there was an error, it has not been added to the running configuration. Check with hpvmstatus and "-D" option (D as deferred). I guess that you will find it.
In this case, try to remove it first, then add it again. If the avio_stor bus/device 0/6 already exists (and I guess it does) and because the disk you want to add is now shareable, it should work fine online.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2011 02:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2011 01:07 AM
02-07-2011 01:07 AM
Re: duplicate backing device
on Friday i've tried to remove the device from the first VM ->
hpvmmodify -P vm1 -d disk:avio_stor:0,6,61
hpvmmodify: Unable to dynamically delete device disk:avio_stor:0,6,61:disk:/dev/rdisk/disk1322 - Device busy.
hpvmmodify: Guest needs to be restarted for all changes to take effect.
After waiting this weekend on some more responses and looking today on the system.
I see, that the device is no more in the VM-configuration (hpmstatus) to see.
Yes -> it's gone away !!! but why ???
So there must be a hidden job who solve the problem ???
I try now to give the device to the other vm and then to the first vm to see, that all is going right now.
any comments to this behavior are welcome.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2011 01:40 AM
02-07-2011 01:40 AM
Re: duplicate backing device
Check with "uptime" if the guest was rebooted.
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
02-07-2011 02:45 AM
02-07-2011 02:45 AM
Re: duplicate backing device
2 different things :
- What I told you in my previous post was to delete from vm2 the device you try to add, not to delete it from vm1 !
- Now, about vm1 : disk1322, in fact, IS in use in vm1. So the "Device busy" error is quiet normal. Before removing the device from the VM, you must first ensure that it is unused if you want to do it on line. To achieve this use 'rmsf -a' in the VM. I will post a small example that will demonstrate that.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2011 03:12 AM
02-07-2011 03:12 AM
Re: duplicate backing device
Now, for vm2, try to apply my first post. Check, before, that you have a difference between running (hpvmstatus -P vm2) and deferred configuration (hpvmstatus -D -P vm2). If so, just delete the disk ( hpvmmodify -P vm2 -d disk:avio_stor:0,6,61:disk:/dev/rdisk/disk1322) then add it back ( hpvmmodify -P vm2 -a disk:avio_stor:0,6,61:disk:/dev/rdisk/disk1322
)
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2011 06:45 AM
02-07-2011 06:45 AM
Re: duplicate backing device
it's ok now for me.
i worked with hpvmdevmgmt to show and change the device.
the first error-messages (backup-device ...) does'nt prevent from operate and give the device to the second vm too.
but:
the only right way seems to be:
1. define the device. (hpvmdevmgmt)
2. make it shareable and then (hpvmdevmgmt)
3. give it to the vm's. (hpvmmodify)
thanks to all responses.
Olaf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2011 06:47 AM
02-07-2011 06:47 AM