View previous topic :: View next topic |
What filesystem do you use? |
ext 2,3,4 |
|
59% |
[ 61 ] |
f2fs |
|
2% |
[ 3 ] |
btrfs |
|
16% |
[ 17 ] |
xfs |
|
13% |
[ 14 ] |
zfs |
|
4% |
[ 5 ] |
other |
|
1% |
[ 2 ] |
|
Total Votes : 102 |
|
Author |
Message |
zah21 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Jan 2021 Posts: 27
|
Posted: Tue Feb 16, 2021 7:08 am Post subject: Recommend a filesystem for SSD |
|
|
Hi guys,
I'll be upgrading to new laptop pretty soon so at the moment I'm trying to decide what file system to use on an SSD. I've always used Ext4 and I've had no major issues with it so far. From what I've heard elsewhere it seems like filesystems such as btrfs and f2fs seems to have good ssd support, so I'd like to hear your opinion on what you think about those.
Thanks.
Last edited by zah21 on Tue Feb 16, 2021 12:37 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ionen Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/12407261860db424480089.png)
Joined: 06 Dec 2018 Posts: 2765
|
Posted: Tue Feb 16, 2021 7:10 am Post subject: |
|
|
Hardly matters, use what you prefer based on features or robustness.
Note that F2FS is mostly useful for "dumb" flash storage (like a usb thumbdrive), any remotely modern SSDs don't need this. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Goverp Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/152613747847c6fd276c31a.jpg)
Joined: 07 Mar 2007 Posts: 2112
|
Posted: Tue Feb 16, 2021 9:19 am Post subject: |
|
|
Ionen wrote: | ...
Note that F2FS is mostly useful for "dumb" flash storage (like a usb thumbdrive), any remotely modern SSDs don't need this. |
That's not correct. It was designed for SSD, NVMe and the like by people from Samsung, who make quite a lot of that stuff. It has some issues that can be mitigated (note that if you apply their changes, they need the filesystem formatted with the "extra_attr" flag, which breaks grub's ability to read it).
My experience so over the past year with an F2FS NVMe rootfs is fine. It also supports FSCRYPT, like ext4, which may be of interest for laptop security if you don't want to go down the LUKS route. _________________ Greybeard |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
asturm Developer
![Developer Developer](/images/ranks/rank-dev.gif)
Joined: 05 Apr 2007 Posts: 9095
|
Posted: Tue Feb 16, 2021 9:21 am Post subject: |
|
|
ext4. boring fs is best fs. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54529 Location: 56N 3W
|
Posted: Tue Feb 16, 2021 11:01 am Post subject: |
|
|
zah21,
I use ext4. On some filesystems where I don't mind throwing them away is there is a problem, wint the -O ^has_journal option. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pietinger Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
Joined: 17 Oct 2006 Posts: 4842 Location: Bavaria
|
Posted: Tue Feb 16, 2021 11:23 am Post subject: |
|
|
asturm wrote: | ext4. boring fs is best fs. |
+ 1
I am using ext4 on desktop and notebook (both having a SSD as boot medium). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31171 Location: here
|
Posted: Tue Feb 16, 2021 11:23 am Post subject: |
|
|
As asturm say, ext4 _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eccerr0r Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 01 Jul 2004 Posts: 9750 Location: almost Mile High in the USA
|
Posted: Tue Feb 16, 2021 9:21 pm Post subject: |
|
|
Especially SATA SSDs are "cooked" interfaces and deal with wear leveling automatically so there's no need to run a flash centric filesystem.
When they start forcing us to use "WinSSS" (aka solid state storage with the "Winmodem" moniker) then perhaps we need to start using f2fs of some sort, and waste CPU cycles/memory to deal with wear leveling and block allocation. But even so, unless you have some sort of power guarantee (battery or at least some capacitor backup) there's a high risk for corruption if you can't finish metadata writes. SATA SSDs will detect power failures and clean up before going dark, something that you can't guarantee with F2FS on solely line power. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
szatox Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 27 Aug 2013 Posts: 3329
|
Posted: Tue Feb 16, 2021 9:35 pm Post subject: |
|
|
ext4
You can pick something more exotic for more exotic purposes, but ext4 is just fine for root. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Goverp Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/152613747847c6fd276c31a.jpg)
Joined: 07 Mar 2007 Posts: 2112
|
Posted: Wed Feb 17, 2021 9:19 am Post subject: |
|
|
eccerr0r wrote: | Especially SATA SSDs are "cooked" interfaces and deal with wear leveling automatically so there's no need to run a flash centric filesystem.
When they start forcing us to use "WinSSS" (aka solid state storage with the "Winmodem" moniker) then perhaps we need to start using f2fs of some sort, and waste CPU cycles/memory to deal with wear leveling and block allocation. But even so, unless you have some sort of power guarantee (battery or at least some capacitor backup) there's a high risk for corruption if you can't finish metadata writes. SATA SSDs will detect power failures and clean up before going dark, something that you can't guarantee with F2FS on solely line power. |
IIUC F2FS is, like ext4, a journalling filesystem. So presumably after a power failure it's a case of replaying the journal for both ext4 and f2fs. _________________ Greybeard |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Irre Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 09 Nov 2013 Posts: 434 Location: Stockholm
|
Posted: Wed Feb 17, 2021 10:51 am Post subject: |
|
|
Bad, bad experience with f2fs on my first Raspberries. Even on a Google mobile phone the f2fs got corrupted during an update. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eccerr0r Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 01 Jul 2004 Posts: 9750 Location: almost Mile High in the USA
|
Posted: Wed Feb 17, 2021 3:38 pm Post subject: |
|
|
Goverp wrote: | IIUC F2FS is, like ext4, a journalling filesystem. So presumably after a power failure it's a case of replaying the journal for both ext4 and f2fs. |
Still can't guarantee atomic writes when power is unreliable. Even mechanical hard drives have "last gasp" writes for when power goes out, no guarantees when doing in software.
Granted if you run f2fs on a storage medium that supports reliable writes, then it's not nearly as much of a problem...still redundant... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
msst Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 07 Jun 2011 Posts: 259
|
Posted: Thu Feb 18, 2021 8:06 pm Post subject: |
|
|
I prefer btrfs nowadays. Works without problems and adds transparent compression and lvm / raid type features without needing to add extra layers of complexity.
But of course ext4 is the most common default option for a reason. If you need / want none of the other features, why experiment? SSD support is solid on ext4 as well. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nikolis Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 21 Aug 2003 Posts: 200 Location: Athens
|
Posted: Sat Mar 06, 2021 1:04 am Post subject: |
|
|
xfs for all |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mustafasalih1993 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/26303842460277e47a9eb4.jpg)
Joined: 09 Feb 2021 Posts: 38
|
Posted: Sat Mar 06, 2021 3:14 am Post subject: |
|
|
I use ext4, always happy with it ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Roman_Gruber Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Fri Mar 12, 2021 6:05 pm Post subject: |
|
|
What filesystem do you use?
I use that for ages. It matter more which drive manufactuerer you buy. I had good experience with crucial, and the worst with my ADATA and Sandisk drives.
SATA 2.5" -> GPT -> LVM2 -> LUKS -> ext4
You want to use something which can be easily recovered and has no big performance impact. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tom_ Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1495236763449c22e973a0c.jpg)
Joined: 20 May 2004 Posts: 448 Location: France
|
Posted: Sat Mar 13, 2021 8:01 am Post subject: |
|
|
I just bought new SSDs and i was wondering about which filesystem to use. I thought about BTRFS but in the end I suppose that I'll stick to the trusty lvm2 + ext4 combo. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Anon-E-moose Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/3064969284ad468b81342a.jpg)
Joined: 23 May 2008 Posts: 6144 Location: Dallas area
|
Posted: Sat Mar 13, 2021 10:17 am Post subject: |
|
|
Mix of things here.
Mostly btrfs (now), 2 mirrored raid boxes are btrfs now, but about a year ago they were reiser3.
Except for one of my samsung ssd's (old root pre nvme) that I used ext4 for and the reason for ext4 is that the ext* systems seem to be faster for serving qemu images. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xahodo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/8114838355e1657ba02b10.jpg)
Joined: 17 May 2007 Posts: 82 Location: Gouda, the Netherlands
|
Posted: Sat Mar 13, 2021 6:45 pm Post subject: |
|
|
ext4 all the way. I had reiserfs for /home and /var for a while, to reduce space consumption by smaller files, but I'm a bit hesitant to use it these days as I'm not sure about its maintenance and development status. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Zucca Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/1241878214609aa5b503437.gif)
Joined: 14 Jun 2007 Posts: 3606 Location: Rasi, Finland
|
Posted: Sat Mar 13, 2021 6:51 pm Post subject: |
|
|
All-in btrfs here.
The multi-device btrfs setups and one laptop. _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jojobinha_2009 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_agent_smith.gif)
Joined: 27 Mar 2021 Posts: 77 Location: Brazil
|
Posted: Mon Apr 05, 2021 12:42 am Post subject: |
|
|
Using BTRFS... noticed Gentoo runs faster with it instead of ext4. _________________ Intel Core i5-9400F / 24GB DDR4 2666MHz / GeForce GTX 1060 3GB
Powered by Gentoo for x86_64
======================================================
Seize the day, and remember to have fun! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
The_Great_Sephiroth Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 03 Oct 2014 Posts: 1602 Location: Fayetteville, NC, USA
|
Posted: Wed Aug 18, 2021 1:45 am Post subject: |
|
|
BTRFS on mechanical. It is faster and has bit-rot protection which HAS saved me a few times.
I also wanted to vote F2FS because that is all I use on systems with SSDs. It smokes ext4 and BTRFS on an SSD. I mean SMOKES IT HARD. _________________ Ever picture systemd as what runs "The Borg"? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
CooSee Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/116667693650fadeb419aaa.jpg)
Joined: 20 Nov 2004 Posts: 1462 Location: Earth
|
Posted: Wed Aug 18, 2021 2:29 pm Post subject: |
|
|
maybe it's just my imagination, but i always found 'ext3/4' to chatty - like reiserfs.
i only use 'xfs' and never disappointed me, even after 'power outage'. _________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sitquietly Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/18795415835b312dad58333.jpg)
Joined: 23 Oct 2010 Posts: 150 Location: On the Wolf River, Tennessee
|
Posted: Thu Aug 19, 2021 7:58 pm Post subject: |
|
|
CooSee wrote: | i only use 'xfs' and never disappointed me, even after 'power outage'. |
Similar.
I use xfs for root because "xfs never disappointed me, even after power outage" and because I know it has had a lot of work put into it for years now and is preferred by RedHat.
I use zfs for data disks (on enterprise HDs). It has been very reliable giving me many terrabyte*years without a single disappointment. I also like that my zfs raid10 array manages to give me uninterrupted, glitch-free 24bit 96kHz audio playback even during massive rsync transfers and ebuilds on the same array. From Ann-Sophie Mutter to Yo Yo Ma we all love zfs.
boot ssd = xfs
data HDs = zfs
I'm only missing a yfs. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
CaptainBlood Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/4140500035f469c3d78565.gif)
Joined: 24 Jan 2010 Posts: 3755
|
Posted: Thu Aug 19, 2021 8:22 pm Post subject: |
|
|
asturm wrote: | ext4. boring fs is best fs. | Yeah,
Been waiting for years btrfs 5/6 to become boring... _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|