Re: mdadm + raid1 + sarge
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
>
Reply to: