From: "Swâmi Petaramesh" <swami@petaramesh.org>
To: "Fajar A. Nugraha" <list@fajar.net>
Cc: Linux BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: BTRFS, encrypted LVM and disk write cache ?
Date: Fri, 13 May 2011 11:33:30 +0200 [thread overview]
Message-ID: <1305279210.3052.28.camel@tethys> (raw)
In-Reply-To: <BANLkTi=CF--tqdo0AtnFYbaepMP=-_ZKuw@mail.gmail.com>
Le vendredi 13 mai 2011 =C3=A0 16:16 +0700, Fajar A. Nugraha a =C3=A9cr=
it :
> IIRC 2.6.38 has a bug in that you can't use mount option "subvol=3D..=
=2E"
> if the fs/subvolume is newly created, while 2.6.39 works fine. At
> least that's what I experienced, so now I use subvolid to select
> subvolume.
# 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
# grep btrfs fstab
/dev/VG1/TETHYS / btrfs subvol=3DUBUNTU,compress=3Dzlib,relatime 0 0
/dev/sda2 /boot btrfs compress=3Dzlib,relatime 0 0
/dev/VG1/TETHYS /home btrfs subvol=3DHOME,compress=3Dzlib,relatime 0 0
/dev/VG1/TETHYS /tmp btrfs subvol=3DTMP,compress=3Dzlib,relatime 0 0
/dev/VG1/TETHYS /var btrfs subvol=3DVAR,compress=3Dzlib,relatime 0 0
# 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)
(Maybe worth noting that /boot actually points to a subvol as well,
which is set as default subvol as grub2 would seem not to manage
non-default subvol)
> A 60GB Corsair Force should be about $140. Highly recommended. Higher
> capacities provide even better cost/GB.
I'll note this for my next national lottery win ;-)))
--
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:33 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 [this message]
2011-05-13 9:43 ` Fajar A. Nugraha
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=1305279210.3052.28.camel@tethys \
--to=swami@petaramesh.org \
--cc=linux-btrfs@vger.kernel.org \
--cc=list@fajar.net \
/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).