linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: svetljo <galia@st-peter.stw.uni-erlangen.de>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Help on LVM/SW-RAID build problems
Date: Sat Nov 10 17:13:01 2001	[thread overview]
Message-ID: <3BEDB4B6.4040402@st-peter.stw.uni-erlangen.de> (raw)
In-Reply-To: 20011110224327.54616.qmail@web10406.mail.yahoo.com

Hi
you shouldn't change the softRAID partition id to lvm
you had to create the lvm over the RAID

>1) fdisk error
>
>Disk /dev/hdb: 255 heads, 63 sectors, 2434 cylinders
>Units = cylinders of 16065 * 512 bytes
> 
>   Device Boot    Start       End    Blocks   Id 
>System
>/dev/hdb1             1        64    514048+  8e 
>Linux LVM
>/dev/hdb2            65       702   5124735   8e 
>Linux LVM
>/dev/hdb3           703      1340   5124735   8e 
>Linux LVM
> 
>
you have destroyed the RAID

>
>Command (m for help): w
>The partition table has been altered!
>
>
>2) No such file error
> 
>
you have no the raid devices hdb[1-3]

>
>root@bo:~ > raidstop --all
>cannot determine md version: No such file or directory
> 
>kingate@bo:~ > /sbin/mkraid
>cannot determine md version: No such file or directory
> 
>kingate@bo:~ > /sbin/mkraid --really-force /dev/md1
>cannot determine md version: No such file or directory
>
>3) Partiton type
>
> Is it OK to use the partition type "0x8e" for
>LVM/SW-RAID?  How about "0xfd"?
>
you can not create LVM/SW-RAID
you can make LVM over SW-RAID or SW-RAID over LVM

>
>Thanks in advance,
>
>Bo
>
>-----------------raidtab------------
>raiddev /dev/md0
>        raid-level 0
>        nr-raid-disks 2
>        nr-spare-disks 0
>        chunk-size 4
>        persistent-superblock 1
>        device     /dev/hdb1
>        raid-disk 0
>        device     /dev/hdc1
>        raid-disk 1
> 
>raiddev /dev/md1
>        raid-level 1
>        nr-raid-disks 2
>        nr-spare-disks 0
>        chunk-size 4
>        persistent-superblock 1
>        device     /dev/hdb2
>        raid-disk 0
>        device     /dev/hdc2
>        raid-disk 1
>
>raiddev /dev/md2
>        raid-level 1
>        nr-raid-disks 2
>        nr-spare-disks 0
>        chunk-size 4
>        persistent-superblock 1
>        device     /dev/hdb3
>        raid-disk 0
>        device     /dev/hdc3
>        raid-disk 1
>
that is OK
but /dev/hda[1-3] and /dev/hdb[1-3] should be SW-RAID ( partition id)

and then
pvcreate  /dev/md0 /dev/md1 /dev/md2
vgcreate
.........

good luck

  reply	other threads:[~2001-11-10 17:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-10 16:42 [linux-lvm] Help on LVM/SW-RAID build problems BOIK MOON
2001-11-10 17:13 ` svetljo [this message]
2001-11-12 22:29   ` BOIK MOON
2001-11-13  7:09     ` Keith Hopkins

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=3BEDB4B6.4040402@st-peter.stw.uni-erlangen.de \
    --to=galia@st-peter.stw.uni-erlangen.de \
    --cc=linux-lvm@sistina.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;
as well as URLs for NNTP newsgroup(s).