All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dipl.-Ing. Michael Niederle" <mniederle@gmx.at>
To: linux-btrfs@vger.kernel.org
Subject: How to mount a subvolume?
Date: Sat, 9 Jan 2010 15:07:57 +0100	[thread overview]
Message-ID: <20100109150757.1051fd79@simplux> (raw)

First thanks alot to Kay and Goffredo!

But I have another question.

I read that the current tools cannot display subvolumes, but one should still
be able to mount them. If I try I get an error message:

> mount -t btrfs -o subvol=root.2010-01-07 /dev/sda3 /save
mount: /dev/sda3 is not a valid block device

root.2010-01-07 is a snapshot of the /root-directory

/save is an empty directory used for mounting backups

taken (successfully) with the following command:

> btrfsctl -s root.2010-01-07 /root

What am I doing wrong? Isn't it possible to mount the whole filesystem and a
subvolume at the same time?

Greetings, Michael

             reply	other threads:[~2010-01-09 14:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-09 14:07 Dipl.-Ing. Michael Niederle [this message]
2010-01-09 14:30 ` How to mount a subvolume? Dirk Heinrichs
2010-01-09 15:09   ` Dipl.-Ing. Michael Niederle
2010-01-09 15:41 ` Tomasz Torcz
2010-01-09 20:07 ` Goffredo Baroncelli

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=20100109150757.1051fd79@simplux \
    --to=mniederle@gmx.at \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.