Re: lvm with raid
> Is it possible to make lvm with raid ?? Is there anyone here that make it?
I use LVM over software RAID 1 (mirroring). I use Debian stable
and I decided that boot partition over LVM was not worth,
specially because of trouble in case of disaster recovery.
So my RAID is as follow:
md0 : active raid1 hdc1 hda1 Boot
md1 : active raid1 hdc2 hda2 Swap
md2 : active raid1 hdc3 hda3 LVM
Then I made a logical volume group vg0 and I put only /dev/md2
into. Finally I created two logical volumes for /var and /home.
So my mount schema is:
Filesystem Mounted on
Very simple. I also avoided initrd with a self-made kernel, just
added into /etc/lilo.conf:
raid-extra-boot = "/dev/hda,/dev/hdc"
I just have a problem with files larger than 2Gb. I can create
those files (.tar.gz in my case), but I cannot read them back
with cp, scp, cat or wahtever. The very strange thing is that if
I do "strace cp" or whatever, it works!
Don't know if this problem is related to LVM, I use Debian Woody,
lvm10 1.0.4-4, raidtools2 0.90.20010914-15. Other boxes with raid
and no lvm works properly.
Firenze - Italy
War against Iraq? Not in my name!