Re: SCSI inquiry interface for RBD devices

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

 



On 08/12/2016 01:40 PM, Kamble, Nitin A wrote:
>> It would make this a lot easier if we started generating a unique UUID
>> >>> for the image and each snapshot at image/snapshot creation time.  Jason?
>> >>> 
>>> 
>>> Image UUID seems like the right direction.

Yes.  It's not a snapshot you want, but the basic image, regardless
of the state of its content.  It needs to be created at image
creation time, and no matter how many times the image grows or
shrinks, or how the cluster gets reorganized along the way, that
UUID uniquely defines the image (and it ought not to be possible,
as a rule, to *change* an image's UUID).  Coping an entire image
(or cloning) would require a new UUID (as has been said).

I think the UUID should be defined independent of the cluster as
well.  In that case, there may be a reason to think about a "move"
operation, where it an image is transferred to a new cluster, with
the new one retaining the original UUID and the old one going away.

					-Alex
--
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