Trouble with Raid 1
Tom Lopolito
tom at lopolito.com
Sun Apr 25 19:28:58 EDT 2004
what's your raidtab file look like and did you run mkraid after you
created the raidtab file?
-tom
On Sun, 2004-04-25 at 09:28, Doug Sweetser wrote:
> Hello:
>
> I am trying to setup Raid 1 for my system. I generate what looks
> like good info during the creation process, but after rebooting,
> the md device is not there. I want to initially just have one hard
> disk - to prove it is working - then add another disk for real
> mirroring.
>
> Here is the output during the creation process:
>
> > mdadm --detail --scan
> ARRAY /dev/md8 level=raid1 num-devices=2 UUID=f5e56fdf:75f6d5ed:ce8eef25:1c2469ab
> devices=/dev/hdb8
> > cat /proc/mdstat
> Personalities : [raid1]
> read_ahead 1024 sectors
> md8 : active raid1 ide/host0/bus0/target1/lun0/part8[0]
> 4785344 blocks [2/1] [U_]
>
> unused devices: <none>
> /dev/md8:
> Version : 00.90.00
> Creation Time : Sun Apr 25 08:38:27 2004
> Raid Level : raid1
> Array Size : 4785344 (4.56 GiB 4.90 GB)
> Device Size : 4785344 (4.56 GiB 4.90 GB)
> Raid Devices : 2
> Total Devices : 2
> Preferred Minor : 8
> Persistence : Superblock is persistent
>
> Update Time : Sun Apr 25 08:38:28 2004
> State : dirty, no-errors
> Active Devices : 1
> Working Devices : 1
> Failed Devices : 1
> Spare Devices : 0
>
>
> Number Major Minor RaidDevice State
> 0 3 72 0 active sync /dev/hdb8
> 1 0 0 1 faulty
> UUID : f5e56fdf:75f6d5ed:ce8eef25:1c2469ab
> Events : 0.1
> > cat /etc/mdadm.conf
> DEVICE /dev/hdb8
> ARRAY /dev/md8 level=raid1 num-devices=2 UUID=f5e56fdf:75f6d5ed:ce8eef25:1c2469ab
> devices=/dev/hdb8
> > cat /etc/fstab
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point> <type> <options> <dump> <pass>
> proc /proc proc defaults 0 0
> /dev/hda6 none swap sw 0 0
> /dev/hda5 /boot ext3 defaults 0 2
> /dev/hda7 /tmp ext3 defaults 0 2
> /dev/hda8 /home ext3 defaults 0 2
> /dev/md8 /mnt fd defaults 0 2
> /dev/hda10 / ext3 defaults,errors=remount-ro 0 1
> /dev/hda9 /var ext3 defaults 0 2
> # Removable media
> /dev/hdc /cdrom iso9660 defaults,ro,noauto,user 0 0
> /dev/fd0 /floppy auto noauto,user 0 0
>
> After rebooting:
> > mdadm --detail --scan
> > cat /proc/mdstat
> Personalities :
> read_ahead not set
> unused devices: <none>
>
>
> doug
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss
Tom Lopolito
Parsec Systems LLC
508.297.1021
tom at parsecsystemsllc.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blu.org/pipermail/discuss/attachments/20040425/ab5c1d4a/attachment.html>
More information about the Discuss
mailing list