linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Maxime Boissonneault <maxime.boissonneault@usherbrooke.ca>
To: linux-raid@vger.kernel.org
Subject: Re: Upgrading a software RAID
Date: Sat, 30 May 2009 18:52:20 -0400	[thread overview]
Message-ID: <4A21B8A4.1010304@usherbrooke.ca> (raw)
In-Reply-To: <4A21B0CF.6030104@usherbrooke.ca>

Maxime Boissonneault a écrit :
>
>>>> The initrd is the ramdisk which the kernel boots to first, containing
>>>> the various modules and utility programs (like mdadm) needed to access
>>>> the main root filesytem.  A quick search suggests that you need to run
>>>> 'update-initramfs -u' on Ubuntu.  You'll need to boot off the CD and
>>>> chroot onto the new array first though - something like:
>>>>
>>>>  - Boot off CD
>>>>  - Assemble the RAID arrays
>>>>  - Create a mount point for the new array (mkdir /mnt/newroot)
>>>>  - Mount the root filesystem (mount /dev/md1 /mnt/newroot)
>>>>  - Mount the proc filesystem (mount -o bind /proc /mnt/newroot/proc)
>>>>  - Mount the sys filesystem (mount -o bind /sys /mnt/newroot/sys)
>>>>  - Mount the dev filesystem (mount -o bind /dev /mnt/newroot/dev)
>>>>  - Chroot to the new array (chroot /mnt/newroot /bin/bash)
>>>>  - Mount the boot filesystem (mount /boot)
>>>>  - Update the initramfs (update-initramfs -u)
>>>>  - Unmount the boot filesystem (umount /boot)
>>>>  - Exit the chroot (exit)
>>>>  - Unmount the dev filesystem (umount /mnt/newroot/dev)
>>>>  - Unmount the sys filesystem (umount /mnt/newroot/sys)
>>>>  - Unmount the proc filesystem (umount /mnt/newroot/proc)
>>>>  - Unmount the root filesystem (umount /mnt/newroot)
>>>>  - Reboot
>>>>
>>>> That's just from memory though, so watch out for any warnings/errors.
>>>> The other issue you _may_ have is the raid5 module missing from the
>>>> initrd - you'd best check that raid5 is listed in
>>>> /etc/initramfs/modules.
>>>>       
>>> RAID5 should not be missing, my /home was a RAID5.
>>>     
>> Yes, but /home is only mounted after it's accessed the root partition.
>> It can then read any modules from the root partition, so the raid5
>> module could still be missing from the initrd.  I suspect it'll have
>> included it though.
>>
>>   
> I did as you suggested above. I still get the same error message.
> I have looked and did not find /etc/initramfs/modules. Instead, I 
> found /etc/initramfs-tools/modules. In this file, there were a couple 
> of comment lines explaining how to enable modules.
> No modules were included.
> I uncommented the "raid1" and added "raid5" and ran the procedure again.
>
> Still getting the same problem.
>
> Since the problem seems to be the boot, I will try to do a fresh 
> install, then restore my backup while keeping the /boot from the fresh 
> install.
>
> Thanks,
>
> Maxime
>
Ok, I just did that, and I get the same problem. However, now, if I 
press ctrl+alt+del while the system is trying to load, it tells me that 
process rc5 and rc6 have been killed, and it bring me up to the login 
screen of ubuntu.


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

  reply	other threads:[~2009-05-30 22:52 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-25 15:32 Adaptec 2405 : hardware or software raid? Janek Kozicki
2009-05-25 16:52 ` Andrew Burgess
2009-05-25 17:05   ` Upgrading a software RAID Maxime Boissonneault
2009-05-28 13:38     ` Bill Davidsen
2009-05-28 13:44       ` Maxime Boissonneault
2009-05-28 14:05         ` Bill Davidsen
2009-05-28 14:14     ` Robin Hill
2009-05-28 14:32       ` Maxime Boissonneault
2009-05-28 15:08         ` Robin Hill
2009-05-30 18:11           ` Maxime Boissonneault
2009-05-30 19:03             ` Robin Hill
2009-05-30 20:03               ` Maxime Boissonneault
2009-05-30 20:15                 ` Robin Hill
2009-05-30 22:18                   ` Maxime Boissonneault
2009-05-30 22:52                     ` Maxime Boissonneault [this message]
2009-06-02 18:23                     ` Bill Davidsen
2009-06-02 18:32                       ` Thomas Fjellstrom
2009-06-02 19:57                         ` Bill Davidsen
2009-06-02 20:03                           ` Thomas Fjellstrom
2009-06-02 21:13                           ` CoolCold
2009-06-03 16:30                             ` Bill Davidsen
2009-05-29  8:58         ` Keld Jørn Simonsen
2009-05-30 18:32         ` Bill Davidsen
2009-05-30 18:35           ` Maxime Boissonneault
2009-05-30 19:10             ` Robin Hill
2009-05-30 22:39             ` Bill Davidsen
2009-05-31  0:17             ` Keld Jørn Simonsen
2009-05-31  5:21               ` Maxime Boissonneault
2009-06-02 18:33                 ` Bill Davidsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A21B8A4.1010304@usherbrooke.ca \
    --to=maxime.boissonneault@usherbrooke.ca \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).