From: Peter Green <pcg@gospelcom.net>
To: Andreas Dilger <adilger@turbolinux.com>
Cc: linux-lvm@msede.com
Subject: Re: [linux-lvm] LVM and sw RAID1
Date: Wed, 23 Aug 2000 19:48:47 -0400 [thread overview]
Message-ID: <20000823194847.D8398@gospelcom.net> (raw)
In-Reply-To: <200008232200.e7NM0oI22048@webber.adilger.net>; from adilger@turbolinux.com on Wed, Aug 23, 2000 at 04:00:49PM -0600
Thanks for the response,
also sprach adilger:
> Peter Green writes:
> > I am having a really difficult time being able to get LVM to recognize my
> > /dev/md[012] arrays.
>
> What does /proc/partitions show you? What about cfdisk -P s /dev/sdX for
> each drive?
/proc/partitions:
major minor #blocks name
8 0 8965347 sda
8 1 16033 sda1
8 2 1 sda2
8 5 265041 sda5
8 6 8683101 sda6
8 16 17942584 sdb
8 17 17936541 sdb1
8 32 35843684 sdc
8 33 35840983 sdc1
8 48 17921835 sdd
8 49 17920476 sdd1
8 64 17942584 sde
8 65 17936541 sde1
8 80 35843684 sdf
8 81 35840983 sdf1
8 96 17921835 sdg
8 97 17920476 sdg1
9 0 17936448 md0
9 1 35840896 md1
9 2 17920384 md2
cfdisk:
[root@dmna /root]# cfdisk -P s /dev/sdb
Partition Table for /dev/sdb
First Last
# Type Sector Sector Offset Length Filesystem Type (ID) Flags
-- ------- -------- --------- ------ --------- ---------------------- ---------
1 Primary 0 35873144 63 35873145 Linux raid autode (FD) None (00)
It's the same for all six of the drives, except for last sector and length.
The first drive is obviously different, having the root fs on it:
[root@dmna /root]# cfdisk -P s /dev/sda
Partition Table for /dev/sda
First Last
# Type Sector Sector Offset Length Filesystem Type (ID) Flags
-- ------- -------- --------- ------ --------- ---------------------- ---------
1 Primary 0 32129 63 32130 Linux (83) Boot (80)
2 Primary 32130 17928539 0 17896410 Extended (05) None (00)
5 Logical 32130 562274 63 530145 Linux swap (82) None (00)
6 Logical 562275 17928539 63 17366265 Linux (83) None (00)
> > (pcg@dmna) ~> sudo pvcreate /dev/md0
> > pvcreate -- invalid partition type 0x83 for "/dev/md0" (must be 0x8e)
>
> Have you tried doing this directly as root? I'm not sure if it makes a
> difference, but it is worth trying.
Same result:
[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 applied the fixes from "BUGS" to the LVM tools?
In the BUGS list:
* ``patch-lvm_0.8final-2 - patch against LVM 0.8final user mode tools'':
I applied this.
* ``If you compile devfs into the kernel...'': Not applicable, no devfs.
* ``Arjan Filius noted the following problem with kernel version
2.3.99-pre[23]'': Not applicable, not my kernel *plus* this was a compile
problem, with which I had no difficulty.
* ``Jorg de Jong[...]detected a bug...'': I can't even get this far.
* ``in LVM 0.8e (4/1/2000) (shipped with SuSE 6.4)...'': Not my version, not
my OS, not the problem I'm seeing. :)
* ``Harald Milz[...]discovered a bug with pvdisplay'': Ditto (not the
problem I'm seeing).
I was pretty careful about checking everything out before-hand. That's why
I'm so baffled. It seems like pvcreate shouldn't even be looking for a
partition type for MD, right?
Anyway, thanks for the help thus far!
/pg
--
Peter Green : Gospel Communications Network, SysAdmin : pcg@gospelcom.net
---
Microsoft is not the answer.
Microsoft is the question.
NO (or Linux) is the answer.
(Taken from a .signature from someone from the UK, source unknown)
next prev parent reply other threads:[~2000-08-23 23:48 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-23 20:29 [linux-lvm] LVM and sw RAID1 Peter Green
2000-08-23 22:00 ` Andreas Dilger
2000-08-23 23:48 ` Peter Green [this message]
2000-08-24 0:02 ` Andreas Dilger
2000-08-24 2:43 ` Peter Green
2000-08-24 18:58 ` Andreas Dilger
2000-08-24 9:19 ` Nils Juergens
2000-08-24 11:59 ` Peter Green
2000-08-24 12:30 ` Peter Green
2000-08-24 13:39 ` Luca Berra
2000-08-24 19:00 ` Nils Juergens
2000-08-24 10:46 ` Luca Berra
2000-08-24 17:47 ` Andreas Dilger
2000-08-24 18:04 ` Luca Berra
2000-08-24 22:46 ` Ragnar Kjørstad
2000-08-26 0:39 ` Peter Green
2000-09-01 12:33 ` Jan Niehusmann
2000-09-01 12:35 ` Peter Green
-- strict thread matches above, loose matches on Subject: below --
2000-08-24 0:45 Andreas Dilger
2000-08-24 10:37 Peter.Wuestefeld
2000-08-24 11:57 ` Peter Green
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20000823194847.D8398@gospelcom.net \
--to=pcg@gospelcom.net \
--cc=adilger@turbolinux.com \
--cc=linux-lvm@msede.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox