From: Gilbert Wong on
i want to set up RAID1 + LVM + GRUB + mdadm and have been following the guides:
http://alioth.debian.org/project/showfiles.php?group_id=30283

everything was fine till Step 4.4. i reboot the system and found the
following message:

wrong fs type, bad option, bad superblock on /dev/md0 or too many
mounted file systems (could this be the IDE device where in fact use
ide-scsi so that sr0 or sda or so is needed)


here's the content of /etc/fstab:
proc /proc proc defaults 0 0
/dev/sda1 / ext3 defaults,errors=remount-ro 0 1
/dev/sda9 /home ext3 defaults 0 2
/dev/sda8 /tmp ext3 defaults 0 2
/dev/sda5 /usr ext3 defaults 0 2
/dev/sda6 /var ext3 defaults 0 2
/dev/sda7 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/md0 /mnt/md0 ext3 defaults 0 0


is it something wrong with it?

My system config:
kernel: 2.6.11.2
SCSI: sda, sdb



please kindly help.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Alvin Oga on


On Mon, 14 Mar 2005, Gilbert Wong wrote:

> i want to set up RAID1 + LVM + GRUB + mdadm and have been following the guides:
> http://alioth.debian.org/project/showfiles.php?group_id=30283
...
> wrong fs type, bad option, bad superblock on /dev/md0 or too many
> mounted file systems (could this be the IDE device where in fact use
> ide-scsi so that sr0 or sda or so is needed)

what is the output of the following:

cat /etc/raidtab or equivalent
- maybe a syntax problem ??

- note that your devices /dev/sda cannot be used in /dev/md0
as you have shown

cat /proc/mounts
- presumably no /mnt/md0 since you have a superblock problem

cat /proc/mdstat
- presumably nothing since you have a superblock problem

- to fix the super block problems:
mdadd --assemble /dev/md0 /dev/hda1 /dev/hdc1
(or whatever you're using )

- what are the error messages on the console or logfiles

- what is the partition type of each disk referenced in
/etc/raidtab

- mkreiserfs /dev/md0
- mount -t reiserfs /dev/md0 /mnt/md0

c ya
alvin

>
> here's the content of /etc/fstab:
> proc /proc proc defaults 0 0
> /dev/sda1 / ext3 defaults,errors=remount-ro 0 1
> /dev/sda9 /home ext3 defaults 0 2
> /dev/sda8 /tmp ext3 defaults 0 2
> /dev/sda5 /usr ext3 defaults 0 2
> /dev/sda6 /var ext3 defaults 0 2
> /dev/sda7 none swap sw 0 0
> /dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
> /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
> /dev/md0 /mnt/md0 ext3 defaults 0 0
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Ping Wing on
>
> wrong fs type, bad option, bad superblock on /dev/md0 or too many
> mounted file systems (could this be the IDE device where in fact use
> ide-scsi so that sr0 or sda or so is needed)

did you formatted /dev/md0 (mkfs.ext3 /dev/md0 ??).
see what 'cat /proc/mdstat' outputs.


http://www.axeltabs.com/
http://linuxarcher.net/bb/
..

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org