|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] Ubuntu & Drive Order
|
But don't I still need the /dev/sdX names when building the raid array or
can I use the UUID for that as well?
On Sat, 8 Dec 2007, K.S. Bhaskar wrote:
> When you have a drive mounted, you can use vol_id to identify the UUID
> of the file system. Then modify the /etc/fstab entry for that file
> system to identify it by UUID rather than by device+partition, e.g.:
>
> kbhaskar@bhaskark:~$ sudo vol_id --uuid /dev/sda1
> 4dd1d683-189c-4ff1-91a9-f8b9e315022b
> kbhaskar@bhaskark:~$ grep -i 4dd1d683-189c-4ff1-91a9-f8b9e315022b /etc/fstab
> UUID=4dd1d683-189c-4ff1-91a9-f8b9e315022b / jfs
> defaults,errors=remount-ro 0 1
>
> (Look out for line breaks - there are exactly 4 lines in the block above.)
>
> -- Bhaskar
>
> On Dec 8, 2007 5:19 PM, <jazzman@exdomain.org> wrote:
> > Sorry, this is new to me... how do I relate that to any given drive?
> > Everytime I make a hardware change and reboot the drives get new /dev/sdX
> > designations... Occasionally I'll also have a drive appear in the /dev/sdX
> > listing but not be accessible...
> >
> > Any ideas? If this keeps reordering drives I don't think this raid array
> > idea is going to work...
> ___________________________________________________________________________
> Philadelphia Linux Users Group -- http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
>
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|