Operating System - HP-UX
1752348 Members
5930 Online
108787 Solutions
New Discussion юеВ

Re: Raw disk sharing between VM?

 
SOLVED
Go to solution
root_wp
Member

Raw disk sharing between VM?

Hello

 

It is  possible to share (read-write)  raw disk device between  two Integrity VM?

System  - HP_UX 11.31 VSE

 

 

Thanks

3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: Raw disk sharing between VM?

It might be possible, but I'm not sure I would advise it.

 

I can see lots of possibilities where the data could be corrupted if both VMs are trying to write at the same time.

 

However, if only one VM at a time will be up and accessing the disk, then that could be OK.

pradeep m
Respected Contributor
Solution

Re: Raw disk sharing between VM?

Yes you can share a disk between two VM guests. 

 

1. Set the SHARE attribute to YES for that disk using the "hpvmdevmgmt" command. Refer the hpvmdevmgmt man page for details.

Example: 

# hpvmdevmgmt -m gdev:/dev/rdsk/c1t1d1:attr:SHARE=YES

2. Now present the shared disk to other guests. 

 

NOTE: As Patrick mentioned, writing to the share disk at the same time from both the guest might lead to data curruption. 

 

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


root_wp
Member

Re: Raw disk sharing between VM?

It works big Thanks