Slashdot Mirror


Linux Gains Lossless File System

Anonymous Coward writes "An R&D affiliate of the world's largest telephone company has achieved a stable release of a new Linux file system said to improve reliability over conventional Linux file systems, and offer performance advantages over Solaris's UFS file system. NILFS 1.0 (new implementation of a log-structured file system) is available now from NTT Labs (Nippon Telegraph and Telephone's Cyber Space Laboratories)."

9 of 331 comments (clear)

  1. Bloat? by shadowknot · · Score: 3, Insightful

    Please correct me if I'm wrong here but wouldn't a log that is only appended to and never overwritten cause a massive ammount of bloat after a period of prolonged use?

  2. New Improved? by TheRaven64 · · Score: 4, Insightful

    The article was a bit light on details. Perhaps someone could enlighten me as to exactly why this is better than existing log-structured filesystems, such as NetBSD's LFS.

    --
    I am TheRaven on Soylent News
  3. Horrible headline by Quasar1999 · · Score: 4, Insightful

    A lossless file system? Good lord... I most certainly hope all the exisiting file systems out there are not lossy. I have hundreds of gigabytes of data that I don't want to lose.

    Or is this filesystem somehow able to recover data once the hard drive crashes? That would be neat...

    --

    ---
    Programming is like sex... Make one mistake and support it the rest of your life.
    1. Re:Horrible headline by addaon · · Score: 5, Insightful

      It should be said that "good write performance, bad read performance" is essentially the point, not a defect. It's easy these days to speed up reads a huge amount through caching; these days 100MB+ of UBC isn't rare. But when you have to write, you have to write (for reliability reasons); this can't be cached into memory, so it should be optimized for. The goal here is to make BOTH operations as fast as possible, though one is made fast at the disk layer and one is made fast above it.

      --

      I've had this sig for three days.
  4. Database Servers by mysqlrocks · · Score: 4, Insightful

    Log-structured filesystems write down all data in a continuous log-like format that is only appended to, never overwritten. The approach is said to reduce seek times, as well as minimizing the kind of data loss that occurs with conventional Linux filesystems.

    This sounds a lot like how database servers work. They keep both a log file and a database file. The log file is continuously written to and is only truncated when backups occur.

  5. Re:The dreaded question by pesc · · Score: 3, Insightful

    Consumers today want portability. They don't like lock-in.
    That's unfortunately not true, which is proved by all the people using NTFS (or Office).

    --

    )9TSS
  6. There's no replacement for ext3fs yet for me... by davegaramond · · Score: 4, Insightful

    I'd looove to replace ext2/3 as my filesystem for years since it's not so fast and most distro don't include binary tree indexing for ext3 (so large dir is slow). Unfortunately I haven't been able to do so. Here are my requirements:

    1. Distro support. I don't want to have to compile my own kernel. The FS needs to be supported by the distro (Debian in this case). I want to be able to create root partition and RAID with the FS.

    2. ACL and extended attributes.

    3. extended inode attributes would be nice ("chattr +i" is handy sometimes).

    4. optionally I would like to be able to create large Bestcrypt partitions (e.g. 30GB) with that FS.

    5. fast large dir and small files performance (I have millions of small files on my desktop).

    6. no need to fsck or fast fsck (i.e. journalling or some other technique or whatever).

    7. disk quota!

    8. optionally, transparent compression and encryption will be a big plus point.

    9. Snapshots would be nice too, for consistent backups.

    10. Versioning is also very welcome.

    XFS: very close but it still has problems with #4. It also doesn't have undelete like ext2/ext3 (not that it's a requirement though).

    JFS: it just lacks many features.

    Reiser3: How's the quota support, still have to patch kernel everytime? Plus it doesn't have ACL.

    Reiser4: not ready yet.

    I might have to look at FreeBSD after all. Background fsck, hmm....

    1. Re:There's no replacement for ext3fs yet for me... by swillden · · Score: 2, Insightful

      9 is basically a cron job

      Ummm, no.

      9 (snapshots), is a very important feature that makes it possible to create a cron job to do nice, consistent backups easily. Unless you don't mind writing a cron job that remounts the fs as read-only before doing the backup... an approach that's likely to cause one or two small problems.

      That said, snapshotting doesn't need to be implemented in the file system. LVM, for example, implements it below the file system, at the level of a block device. That approach has the benefit of making it applicable to any file system.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  7. Re:Faster by shmlco · · Score: 2, Insightful

    Un huh. And the extra processing time the required "cleaner" takes up shouldn't be charged to the overall speed, much like Java's GC?

    --
    Any sect, cult, or religion will legislate its creed into law if it acquires the political power to do so.