On 12 October 2011 02:22, huang jun <hjwsm1989@xxxxxxxxx> wrote: > I use the UUID option to mount the btrfs disk,but i can not success. > first, the disk is /dev/sdd1 > then, i pull out the disk > and after mintues, pushed it again,at this time, it changes to /dev/sde1 > at this time, if we use /etc/init.d/ceph restart, it will failed, for > the current mount option is likely "/dev/sd** " > but the UUID didn't change. > why i can not mount it successfuly? > BTW, does ceph provides methods to resolve the condition like that? > > the starce file attached. > > thanks! > Hi, I switched to use the symlinks created by udev in /dev/disk/by-id/ which contains the hard-disks serial number which will be completely static, even if a new btrfs filesystem is created. This ensures that the same partition on the same disk is always used. Regards, Damien -- 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