Re: partitions

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

 



On Fri, Jan 28, 2011 at 1:45 PM, Roberto Spadim <roberto@xxxxxxxxxxxxx> wrote:
>
> i read about lvm (not a lot), it work with grub and lilo right?

grub and lilo need a "plain" boot partition.  the raid setup is later
and your root partition can definitely be inside of an LVM volume.
This is the default install for many distros.

Doug Dumitru
EasyCo LLC

>
> 2011/1/28 Doug Dumitru <doug@xxxxxxxxxx>:
> > This functionality already exists with two different solutions.
> >
> > The "normal" solution is to use LVM on top of /dev/md0. LVM is usually
> > considered "better" than partitions because it is a more flexible approach.
> >
> > If you have to have partitions, you can do this with:
> >
> > ÂÂÂ ... create partitions 1,2,3,4
> > ÂÂÂ kpartx -a /dev/md0
> > ÂÂÂ mkfs.ext4 /dev/mapper/md0p1
> > ÂÂÂ mkfs.ext4 /dev/mapper/md0p2
> > ÂÂÂ mkfs.ext4 /dev/mapper/md0p3
> > ÂÂÂ mkfs.ext4 /dev/mapper/md0p4
> >
> > This is not really a "linux-raid" issue, but just how to apply block device
> > mapping tools.
> >
> > Doug Dumitru
> > EasyCo LLC
> >
> > On Fri, Jan 28, 2011 at 1:24 PM, Roberto Spadim <roberto@xxxxxxxxxxxxx>
> > wrote:
> >>
> >> hi guys, could we implement raid partitions?
> >> for example:
> >> mdadm --create /dev/md0 --level=1 --devices /dev/sda /dev/sdb
> >> fdisk /dev/md0
> >> create pratition 1,2,3,4
> >>
> >> mkfs.ext4 /dev/md0p1
> >> mkfs.ext4 /dev/md0p2
> >> mkfs.ext4 /dev/md0p3
> >> mkfs.ext4 /dev/md0p4
> >>
> >> ?? any idea? could we implement it?
> >> thereæ a TODO list for linux software raid?
> >>
> >> --
> >> Roberto Spadim
> >> Spadim Technology / SPAEmpresarial
> >> --
> >> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> >> the body of a message to majordomo@xxxxxxxxxxxxxxx
> >> More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html
> >
> >
> >
> > --
> > Doug Dumitru
> > EasyCo LLC
> >
> >
>
>
>
> --
> Roberto Spadim
> Spadim Technology / SPAEmpresarial



--
Doug Dumitru
EasyCo LLC
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux