[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] LVM over iSCSI



Hi Ray

On Wednesday, January 05, 2011 09:53:33 pm Ray Morris wrote:
> What says lvscan -vv ?

lvscan tells the 'Original' LV is inactive, 'lv_snap1' is active,
'lv_snap2' is inactive.
Executing 'lvchange -ay lv_origin' does not change the status
of 'lv_snap2'.
If i run the command 'vgchange -ay' without 'vgchange -an',
i get this error message:

_get_device_info: device not found


Thanks

Roberto Sassu


> --
> Ray Morris
> support bettercgi com
> 
> Strongbox - The next generation in site security:
> http://www.bettercgi.com/strongbox/
> 
> Throttlebox - Intelligent Bandwidth Control
> http://www.bettercgi.com/throttlebox/
> 
> Strongbox / Throttlebox affiliate program:
> http://www.bettercgi.com/affiliates/user/register.php
> 
> On 01/05/2011 11:48:54 AM, Roberto Sassu wrote:
> > Hi all
> > 
> > i configured a LVM volume group using two iSCSI devices as
> > physical volumes.
> > I designed one node (A) to create snapshots of a Logical Volume,
> > called 'lv_origin' and i want other nodes (B, C) access them
> > exclusively.
> > I assume that 'lv_origin' is never modified after the first snapshot
> > is created.
> > So, A first creates 'lv_origin' and then a snapshot called
> > 'lv_snap1', which is available for this node.
> > The node B executes the command 'vgscan' and 'vgchange -ay'.
> > In this way, 'lv_origin' and 'lv_snap1' become available for B.
> > Next step, A creates a new snapshot of 'lv_origin' called
> > 'lv_snap2'. This is not available for B and the only way that i
> > found to use it is to perform (on the node B) the following
> > commands:
> > 
> > 1) vgscan
> > 2) vgchange -an
> > 3) vgchange -ay
> > 
> > However this procedure is not applicable if one of created
> > LVs is in use. How to solve this issue?
> > 
> > Thanks in advance for replies
> > 
> > Roberto Sassu
> > 
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm redhat com
> > https://www.redhat.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm redhat com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]