[pve-devel] [PATCH] fix #1569: add shared flag to disks

Chris Hofstaedtler | Deduktiva chris.hofstaedtler at deduktiva.com
Thu Feb 15 13:25:40 CET 2018


Hi,

* Thomas Lamprecht <t.lamprecht at proxmox.com> [180215 13:22]:
> On 2/15/18 12:03 PM, Chris Hofstaedtler wrote:
> > With shared=1, (live) migration ignores the disk and assumes it is
> > present on all target nodes. This works similar to shared=1 on LXC
> > mountpoints.
> 
> Why not just mark the storage shared through the storage config?
> If the storage is in fact available on all nodes then that would
> be the correct way, i.e., this setting is there to tell PVE that
> a possible local-only (e.g., Directory storage) is in fact shared
> already between nodes.

In this case this is a disk that is not managed by normal PVE
storage.

Example:

scsi1: /dev/disk/by-id/dm-uuid-mpath-360002ac00000000006007a1800004b3c,cache=writeback,discard=on,shared=1,size=1T

I'd like to see "direct" multipath LUNs integrated into the storage
abstraction, but for now ...

-- 
Chris Hofstaedtler / Deduktiva GmbH (FN 418592 b, HG Wien)
www.deduktiva.com / +43 1 353 1707



More information about the pve-devel mailing list