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

Re: raid 1 on Sun E250 running 3.0 sparc r1 (kernel 2.4.18 - patched)

On Tue, Jan 28, 2003 at 09:14:35AM -0700, daren@adoptionmedia.com wrote:
> All,
> I am trying to mirror our root disk. I am on Debian
> 3.0, r1 kernel 2.4.18 with patches running on an E250
> sun box.
> Building the raid works fine (mkraid /dev/md0), and
> has no complaints. Rebooting the system shows that the
> raid is auto-detected and syncs just fine. mkfs.ext3
> /dev/md0 runs fine as well. When I try and mount -o
> error=remount-ro -t ext3 /dev/md1 /mnt (or any other
> variation of mount) however- I get a kernel panic (See
> /var/log/messages entry below).

The md code had significant changes in either 2.4.19 or 2.4.20 (I
forget which, sorry).  I'm running RAID over LVM on a sun4u here on
2.4.20 with no difficulty.  2.4.18 would freak out regularly with the
same setup; I wasted an entire night fighting with it.

 nnorman@doriath:~ $ uname -a
 Linux doriath 2.4.20 #1 SMP Thu Jan 16 16:41:14 CST 2003 sparc64 unknown
 nnorman@doriath:~ $ mount
 /dev/vg00/lvol01 on / type ext3 (rw,errors=remount-ro)
 proc on /proc type proc (rw)
 tmpfs on /tmp type tmpfs (rw,size=512m,nr_inodes=64k)
 tmpfs on /dev/shm type tmpfs (rw,size=256m,nr_inodes=32k)
 /dev/sda1 on /boot type ext2 (rw)
 /dev/vg00/lvol02 on /usr type ext3 (rw)
 /dev/vg00/lvol03 on /var type ext3 (rw)
 /dev/vg00/lvol04 on /home type ext3 (rw)
 /dev/vg00/lvol05 on /var/spool type ext3 (rw)
 /dev/vg00/lvol06 on /var/log type ext3 (rw)
 /dev/vg00/lvol07 on /usr/local type ext3 (rw)
 nnorman@doriath:~ $ cat /proc/mdstat
 Personalities : [raid1]
 read_ahead 1024 sectors
 md0 : active raid1 scsi/host0/bus0/target1/lun0/part4[1] scsi/host0/bus0/target0/lun0/part4[0]
       8513472 blocks [2/2] [UU]

 unused devices: <none>

How have you set up SILO?  I used a non-RAID /boot as you can see.
I'm interested in other approaches.

Best regards,

Nathan Norman - Incanus Networking mailto:nnorman@incanus.net
  For myself, I can only say that I am astonished and somewhat terrified at
  the results of this evening's experiments.  Astonished at the wonderful
  power you have developed, and terrified at the thought that so much hideous
  and bad music may be put on record forever.
          -- Sir Arthur Sullivan, message to Edison, 1888

Reply to: