linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Goffredo Baroncelli <kreijack@libero.it>
To: Rogerio Bastos <rogeriobastos@dcc.ufba.br>
Cc: linux-btrfs@vger.kernel.org, Hugo Mills <hugo@carfax.org.uk>
Subject: Re: Cant mount multi-subvolume via fstab
Date: Wed, 23 May 2012 19:31:49 +0200	[thread overview]
Message-ID: <4FBD1F05.4080000@libero.it> (raw)
In-Reply-To: <20120523120002.79a23bed@hercules.fisnuc.intranet.ufba.br>

Hi Rogerio,

On 05/23/2012 05:00 PM, Rogerio Bastos wrote:
> Hi,
> 
> I'm trying mount many subvolume during boot via fstab:
> 
> UUID=xxx /usr btrfs subvol=usr,ro,nodev 0 0
> UUID=xxx /home btrfs subvol=home,nodev,nosuid 0 0
> UUID=xxx /var btrfs subvol=var,nodev 0 0
> UUID=xxx /var/tmp btrfs subvol=var-tmp,nodev,noexec,nosuid 0 0
> 
> But only the first one is mounted. When try to mount the others
> subvolumes, I get this error:

I did some tests. It seems that the problem is that you want to mount
different subvolumes *of the same filesystem* (/dev/sda3) both in RO
(first entry) and RW (the other entries).

Please try to removing the 'RO' for the first entry, and let know us
what happens.

BR
Goffredo

> 
> mount: /dev/sda3 already mounted or /home busy
> mount: according to mtab, /dev/sda3 is mounted on /usr
> mount: /dev/sda3 already mounted or /var busy
> mount: according to mtab, /dev/sda3 is mounted on /usr
> mount: mount point /var/tmp does not exist
> 
> I'm using linux kernel 3.3.6 and mount 2.20 in Debian 7.
> 


  parent reply	other threads:[~2012-05-23 17:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-23 15:00 Cant mount multi-subvolume via fstab Rogerio Bastos
2012-05-23 15:33 ` Hugo Mills
2012-05-23 16:24   ` ROGERIO DE CARVALHO BASTOS
2012-05-23 17:31 ` Goffredo Baroncelli [this message]
2012-05-24 23:33   ` Rogerio Bastos
2012-05-26  7:32     ` Duncan

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=4FBD1F05.4080000@libero.it \
    --to=kreijack@libero.it \
    --cc=hugo@carfax.org.uk \
    --cc=kreijack@inwind.it \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=rogeriobastos@dcc.ufba.br \
    /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;
as well as URLs for NNTP newsgroup(s).