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

Re: Software RAID 1 reiserfs fails to boot because of fsck



Alvin Oga wrote:

On Sat, 17 Jul 2004, Jimmy Liang wrote:

Hi All,


I must be missing something here, but I just set up a software RAID 1 on Sarge, using raidtools2. I was able to use /etc/init.d/raid2 script to start and stop the raid, and am able to mount the /dev/md0 drive.
The problem comes when i put the mount into fstab. If I use
"/dev/md0        /backup         reiserfs        defaults        0       2"
The boot would fail, and it complains that the partition needs to be fscked manually. I'm thinking that the raid hasn't started, so thats why there's nothing to fsck, because if I use
"/dev/md0        /backup         reiserfs        defaults        0       0"
in fstab, it boots up fine.

Can anyone give me some hints as to how to get fsck working on this software raid 1?

what is the contents of:
	/etc/lilo.conf
	/boot/grub/menu.lst

what is the partition type of the disks assigned to from /dev/md0
	fdisk -l /dev/hda
	fdisk -l /dev/hdc

c ya
alvin

I got some hints from a previous post regarding a similar problem.. and its fixed now by changing from S30raid2 to S25 raid2. So that the raid starts before the checkfs.

I'm not using the raid as my /, so it should've been easy.



Reply to: