Re: multi-hosting support for carrier grade Linux

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

 



Dave Jiang wrote:
Paul Clements wrote:
Dave Jiang wrote:

From my understanding of SCSI reservations ownership of the entire disk claimed. If we have multiple host blades, it is possible that multiple

SCSI 3 reservations can be used to lock an extent (e.g., a partition) of a disk (you can even do read only reservations, which lock out only writes). But yes, given your requirements, that may not be the easiest solution.



Perhaps the UUID within the superblock could be built via a function that could be abstracted or overloaded. The data within only needs to be unique within its environment so it could contain geographical addressing, target information or whatever fits. Perhaps this sounds a bit less intrusive and requires little or perhaps no kernel changes?

Yes, the md driver doesn't care what the UUID is, so you can make it anything you want and then assemble the array. When you change initiators, you rewrite the UUID (you just have to make sure that the UUID is unique and that all UUIDs for disks in a given array are the same). The UUID is 128 bits long, so it should suffice for your purposes.


--
Paul
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux