fdisk, ssd and btrfs

[LEFT]I wonder if I put down the good things for the ssd in fstab with btrfs?

/ btrfs defaults,noatime,discard 0 0

[/LEFT]
Thanks, GJ

[LEFT]
[/LEFT]
I’d rather say no.

AFAIK btrfs detects itself that it’s an SSD, and uses appropriate parameters in that case.
At least on 13.2, I’m not sure about 13.1.

thx, so i remove noatime,discard.

And it is Of course
fstab, ssd and btrfs :shame:

On 2014-11-07 14:46, GJElde wrote:
>
> thx, so i remove noatime,discard.

I would leave noatime. I do on rotating disks, it causes write activity
every time you read a file.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Hi
I agree, leave the defaults (rw,relatime,ssd,space_cache) for btrfs.

Found something import-end on this site:
https://sites.google.com/site/easylinuxtipsproject/ssd-in-opensuse

*During installation: choose EXT4
** 6. The best file system (formatting) for an SSD, is EXT4.

In EXT4, Linux writes every few seconds a journal to the hard disk, containing the whereabouts of the files. That causes some writing activity, but not much.

This feature is very important for recovery after a system crash. So it’s best to keep it enabled.

Warning: do not select BTRFS! In openSUSE 13.2 BTRFS is the default file system during the installation, so be careful to change that.

BTRFS causes a lot of write actions, because of the snapshots that Snapper makes of your system. That’s not good for an SSD…
*

This is a good point!
I think i do a fresh install tomorrow and go back to ext4 for all hdd and ssd!

You can disable snapshots. There’s a prominent checkbox to do that during installation, and you can of course also do it later on.

Still I don’t think that this really is a problem.

On Fri 07 Nov 2014 04:26:09 PM CST, GJElde wrote:

BTRFS causes a lot of write actions, because of the snapshots that
Snapper makes of your system. That’s not good for an SSD…

This is a good point!
I think i do a fresh install tomorrow and go back to ext4 for all hdd
and ssd!

Hi
That is just FUDdy :wink:

I have an OCZ Vertex 4 here at 8343 hours, it’s rated at 20GiB writes
per day at most I hit 6.5GiB’s I need to work it harder…

My Crucial is newer and has run a btrfs partition from the get go, it’s
at 2273 hours and hits about 2.5GiB’s a day.

My OCZ Agility 3 is at 16,622 hours again with btrfs and gets to
3.5GiB’s a day.

None of these drives are wearing out and I expect them to carry on for
many years to come…


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Out of interest where can you disable snapshots once you have installed? I have searched in Yast and cannot see any setting… Also does openSUSE provide documentation on btrfs snapper etc as I can’t find any. It seems Archlinux consider btrfs as still experimental and yet enterprise distros use it so I’m confused :frowning:

See here:
http://doc.opensuse.org/products/draft/SLES/SLES-admin_sd_draft/cha.snapper.html#sec.snapper.disable
(the opensuse documentation is actually found at http://activedoc.opensuse.org/, but that is down at the moment)

Thanks for the quick response! I will read now and that explains why I couldn’t find the documentation :slight_smile: