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

Re: [linux-lvm] LVM and sw RAID1




Hi,

I think you are trying to cure the wrong disease ;-)

> [root dmna /root]# pvcreate -f /dev/md0
> pvcreate -- invalid partition type 0x83 for "/dev/md0" (must be 0x8e)


shows what is wrong:

try to set the partition id to 0x8e with fdisk/sfdisk/cfdisk - that should solve the problem.

HTH,

Peter

Mit freundlichem Gruss/Best Regards


Peter Wuestefeld
IBM Certified System Administrator AIX 4.3
IBM Certified Support Professional AIX 4.3
==================================
res nova Unternehmensberatung GmbH
                  ...aktiv in AIX
MAIL:  Ruppmannstrasse 41
      D-70565 Stuttgart, Germany
FON:   +49 711 78888 0
FAX:   +49 711 78888 99
WWW:   http://www.resnova.de
SMTP: mailto: Peter Wuestefeld resnova de


Computers are useless. They can only give you answers.
       -- Pablo Picasso



Andreas Dilger <adilger turbolinux com>
Sent by: owner-linux-lvm msede com

24.08.00 02:02

       
        To:        Peter Green <pcg gospelcom net>
        cc:        Andreas Dilger <adilger turbolinux com>, linux-lvm msede com
        Subject:        Re: [linux-lvm] LVM and sw RAID1


Peter writes:
> [root dmna /root]# pvcreate /dev/md0
> pvcreate -- invalid partition type 0x83 for "/dev/md0" (must be 0x8e)
>
> [root dmna /root]# pvcreate -f /dev/md0
> pvcreate -- invalid partition type 0x83 for "/dev/md0" (must be 0x8e)
>
> [root dmna /root]# pvcreate -ff /dev/md0
> pvcreate -- invalid partition type 0x83 for "/dev/md0" (must be 0x8e)

Have you tried running "pvcreate -v -d /dev/md0"?  It may be that you
get some more clues with this.  Maybe even strace of the above.  It
looks like pvcreate is not getting the correct "dev" or "rdev" from the
inode...

Cheers, Andreas
--
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert



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