Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
silo fatal error with raid 1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
smortier
n00b
n00b


Joined: 11 Oct 2004
Posts: 1

PostPosted: Mon Oct 11, 2004 9:14 am    Post subject: silo fatal error with raid 1 Reply with quote

Hi gentoo's users !

I've got a problem with my Sun Ultra 60 [2xUltraSparc 360Mhz, 512Mo RAM, 2x9Go, Creator 3D]

I'm trying to setup silo but i've a fatal error

Here my configuration files :

silo.conf :

Code:
livecd / # cat /mnt/gentoo/etc/silo.conf
partition = 1
append = "md=0,/dev/sda1,/dev/sdb1"
root = /dev/md0
timeout = 150
default = linux

image = /boot/kernel-2.4.27
label = linux


fdisk /dev/sd[ab]1 :

Code:
Disk /dev/sda1 (Sun disk label): 27 heads, 133 sectors, 4924 cylinders
Units = cylinders of 3591 * 512 bytes

    Device Flag    Start       End    Blocks   Id  System
/dev/sda1p1             0       278    499149   fd  Linux raid autodetect
/dev/sda1p2           278       835   1000093+  fd  Linux raid autodetect
/dev/sda1p3             0      4924   8841042    5  Whole disk
/dev/sda1p4           835      2227   2499336   fd  Linux raid autodetect
/dev/sda1p5          2227      3619   2499336   fd  Linux raid autodetect
/dev/sda1p6          3619      4924   2343127+  fd  Linux raid autodetect


/etc/fstab :

Code:
/dev/md0                /               ext2            noatime                 0 0
/dev/md1                none            swap            sw                      0 0
/dev/md2                /usr            reiserfs                noatime                 0 1
/dev/md3                /var            reiserfs                noatime                 0 1
/dev/md4                /home           reiserfs                noatime                 0 1
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro               0 0
#/dev/fd0               /mnt/floppy     auto            noauto                  0 0

none                    /proc           proc            defaults                0
none                    /dev/shm        tmpfs           defaults                0 0


/etc/raidtab :

Code:
# / (RAID 1)
raiddev                 /dev/md0
raid-level              1
nr-raid-disks           2
chunk-size              32
persistent-superblock   1
device                  /dev/sda1
raid-disk               0
device                  /dev/sdb1
raid-disk               1

# Swap (RAID 1)
raiddev                 /dev/md1
raid-level              1
nr-raid-disks           2
chunk-size              32
persistent-superblock   1
device                  /dev/sda2
raid-disk               0
device                  /dev/sdb2
raid-disk               1

# /usr (RAID 1)
raiddev                 /dev/md2
raid-level              1
nr-raid-disks           2
chunk-size              32
persistent-superblock   1
device                  /dev/sda4
raid-disk               0
device                  /dev/sdb4
raid-disk               1

# /var (RAID 1)
raiddev                 /dev/md3
raid-level              1
nr-raid-disks           2
chunk-size              32
persistent-superblock   1
device                  /dev/sda5
raid-disk               0
device          000        /dev/sdb5
raid-disk               1

# /home (RAID 1)
raiddev                 /dev/md4
raid-level              1
nr-raid-disks           2
chunk-size              32
persistent-superblock   1
device                  /dev/sda6
raid-disk               0
device                  /dev/sdb6
raid-disk               1




I've got the following error when I try to setup silo :

livecd log # silo
/etc/silo.conf appears to be valid
Fatal error: Could not open RAID device



Have you got any ideas ?
Thanx by advance,

Seb.
Back to top
View user's profile Send private message
IlGab
Guru
Guru


Joined: 26 Nov 2004
Posts: 486

PostPosted: Mon Jan 31, 2005 5:05 pm    Post subject: Reply with quote

Hummm.. give more info:
Code:
ls -al /dev/md*

and
Code:
cat /proc/mdstat
Back to top
View user's profile Send private message
spam_
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2004
Posts: 105
Location: /dev/null

PostPosted: Tue Feb 01, 2005 12:10 am    Post subject: Reply with quote

You seem to have partitioned your disk in a very odd way, you should have created the partitions under /dev/sda & /dev/sdb, instead you are using subpartitions (/dev/sda1p1 etc)... was that intentional?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum