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

RE: How to get the most out of HD space.





-----Original Message-----
From:	fedora-list-bounces redhat com on behalf of Dave Ihnat
Sent:	Fri 09/28/2007 09:13 AM
To:	Alan Cox
Cc:	For users of Fedora
Subject:	Re: How to get the most out of HD space.

On Fri, Sep 28, 2007 at 02:07:20PM +0100, Alan Cox wrote:
> You can boot from raid1 - but of course its actually booting from the one
> disk in reality not from the mirrored set.

Ah--*software* RAID1?  At boot time, it doesn't know about /dev/mdX.
---------------------------

I'm pretty sure the system does know about /dev/mdX at boot time... I'm looking at one of my old RHL 9 servers (Yes... it's due for an upgrade!) and my filesystems are laid out as:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md0               8160056   4111096   3634452  54% /
/dev/md2                 19891      6232     12632  34% /boot
/dev/md3             108963128 101667576   1760508  99% /disk0

and grub.conf says:

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-31.9)
        root (hd0,0)
        kernel /vmlinuz-2.4.20-31.9 ro root=/dev/md0
        initrd /initrd-2.4.20-31.9.img


and the fdisk output:

Disk /dev/hdg: 122.9 GB, 122942324736 bytes
16 heads, 63 sectors/track, 238216 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdg1   *         1        41     20632+  fd  Linux raid autodetect
/dev/hdg2            42     16490   8290296   fd  Linux raid autodetect
/dev/hdg3         16491     18571   1048824   fd  Linux raid autodetect
/dev/hdg4         18572    238216 110701080    f  Win95 Ext'd (LBA)
/dev/hdg5         18572    238216 110701048+  fd  Linux raid autodetect

Disk /dev/hde: 122.9 GB, 122942324736 bytes
16 heads, 63 sectors/track, 238216 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hde1   *         1        41     20632+  fd  Linux raid autodetect
/dev/hde2            42     16490   8290296   fd  Linux raid autodetect
/dev/hde3         16491     18571   1048824   fd  Linux raid autodetect
/dev/hde4         18572    238216 110701080    f  Win95 Ext'd (LBA)
/dev/hde5         18572    238216 110701048+  fd  Linux raid autodetect

and, now, re-reading my email... since grub says "root (hd0,0)" does that indicate that it is only going to read hdg at boot time?  If I were to create a second boot option in grub.conf with "root (hd1,0)", then could I get it to boot from hde? I guess there would also have to be a way to tell the BIOS to look at hde for the MBR?

Sorry for raising more questions than answers!

<<winmail.dat>>


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