Skip to contentSkip to conversation

Cuncurrent access to a vg from two hosts

linux-lvm Wiktor Wodecki 2 participants 2 messages Nov 13, 2003 – Nov 14, 2003

lore
Share & tools
lore
#0 lore raw

Hello,

I'm curious if lvm1 allows me to access the same volume group from to different machines (of course not accessing the same lv's in this vg). I have two machines connected to a storage array, that's why I ask. Is the filesystem operations on the LV affecting the VG so that this could lead to inconsistencies?

Signature · 3 lines
Regards,

Wiktor Wodecki
#1 lore raw
Quoted 7 lines · Wiktor Wodecki

Hello,

I'm curious if lvm1 allows me to access the same volume group from to different machines (of course not accessing the same lv's in this vg). I have two machines connected to a storage array, that's why I ask. Is the filesystem operations on the LV affecting the VG so that this could lead to inconsistencies?

You can access different LVs in the same SAN shared VG presumably you make changes to the VG (eg: create, resize LVs) when it is active (vgchange -ay) on one of them only. After done with the changes, run vgscan and "vgchange -ay" on the other machine.

Quoted 11 lines
Signature · 10 lines
-- 
Regards,

Wiktor Wodecki

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Signature · 15 lines
Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-