Re: Software RAID1 install notes - Debian Sarge
hi ya roger
On Tue, 24 Feb 2004, Roger Chrisman wrote:
> Hi guys,
>
> I am following software RAID1 installation instructions posted to debian-user
> in August of last year. I find problems with his instructions as I progress,
> and have finally gotten stuck, see "STUCK HERE" bellow.
>
> Any suggestions where to find good software RAID1 install instructions?
collection of the various raid docs....
http://www.1U-raid5.net
> Any idea how I can get past the "STUCK HERE" point bellow?
sounds like your kernel doesnt support software raid
try to see if raid modules are loaded or can be loaded
lsmod | grep -i raid
insmod raid | raidtools | raidtools2
just commented on the 2 things that stuck out when i did my 2 second
reading pass
other important things to look for ..
lilo.conf or grub.conf
where root=/dev/md0 and boot=/dev/md0
c ya
alvin
> # fdisk -l /dev/sda
>
> Disk /dev/sda: 64 heads, 32 sectors, 160 cylinders
> Units = cylinders of 2048 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 160 163824 83 Linux
this is bad .... should be "fd" type ...
raid will enver work right on this system
> # fdisk -l /dev/sdb
>
> Disk /dev/sdb: 64 heads, 32 sectors, 160 cylinders
> Units = cylinders of 2048 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 * 1 160 163824 fd Linux raid autodetect
this is correct partition type
>
> - I have have two RAID partitions, Giuseppe has only one Raid partition. So I
> have these:
> md0 (hda2 & hdc2) for swap
> md1 (hda3 & hdc3) for /
you dont need "swap" to be raided ... it already is ...
> (( Roger
> # mke2fs -O sparse_super,filetype /dev/md1
> # mount /dev/md1 /mnt <------------------------- STUCK ON THIS----
> mount: wrong fs type, bad option, bad superblock on /dev/md1, <-------------
> or too many mounted file systems
i say .. oyu need to be able to
raidstop /dev/md0
raidstart /dev/md0
cat /proc/mdstat
don't pass go till you see what its supposed to look like
per the various sw raid docs
c ya
alvin
Reply to: