All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] LVM over iSCSI
@ 2011-01-05 17:48 Roberto Sassu
  2011-01-05 20:53 ` Ray Morris
  0 siblings, 1 reply; 7+ messages in thread
From: Roberto Sassu @ 2011-01-05 17:48 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [linux-lvm] lvm over iscsi
@ 2007-04-24 12:33 jmfaidy
  2007-04-24 15:12 ` Gordon McLellan
  0 siblings, 1 reply; 7+ messages in thread
From: jmfaidy @ 2007-04-24 12:33 UTC (permalink / raw)
  To: linux-lvm

Hi,
I asked this question in icsci mailing list, with no answer, so I try here.
I'm using fc6 2.6.20 as target and 2.18fc6-xen as initiator, my goal  
is to export a volume group from the target, in order to be abale to  
make a lvscan on the initiator, but i don't succeed.

  iscsiadm --mode node --targetname iqn.2007-05.fr.aic:jimiscsi  
--portal 10.0.22.133:3260 --login

-> end with no error, but i have nothing in /proc/scsi/scsi and no  
volume are detected by lvscan.

is it possible to export volume group instead of logical ?

Thx for any answer or clue...

JiM

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-01-07 10:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-05 17:48 [linux-lvm] LVM over iSCSI Roberto Sassu
2011-01-05 20:53 ` Ray Morris
2011-01-06 10:34   ` Roberto Sassu
2011-01-07 10:45     ` Roberto Sassu
  -- strict thread matches above, loose matches on Subject: below --
2007-04-24 12:33 [linux-lvm] lvm over iscsi jmfaidy
2007-04-24 15:12 ` Gordon McLellan
2007-04-24 15:32   ` jmfaidy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.