[Devel] [Q] migrating inotify assigned on ploop device
Igor
igor at parallels.com
Wed Jan 13 08:52:03 PST 2016
On 01/13/2016 07:46 PM, Cyrill Gorcunov wrote:
> On Wed, Jan 13, 2016 at 07:40:55PM +0300, Igor wrote:
>> On 01/13/2016 07:25 PM, Cyrill Gorcunov wrote:
>>> On Wed, Jan 13, 2016 at 07:14:18PM +0400, Nikita Spiridonov wrote:
>>>> Lets try to fix bug using workaround in libvzctl and criu hooks. Images
>>>> recoding/patching too hard to implement for now; we can return to it
>>>> later.
>>> Which exactly workaround you mean, could you please share details?
>> on criu 'setup-namspeces' stage update minor for pld ploop to new one
>>
>> suspend:
>> /dev/ploop1 182:1
>>
>> restore:
>> /dev/ploop2 182:2
>>
>> rm /dev/ploop1
>> mknod /dev/ploop1 b 182:2
> I don't get it. What's the profit of changing the minor?
> We need the name of ploop to be immutable if we're not
> going to update images. Igor, what I'm missing?
I suppose that restore failure resulted due to change the minor number
of the device,
so setting to old device new minor allow to work with device by old name
More information about the Devel
mailing list