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

[linux-lvm] LVM/RAID again



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 advalvas be

Attachment: pgp00003.pgp
Description: PGP signature


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