- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: share logical volumes but not simul
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
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
08-21-2003 11:00 PM
08-21-2003 11:00 PM
share logical volumes but not simul
On server 1
VG01 on a disk array connected to two servers.
/dev/VG01/lv-test mounted on /test
vgexport -p -s -v -m
umount /test
rcp
mkdir /dev/VG01
mknod /dev/VG01/group c 64 0x0n0000
vgimport -v -s -m
vgchange -a y VG01
mount /dev/VG01/lv-test /test
Disk paths are the same in both the servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2003 11:03 PM
08-21-2003 11:03 PM
Re: share logical volumes but not simul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 12:54 AM
08-22-2003 12:54 AM
Re: share logical volumes but not simul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 02:14 AM
08-22-2003 02:14 AM
Re: share logical volumes but not simul
umount /test
vgchange -a n VG01
vgexport -p -s -v -m
mkdir /dev/VG01
mknod /dev/VG01/group c 64 0x0n0000
vgimport -v -s -m
vgchange -a y VG01
mount /dev/VG01/lv-test /test
And, as Michael said, you may have to run a fsck.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 02:24 AM
08-22-2003 02:24 AM
Re: share logical volumes but not simul
That should(RO mount) be reqd if the LV is to be accessible from both servers and it will make all the lvs in the vg RO. I want to know that is it OK for a vg to be activated on both servers while the LVs defined in that VG are available from either of the servers but not both. say we had created a vg on a disk array and using 4 lvs in it on server 1 . We unmount two of the lvs in server 1 Then export the vg in preview mode , import the vg to another server and activate it there. and mount the unmounted lvs of server 1 on server 2 and use the data in the lvs on server 2. Is this procedure OK or there are any pitfalls
Thanks
RK