[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] How to find backing file for qemu-nbd?
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] How to find backing file for qemu-nbd? |
Date: |
Tue, 7 Feb 2017 15:23:39 +0000 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Tue, Feb 07, 2017 at 04:25:27PM +0200, Nikolay Ivanets wrote:
> Is there any way to find source file supplied for qemu-nbd similar to loop
> device:
>
> cat /sys/block/loop0/loop/backing_file
Nothing simple like that - you have to find the qemu-nbd process and see
what file(s) it has open I'm afraid and figure out which is the image file
from there.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://entangle-photo.org -o- http://search.cpan.org/~danberr/ :|