Re: btrfs devs

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

 



On Fri, Jul 8, 2011 at 07:09, Vineet Jain <vinjvinj@xxxxxxxxx> wrote:
> you define a btrfs device as:
>
>        btrfs devs = /dev/sdx
>
> Is there any way to change the device to use UUID instead since sdx
> can change between boots or when you replace hard drives.

Any path to a block device is good enough. udev gives you symlinks
based on the UUID of the partition.

ubuntu@sepia70:~$ ls -l /dev/disk/by-uuid/cef77500-29cf-472f-b068-2344f1cc59e4
lrwxrwxrwx 1 root root 10 2011-05-17 13:48
/dev/disk/by-uuid/cef77500-29cf-472f-b068-2344f1cc59e4 -> ../../sda5
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux