From: "Fajar A. Nugraha" <list@fajar.net>
To: "Swâmi Petaramesh" <swami@petaramesh.org>
Cc: Linux BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: BTRFS, encrypted LVM and disk write cache ?
Date: Fri, 13 May 2011 16:43:00 +0700 [thread overview]
Message-ID: <BANLkTinRZGbqqXsme0gMbtxkdUpFwmYMbQ@mail.gmail.com> (raw)
In-Reply-To: <1305279210.3052.28.camel@tethys>
On Fri, May 13, 2011 at 4:33 PM, Sw=E2mi Petaramesh <swami@petaramesh.o=
rg> wrote:
> # uname -a
> Linux tethys 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC
> 2011 i686 i686 i386 GNU/Linux
>
> # mount | grep btrfs
> /dev/mapper/VG1-TETHYS on / type btrfs
> (rw,relatime,subvol=3DUBUNTU,compress=3Dzlib)
> /dev/mapper/VG1-TETHYS on /tmp type btrfs
> (rw,relatime,subvol=3DTMP,compress=3Dzlib)
> /dev/mapper/VG1-TETHYS on /home type btrfs
> (rw,relatime,subvol=3DHOME,compress=3Dzlib)
> /dev/mapper/VG1-TETHYS on /var type btrfs
> (rw,relatime,subvol=3DVAR,compress=3Dzlib)
> /dev/sda2 on /boot type btrfs (rw,relatime,compress=3Dzlib)
>
Weird.
$ sudo btrfs su li /
ID 256 top level 5 path natty
ID 258 top level 5 path home
$ sudo mount /dev/sda2 -o subvol=3Dhome /mnt/tmp
$ ls /mnt/tmp
$ sudo umount /mnt/tmp
$ sudo mount /dev/sda2 -o subvolid=3D258 /mnt/tmp
$ ls /mnt/tmp
user
$ sudo umount /mnt/tmp
$ uname -a
Linux HP 2.6.38-9-generic #43-Ubuntu SMP Thu Apr 28 15:25:15 UTC 2011
i686 i686 i386 GNU/Linux
I don't even know what got mounted when I use "-o subvol=3Dhome" since
all of my subvolumes have some files/directory on it, while the mount
shows nothing on it :P
--=20
=46ajar
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-05-13 9:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-12 5:45 BTRFS, encrypted LVM and disk write cache ? Swâmi Petaramesh
2011-05-12 15:42 ` Josef Bacik
2011-05-12 21:36 ` Swâmi Petaramesh
2011-05-13 6:54 ` Fajar A. Nugraha
2011-05-13 8:59 ` Swâmi Petaramesh
2011-05-13 9:16 ` Fajar A. Nugraha
2011-05-13 9:33 ` Swâmi Petaramesh
2011-05-13 9:43 ` Fajar A. Nugraha [this message]
2011-05-13 11:13 ` Swâmi Petaramesh
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=BANLkTinRZGbqqXsme0gMbtxkdUpFwmYMbQ@mail.gmail.com \
--to=list@fajar.net \
--cc=linux-btrfs@vger.kernel.org \
--cc=swami@petaramesh.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;
as well as URLs for NNTP newsgroup(s).