[linux-lvm] raid 1 on a single disk

ashwin chaugule ashwin.chaugule at gmail.com
Sat Nov 13 10:17:13 UTC 2004

         Im trying to get RAID 1 working on a single disk. Can anyone
tell me if thats possible ?
Do I have to use LVM for that ?

So, far this is what i've understood ...
Now.. I have a separate disk on which I want RAID 1.
so I create one PV on that disk (/dev/hdd)
create a logical vol grp.
add 4 LV's , for four filesystems of the same type ...
then in /etc/raidtab or whatever ..
say that i have 4 disks and for each disk specify each LV partition ..
then mkraid /dev/md0 ...

Is this correct if I want data to be mirrored across all 4 partitions
, using RAID 1 on a single disk ?

Ashwin Chaugule
Embedded Systems Engineer
Aftek Infosys ltd.
[Embedded Division]

More information about the linux-lvm mailing list