ubuntu 7.10 and raid 1
Karl Larsen
k5di at zianet.com
Thu Apr 3 20:55:10 UTC 2008
Victor Sterpu wrote:
> In the mean time I tryed Ubuntu 6.06 LTS.
>
> I installed the os on a raid 1 (root, /boot and a swap).
>
> It worked when I tryed to boot from the first hdd alone and from the
> second hdd alone.
>
>
> But when I putted both of them together again it failed. :)
>
> Now it mounts the the root partition as read only.
>
> The raids appear in sync but they shouldn't be after booting from a
> hdd alone.
>
>
> Thanks for the answer.
>
>
>
> Markus Schönhaber wrote:
>
>> Victor Sterpu wrote:
>>
>>
>>> I installed a Ubuntu 7.10 server.
>>>
>>> Partitions are /boot, / and swap, and all of them are RAID 1.
>>>
>> [...]
>>
>>> It boots only with both hdd's connected.
>>>
>>> With only one hdd Ubuntu freezes in a initial stage. On the screen I
>>> can read:
>>>
>>> Starting up ...
>>>
>>> Loading, please wait...
>>>
>>>
>>> Any idees about how can I fix this problem?
>>>
>>
>> I don't know of any fix, and judging from
>> https://bugs.launchpad.net/ubuntu/+bug/133663
>> there actually may be none.
>> But I was able to get the machine to boot with only one of the disks by
>> waiting till the prompt from BusyBox appears (may take a couple of
>> minutes), which should look like
>>
>> BusyBox v<blubber>
>> Enter 'help' for <blubber>
>>
>> (initramfs)
>>
>> Then entering the following commands (History und <TAB>-completion are
>> available):
>>
>> (initramfs) mdadm --assemble /dev/md0
>> mdadm: CREATE user root not found
>> mdadm: CREATE group disk not found
>> mdadm: /dev/md0 has been started with 1 drive (out of 2).
>> (initramfs) mdadm --assemble /dev/md1
>> <blubber (s. o.)>
>> (initramfs) mount -t ext3 /dev/md1 /root
>> (initramfs) [Ctrl+D]
>>
>> On this machine /dev/md0 contains the boot partition, /dev/md1 contains
>> the root partition (ext3 fs). You'll have to adjust to your setup.
>>
>> Regards
>> mks
>>
>>
>>
>
>
It has been awhile since I played with a raid system. As I recall a
raid 1 is a system with 2 hard drives (HD). My understanding is that
when things are set up properly you can turn off either HD and the
system will function properly.
Well for sure both HD's must have a way to boot up so this means
each HD must have a bootable system. You get this by having a /boot/ on
all HD.
Now you need to have the basic system above / kept the same. I
forget just how this is done.
I don't think you need more than one swap/HD. I do not think it's
special.
This I wrote above is correct. Your problem may be the way your
addressing the / file.
There may be other things but I learn there is no man raid on Gutesy.
Karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
More information about the ubuntu-users
mailing list