On Fri, Jul 8, 2011 at 07:09, Vineet Jain <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to