From: Karl-Philipp Richter <krichter722@aol.de>
To: linux-btrfs@vger.kernel.org
Subject: mounting and unmounting of btrfs filesystem on qemu qcow2 image mounted as NBD
Date: Mon, 24 Mar 2014 23:54:33 +0100 [thread overview]
Message-ID: <5330B7A9.8000207@aol.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 1485 bytes --]
Hi together,
I've created a btr(fs) filesystem on a partition on a qcow2 image with
GUID partition table created with qemu (1.7.0) tool:
qemu-img create -f qcow2 image.qcow2 2T
I'm connecting this image to a NBD with qemu-nbd and mounting the NBD.
I'm experiencing errors which I don't with partitions on the real HDD, e.g.
<output /var/log/syslog>
Mar 24 20:38:48 myhostname kernel: [92324.728828] nbd14: p1
Mar 24 20:38:48 myhostname kernel: [92324.759664] device fsid f
a920d4d-524b-4d17-86e9-bcb82b51cd1f devid 1 transid 2658 /dev/nbd14p1
Mar 24 20:38:48 myhostname kernel: [92324.759968] btrfs: disk s
pace caching is enabled
Mar 24 20:38:48 myhostname kernel: [92324.818021] btrfs bad tre
e block start 902103040 901578752
Mar 24 20:38:48 myhostname kernel: [92324.851668] btrfs: open_c
tree failed
</output>
Some images are broken. The image file is located on a NFS mount from
another physical machine for which I haven't found any info on
malfunction of NFS (I guess usual network errors are treated by NFS and
qemu-nbd).
I'm addressing to the list not in order to get detailed debugging
instructions, but rather a statement on whether it is possible to do
what I want to do (mount a qcow2 image on a NFS mount) or why not. I'm
not looking for alternatives :)
Further infos:
when I created the btrfs partition and partition table I did it on the
NBD /dev/nbdX.
Thanks in advance for your help and pointers!
Best regards,
Karl Richter
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 555 bytes --]
reply other threads:[~2014-03-24 22:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5330B7A9.8000207@aol.de \
--to=krichter722@aol.de \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox