It's quite a simple patch to fdisk to list "Linux RAID" as a partition
type, anyone thought of doing this... I've done it here for my own use but
I'm not too sure of any other implications.

AJ

On Sat, 8 May 1999, Dietmar Stein wrote:

> Hi Aaron
> 
> while running fdisk on /dev/sdX you have to type in t (toggle... id) and
> then you can choose fd (I know it's not listed).
> I was told this works.
> 
> Greetings, Dietmar 
> 
> Aaron Bush wrote:
> > 
> > I'm having a problem getting RAID 1 configured and working with a new RedHat
> > 6.0 install, kernel 2.2.5-15.  I have created all of my partitions on
> > /dev/sda then
> > installed the OS on /dev/sda[n].  Then I created the same partitions on
> > /dev/sdb using
> > fdisk.  Next I configured /etc/raidtab to include
> > ##########
> >         raiddev /dev/md0
> >             raid-level 1
> >             nr-raid-disks 2
> >             nr-spare-disks 0
> >             chunk-size 4
> >             persistent-superblock 1
> >             device /dev/sda5
> >             raid-disk 0
> >             device /dev/sdb5
> >             raid-disk 1
> > ##########
> > 
> > note: /dev/sda5 is just a big filesystem (6.0GB) to be used for www pages
> > and db's
> > 
> > When I do a
> > $ mkraid /dev/md0 I get:
> >     /dev/sda5 is mounted
> >     mkraid: aborted
> > Then
> > $ umount /dev/sda5
> > $ mkraid /dev/md0 I get:
> >     /dev/sda5 appears to contain an ext2 filesystem -- use -f to override
> >     mkraid: aborted
> > 
> > I went ahead and did a --really-force on /dev/md0 and cat /proc/mdstat
> > showed a mirror being made for /dev/md0.  I did a shutdown -r and then on
> > boot the 'Auto Detecting raid...' showed nothing?  After the boot finished a
> > cat /proc/mdstat showed nothing about my /dev/md0?  In the Software-RAID
> > HOWTO Autodetection section the 3rd rule states the partition types must be
> > set to 0xfd 'fd' by using fdisk, I don't see a type 'fd' when I go into
> > fdisk?
> > 
> > I've read the Software-RAID HOWTO over and over again, but I am still lost?
> > Did I start this process all wrong or could it be something simple?
> > 
> > Thanks for any help.
> > [EMAIL PROTECTED]
> 
> -- 
> A guess may be one solution but not the only one ;-)
> 
> Dietmar Stein, Systemadministrator UNIX/Linux
> [EMAIL PROTECTED], [EMAIL PROTECTED]
> 

A.J. ([EMAIL PROTECTED])
Linux - Commoditising Operating Systems since 1991.

Reply via email to