All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Swâmi Petaramesh" <swami@petaramesh.org>
To: Linux BTRFS <linux-btrfs@vger.kernel.org>
Subject: BTRFS, SSD and single metadata
Date: Mon, 16 Jun 2014 09:54:01 +0200	[thread overview]
Message-ID: <1723493.aXdklhDgAK@vajra> (raw)

Hi,

I created a BTRFS filesytem over LVM over LUKS encryption on an SSD [yes, I 
know...], and I noticed that the FS got created with metadata in "DUP" mode, 
contrary to what "man mkfs.btrfs" says for SSDs -> it would be supposed to be 
"SINGLE"...

Well I don't know if my system didn't identify the SSD because of the LVM+LUKS 
stack (however it mounts well by itself with the "ssd" flag and accepts the 
"discard" option [yes, I know...]), or if the manpage is obsolete or if this 
feature just doesn't work...?

The SSD being a Micron RealSSD C400

For both SSD preservation and data integrity, would it be advisable to change 
metadata to "SINGLE" using a rebalance, or if I'd better just leave things the 
way they are...?

TIA for any insight.

-- 
Swâmi Petaramesh <swami@petaramesh.org> http://petaramesh.org PGP 9076E32E

Tout le malheur des hommes vient de ce qu'ils ne vivent pas dans _le_ monde,
mais dans _leur_ monde.
-- Héraclite.


             reply	other threads:[~2014-06-16  7:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-16  7:54 Swâmi Petaramesh [this message]
2014-06-16 11:09 ` BTRFS, SSD and single metadata Austin S Hemmelgarn
2014-06-16 11:18   ` Swâmi Petaramesh
2014-06-16 11:23     ` Austin S Hemmelgarn
2014-06-16 12:01       ` Russell Coker
2014-06-16 12:16 ` Duncan
2014-06-16 12:26   ` 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=1723493.aXdklhDgAK@vajra \
    --to=swami@petaramesh.org \
    --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.