Re: Problems setting up RAID1

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

 



I posted this response about 2 weeks ago, for someone trying to do the same thing.

Regards,
Tyler.
--- Begin Message ---
Try this howto:

http://www.linuxsa.org.au/mailing-list/2003-07/1270.html

Regards,
Tyler.

Glatzel Tino wrote:

hello list,


my system is a Debian GNU Linux Sarge. The kernelversion is 2.6.10 without modulsupport. The partion id is fd. In the first step, the complete system is installed on /dev/hda3. In the second step, i have created a raid 1 device: mdadm --create /dev/md0 --level 1 --raid-device=2 /dev/hda1 /dev/hdc1 mkfs -t ext3 /dev/md0 mount /dev/md0 /mnt cp -pr /boot /mnt umount /mnt

I want to mount /dev/md0 in /boot
change in the /etc/fstab
/dev/md0       /boot   ext3    defaults    0      2



after a reboot, i see the mounted devices:

/dev/hda3 on / type ext3 (rw,errors=remount-ro)
/dev/md0 on /boot type ext3 (rw)

so, i think i will never need the files in the old /boot directory.

umount /boot
cd /boot
ls
System.map-2.6.8-1-386
config-2.6.8-1-386      vmlinuz-2.6.10
grub                    vmlinuz-2.6.10-raid-grsec
initrd.img-2.6.8-1-386  vmlinuz-2.6.10-raid-grsec-hotplug
lost+found              vmlinuz-2.6.8-1-386
System.map-2.6.10



rm -r *
cd ..
mount /boot
ls /boot
System.map-2.6.8-1-386
config-2.6.8-1-386      vmlinuz-2.6.10
grub                    vmlinuz-2.6.10-raid-grsec
initrd.img-2.6.8-1-386  vmlinuz-2.6.10-raid-grsec-hotplug
lost+found              vmlinuz-2.6.8-1-386
System.map-2.6.10


after a reboot, i see the following message from Grub:

GRUB Loading Stage1.5

GRUB loading, please wait ...
Error 15


Ok, i think GRUB can`t access to /dev/md0 what can i do?


Tino - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html





- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html



--- End Message ---

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux