[linux-lvm] LVM/RAID again

Frank Lenaerts frank.lenaerts at advalvas.be
Wed Mar 6 14:35:02 UTC 2002


I've been reading several LVM/RAID postings on this mailinglist to
find out if someone else is also having the same question as I have,
but this does not seem to be the case; I hope this is the right place
to ask this.

As LVM does not provide RAID1 (etc.) as VXVM does with its plexes, I
wanted to use LVM on top of the standard Linux metadevices
(RAID1). However, I wanted to do this for a cluster system using a
shared SCSI bus. I am aware of the fact that ownership of disks is
important, while something like LVM actually tries to abstract this
away, but I want to use LVM to be able to extend the filesystem, to
take snapshot backups etc.. The problem I currently face however, is
the fact that both nodes autodetect the metadevices and start syncing
the mirrors, independently of each other (I do not have the LVM and
cluster software installed on these machines yet). The synchronization
however, is initiated by the raidstart command, that is true (it is
not the detection itself which does this), but I wonder how I should
solve this problem. Below, some ideas that come to my mind:

- do not use LVM at all, just use the physical disks instead

- have two separate raidtab files where each of them is only "owned"
  by a single node (to prevent syncing problems) and only start the
  raid for a certain metadevice when a logical volume is imported on a
  node

What do you think about this?

-- 
frank.lenaerts at advalvas.be
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20020306/a39f0a41/attachment.sig>


More information about the linux-lvm mailing list