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

Re: [linux-lvm] LVM tool limitation on using whole disk



You can make MD devices out of entire disks, but they won't be
autodetected by the kernel.  For MD autodetection to work you have to have
partitions of type 0xfd on your disks.

If you still want to use whole disks, make sure /etc/raidtab is up to date
and use raidstart before vgscan.

On Tue, 16 Apr 2002, bo wrote:

> Thanks for your reply.
>
> It should work if I make a LVM from HDD device, not using MD.
> However, using fdisk to make a big ONE partition for RAID then
> make it for MD.  Then I should not wife this partition block out.
>
> I never try it yet but I think it is.
>
> Am I wrong?
>
> Any other suggestions?
>
> Bo
> ----- Original Message -----
> From: "James Hawtin" <oolon ankh org>
> To: <linux-lvm sistina com>
> Sent: Tuesday, April 16, 2002 11:47 AM
> Subject: Re: [linux-lvm] LVM tool limitation on using whole disk
>
>
> > On Tue, 16 Apr 2002, bo wrote:
> >
> > > Is it still TRUE?
> > >
> > > I am going to make several MDs on several whole disks, and then combine
> them
> > > as a
> > > volume. How could I avoid this problem?
> > >
> > > Thanks,
> > >
> > > Bo
> > >
> > >
> >
> > So wipe the partition table!
> >
> > dd if=/dev/zero of=/dev/discs/disc1/disc bs=1024 count=10
> >
> > That would do it... make sure you change the of= bit to be the right
> > device. Do it wrong and ... well thats your problem!
> >
> > James
> >
> >
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm sistina com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
> >
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm sistina com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>




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