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

Re: Using UUID in fstab

Hash: SHA1

On Sun, May 25, 2008 at 02:11:18PM +0200, Petter Reinholdtsen wrote:
>[Ralf Gesellensetter]
>> What do you think?
>It is a good idea, but I ran into a problem using such setup with
>RAID1.  I had two disks with RAID1 and one huge file system.  One day
>the machine booted without the RAID starting as it should, and a
>random disk was mounted instead.  I did not discover the problem until
>I rebooted a second time, and by chance the other disk was mounted,
>missing quite a few of the files only present on the first disk.
>So, it is not always safe to use UUID.

I dare say that if you are concerned about safety of the bootup process, 
you should consider yaird as alternative to initramfs-tools to generate 
your ramdisks.

The above would not happen with yaird: The generated ramdisk would be 
hardcoded to using RAID to reach your root filesystem.

Initramfs-tools is flexible and _mostly_ does as expected. Which is 
great for some situations (like moving harddisk to different hardware) 
but not all (like running a server as stable as possible).

  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  - Enden er nær: http://www.shibumi.org/eoti.htm
Version: GnuPG v1.4.6 (GNU/Linux)


Reply to: