flok
Posts: 19
Joined: Thu Dec 13, 2012 9:46 am
Location: Gouda
Contact: ICQ Website

log structured filesystem

Thu Dec 13, 2012 9:50 am

Hi,

Has anyone looked into a log-structured filesystem for all filesystems on a raspberry pi?
I think such a filesystem might somewhat solve the wear-issues with the SD storagecards as it is an "appending" filesystem (http://en.wikipedia.org/wiki/Log-structured_file_system).

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: log structured filesystem

Thu Dec 13, 2012 1:52 pm

I think most people will opt for a faster FS and just replace the SD every few years...more likely replace the whole raspberrypi with the next version.
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

flok
Posts: 19
Joined: Thu Dec 13, 2012 9:46 am
Location: Gouda
Contact: ICQ Website

Re: log structured filesystem

Thu Dec 13, 2012 3:42 pm

I have heard numerous occasions of SD cards dying in a few weeks.

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: log structured filesystem

Sat Dec 15, 2012 6:03 pm

I think that's more of an china/ebay problem.
Last SDcard I used in my phone lasted 7 years.
SDcard in the rpi has been used 24/7 from the first batch of rpi's to ship.
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

Olipro
Posts: 4
Joined: Wed Dec 26, 2012 4:32 am

Re: log structured filesystem

Wed Dec 26, 2012 9:27 am

I use NILFS2 as the rootfs on my RasPi - this does come with the caveat of having to run a userspace daemon that cleans up old checkpoints ('lest my SD run out of space) but has very good read and write performance (around 12MB/s on my class4) - I'm looking forward to giving F2FS a shot once 3.8 goes stable and comparing.

Return to “Linux Kernel”