qemu-discuss
[Top][All Lists]
Advanced

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

[Qemu-discuss] Antw: fsfreeze: not smart enough about duplicate/bind mou


From: Steffen Weißgerber
Subject: [Qemu-discuss] Antw: fsfreeze: not smart enough about duplicate/bind mounts?
Date: Wed, 16 Mar 2016 09:46:27 +0100



>>> Christian Theune <address@hidden> schrieb am Dienstag, 15. März
2016 um
16:48:
> Hi,
> 

Hi,

> I just stumbled over a situation where fsfreeze wasn*t smart enough
to 
> notice that it tried to freeze the same filesystem twice (which ends
in a 
> *device or resource busy*).
> 
> Here*s how the mount looked like:
> 
> /dev/vda1 on / type xfs (rw,relatime,attr2,inode64,noquota)
> /dev/vda1 on /nix/store type xfs (ro,relatime,attr2,inode64,noquota)
> 
> I see that Qemu has support for detecting bind mounts, and this
_should_ be 
> one, but I guess it*s really not. At least from what I can tell.
> 

It's XFS not Qemu, I think. When mounting an already mounted XFS
volume
read only nevertheless the mount process tries to recover the journal.

You can avoid this with the norecovery option (mount -o
ro,norecovery).

> For now, I*m running without the second mount to make things work,
but it 
> would be really nice if the guest agent could be improved.
> 
> Cheers!
> Christian
> 

Regards

Steffen

> --
> Christian Theune · address@hidden · +49 345 219401 0
> Flying Circus Internet Operations GmbH · http://flyingcircus.io 
> Forsterstraße 29 · 06112 Halle (Saale) · Deutschland
> HR Stendal HRB 21169 · Geschäftsführer: Christian. Theune, Christian.

> Zagrodnick

--
Klinik-Service Neubrandenburg GmbH
Allendestr. 30, 17036 Neubrandenburg
Amtsgericht Neubrandenburg, HRB 2457
Geschaeftsfuehrerin: Gudrun Kappich



reply via email to

[Prev in Thread] Current Thread [Next in Thread]