Re: Raid, fsck, superblock could not be found
--- Alvin Oga <aoga@mail.Linux-Consulting.com> wrote:
> my dumb question is:
> what is /dev/md1 ?? is it raid1 or raid5
It's raid1 mirrored against /dev/sda1, /dev/sdb1, /dev/sdc1 (yes, 3 disks). I
had the same error when /dev/md1 was mirrored against 2 disks so it should not
matter.
> - what is the partition type.. ( fdisk -l /dev/hda or /dev/sda )
> it should be "FD"
# fdisk -l /dev/sda (the same is for /dev/sdb and /dev/sdc)
Disk /dev/sda: 250.0 GB, 250058268160 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5 40131 fd Linux raid autodetect
/dev/sda2 6 30279 243175905 fd Linux raid autodetect
/dev/sda3 30280 30401 979965 fd Linux raid autodetect
> if /dev/md1 is raid1, than how are you booting??
> with grub or lilo or ???
> what's the content of grub.conf or lilo.conf
It's grub.
# cat /boot/grub/device.map
(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/sdc
# cat /boot/grub/menu.lst
...
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specifiv kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/md2 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.8-2-686-sata-raid
root (hd0,0)
kernel /vmlinuz-2.6.8-2-686 root=/dev/md2 ro
initrd /initrd.img-2.6.8-2-686-sata-raid
savedefault
boot
title Debian GNU/Linux, kernel 2.6.8-2-686-sata-raid (recovery mode)
root (hd0,0)
kernel /vmlinuz-2.6.8-2-686 root=/dev/md2 ro single
initrd /initrd.img-2.6.8-2-686-sata-raid
savedefault
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
Thanks
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
Reply to: