On Wed, Feb 25, 2009 at 3:33 AM, Alex Samad <[email protected]> wrote: > On Tue, Feb 24, 2009 at 07:29:12PM -0500, Jose Legido wrote: >> On Tue, Feb 24, 2009 at 7:09 PM, Alex Samad <[email protected]> wrote: >> > On Tue, Feb 24, 2009 at 06:53:54PM -0500, Jose Legido wrote: >> >> Hello! >> >> I have one IDE hard disk hda with the system (debian testing) >> >> I have a RAID5 with devices sda,b,c,d. My raid works fine. >> >> One day, I reboot and my hda is converted to sda. >> > >> > you upgraded your kernel ? at some point in time the kernel started to >> > address sata devices as sd instead of the old way of hd. >> >> No, I don't upgrade my kernel. > > anything else change > > >> My changes are made in /boot/initrd.img-2.6.26-1-686 >> >> > >> > start using LABEL or UUID instead of device paths like /dev/hda1. check >> > /etc/fstab and your grub menu if you use grub of lilo >> >> I change this later >> >> > >> > as for the raid, check out the /etc/mdadm/mdadm.conf, make sure your md >> > devices are not defined with device, but with UUID's >> > >> My mdadm.conf >> ARRAY /dev/md0 level=raid5 num-devices=4 >> UUID=0768075c:5ca2c100:d4d8cd15:f227f389 >> >> How can I know md0 filesystem? > > what i would do is > > reboot the system but with the kernel options init=/bin/bash (you can > edit a grub stanza at boot up time so no need to make it permanent) > > then I would have a look at the system from the kernels perspective see > what drives are available hd's or sd's. work out the problem from there. > > Then look at the raid device, I would try and assemble them (not > recreate them) and see what the problem is, have a look at dmesg and > syslog.
Too late.... I recreate, there are any diference in assemble and recreate? Excuse me my ignorance.... Thanks! > > I would work it from there. > > >> >> >> > Alex >> > >> >> I loaded an old kernel. Know, when I try to mount my RAID i get this >> >> error: >> >> # mount -t ext3 /dev/md0 /mnt/raid/ >> >> VFS: Can't find ext3 filesystem on dev md0. >> >> >> >> What can I do? >> >> >> >> Thanks!!!! >> >> >> >> >> >> -- >> >> To UNSUBSCRIBE, email to [email protected] >> >> with a subject of "unsubscribe". Trouble? Contact >> >> [email protected] >> >> >> >> >> > >> > -- >> > "Iran would be dangerous if they have a nuclear weapon." >> > >> > - George W. Bush >> > 06/18/2003 >> > Washington, DC >> > >> > -----BEGIN PGP SIGNATURE----- >> > Version: GnuPG v1.4.9 (GNU/Linux) >> > >> > iEYEARECAAYFAkmkjCIACgkQkZz88chpJ2ORhACgi9AmEzgzkT+3eLvzfbh6Hhag >> > TjYAoP1vdDGu/KifXvReNjGEHd4BPKvp >> > =v5oY >> > -----END PGP SIGNATURE----- >> > >> > >> >> >> -- >> To UNSUBSCRIBE, email to [email protected] >> with a subject of "unsubscribe". Trouble? Contact [email protected] >> >> > > -- > "The legislature's job is to write law. It's the executive branch's job to > interpret law." > > - George W. Bush > 11/22/2000 > Austin, TX > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkmkreQACgkQkZz88chpJ2PzGQCg9JwoRc1tVagrJQ6xeRMK7sF0 > eQAAoNoAglaYyw6wjVnlIMMPdMfaUsWj > =Ezz4 > -----END PGP SIGNATURE----- > > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

