The Next3 filesystem
The Next3 filesystem
Posted Jun 14, 2010 14:01 UTC (Mon) by Cato (guest, #7643)In reply to: The Next3 filesystem by cmccabe
Parent article: The Next3 filesystem
http://lwn.net/Articles/343425/ has more details. Haven't had any more problems since stopping use of write caching and making some other changes such as ext3 data=journal. I also stopped using LVM but I don't think that's a factor - on other PCs I now just use data=journal and turn off hard disk write caching, and still use LVM.
Posted Jun 15, 2010 10:07 UTC (Tue)
by etienne (guest, #25256)
[Link] (1 responses)
Posted Jun 15, 2010 20:33 UTC (Tue)
by Cato (guest, #7643)
[Link]
Posted Jun 23, 2010 1:41 UTC (Wed)
by cmccabe (guest, #60281)
[Link] (3 responses)
Personally, I use rsync for monthly backup, every month, and hope for the best. And when you see that first I/O error come out of /dev/sda... throw that thing in the trash. I've never seen a disk "get better" after starting to give I/O timeouts and errors.
C.
Posted Jun 23, 2010 1:49 UTC (Wed)
by cmccabe (guest, #60281)
[Link]
I haven't ever lost data as a result of a power outage, partly because I'm a compulsive user of the save button / command. I also didn't get bitten by the ext4 rename bug / controversy because I was using ext3 at the time. I don't have a UPS at home or work.
Posted Jun 23, 2010 12:16 UTC (Wed)
by Cato (guest, #7643)
[Link] (1 responses)
Posted Jun 23, 2010 13:30 UTC (Wed)
by nix (subscriber, #2304)
[Link]
(If you've got a lot of those, try rdiff-backup. It's slower than rsnapshot, but when a file changes it stores rdiff-format compressed deltas from the new file to the old one, rather than resaving the entire old file all over again.)
The Next3 filesystem
Historically, that has lead to strange bugs - like LILO was able to start after running Windows 3.1 but not from a cold boot (or the opposite), because the hard disk was reconfigured with a different number of heads and sector per track (BIOS only times, no LBA).
For all what I can see, it is exactly the same nowadays.
The reason has always been to give time to the hard disk to finish and write back its cache.
The Next3 filesystem
The Next3 filesystem
The Next3 filesystem
Since I turn off disk write caching that bypasses the problem of write barriers being disabled in such kernels.
For backups, I use DAR (like tar but with granular checksums for easier recovery from corruption) and rsnapshot, which is rsync-based, but a true backup system as it saves multiple versions and runs very fast, like rsync - works very well as long as you don't have very large files that change frequently.
The Next3 filesystem
The Next3 filesystem
DAR (like tar but with granular checksums for easier recovery from corruption)
Actually par2 provides that feature. What dar gives you is multi-storage-medium support via running arbitrary scripts to change medium. tar has nothing like it.
works very well as long as you don't have very large files that change frequently
Like, uh, VM images? I hear they're quite common these days.