All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gene Czarcinski <gene@czarc.net>
To: Chris Murphy <lists@colorremedies.com>
Cc: linux-btrfs Mailing list <linux-btrfs@vger.kernel.org>
Subject: Re: Another novice question & comment
Date: Thu, 27 Dec 2012 14:27:24 -0500	[thread overview]
Message-ID: <50DCA11C.2050501@czarc.net> (raw)
In-Reply-To: <95393023-B40D-4331-A429-3D488B9D0576@colorremedies.com>

On 12/27/2012 11:55 AM, Chris Murphy wrote:
> On Dec 27, 2012, at 9:47 AM, Swâmi Petaramesh <swami@petaramesh.org> wrote:
>
>> Le 27/12/2012 16:03, Hugo Mills a écrit :
>>>    Right now, no, there isn't any way of telling which subvolume is
>>> mounted at a given location.
>> Er... Check "subvol=" here...
>>
>> root@tethys:/# mount | grep btrfs
>> /dev/mapper/VG1-BTR_POOL on / type btrfs
>> (rw,relatime,subvol=UBUNTU/@,autodefrag,compress=lzo)
>> /dev/mapper/VG1-BTR_POOL on /tmp type btrfs
>> (rw,relatime,subvol=UBUNTU/@tmp,compress=lzo)
>> /dev/sda2 on /boot type btrfs (rw,relatime,subvol=UBUNTU/@boot,autodefrag)
>> /dev/mapper/VG1-BTR_POOL on /home type btrfs
>> (rw,relatime,subvol=UBUNTU/@home,autodefrag,compress=lzo)
>> /dev/mapper/VG1-BTR_POOL on /storage type btrfs
>> (rw,relatime,subvol=STORAGE,autodefrag,compress=lzo)
>> /dev/mapper/VG1-BTR_POOL on /data/BIG type btrfs
>> (rw,noatime,subvol=DATA/BIG,compress=lzo)
>
> That would only seem to work with btrfs on LVM which I'd think is uncommon and complicated.
>
Oh thanks for that little reminder that you can put btrfs on an LV.

I am trying to see if I can get grub2 and os-prober to handle btrfs.  
There are a couple of patches out there but they do little if anything.  
The btrfs volumes and subvolumes are "not your father's filesystem" 8-)

I have a little of what is needed working but, the more I look at 
things, the more it looks like some real kludgy hack is going to be 
needed to have something which works with /dev/<whatever> to now use 
UUID=xxx,subvol=name

Gene

  parent reply	other threads:[~2012-12-27 19:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-27 14:29 Another novice question & comment Gene Czarcinski
2012-12-27 15:03 ` Hugo Mills
2012-12-27 16:47   ` Swâmi Petaramesh
2012-12-27 16:55     ` Chris Murphy
     [not found]       ` <50DC7F85.4020807@petaramesh.org>
2012-12-27 19:25         ` Chris Murphy
2012-12-27 19:27           ` Swâmi Petaramesh
2012-12-27 19:35             ` Chris Murphy
2012-12-27 22:10               ` Swâmi Petaramesh
2012-12-27 19:27       ` Gene Czarcinski [this message]
2012-12-27 19:29         ` Swâmi Petaramesh
2012-12-27 19:37         ` Chris Murphy
2012-12-28  0:34           ` Russell Coker
2012-12-28  5:03             ` Chris Murphy
2012-12-27 16:07 ` Chris Murphy
2012-12-27 19:14   ` Gene Czarcinski
2012-12-27 23:06     ` David Sterba

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=50DCA11C.2050501@czarc.net \
    --to=gene@czarc.net \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=lists@colorremedies.com \
    /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.