Results 1 to 3 of 3

Thread: Caching filesystem using fuse

  1. #1
    Join Date
    Sep 2009
    Location
    Denmark
    Beans
    726
    Distro
    Ubuntu 9.10 Karmic Koala

    Caching filesystem using fuse

    I've got a home server with a RAID 5 array. It's mainly used for streaming movies and runs idle the most of the time. I was thinking if it's possible to make a FUSE filesystem, that transparently copies the file from the RAID to a flash drive and streams the data from there, allowing the drives to power down the next hour and a half.

    Is this a realistic idea? In Perl? What should i look out for? I haven't really programmed anything like this before. Just small scripts for this and that, but i guess i have to start somewhere.
    What? I'm not allowed to say fsck? Then how is i supposed to help people fix their filesystems?

  2. #2
    Join Date
    Dec 2004
    Location
    Manchester
    Beans
    2,086
    Distro
    Ubuntu Mate 15.10 Wily Werewolf

    Re: Caching filesystem using fuse

    have a look at
    http://sourceforge.net/apps/mediawik...le=FileSystems
    there is one caching fs in there already.

    also look at offline fs (ohm fs)
    http://offlinefs.sourceforge.net/wiki/

    and bcache
    http://bcache.evilpiepirate.org/

    i am not sure any of them do exactly what you need, but they may get you some of the way.

  3. #3
    Join Date
    Sep 2009
    Location
    Denmark
    Beans
    726
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Caching filesystem using fuse

    mcachefs seems to be pretty much it. Atleast, it's worth trying out.

    bcachefs isn't really optimized for what i need. It seems to be more for optimizing random writes and works below the filesystem layer, so i can't make it read ahead large files.

    I'm still confused as to what ohm fs actually does. But it might also be useful.

    Thanks a lot for your help. Now i can do some testing
    What? I'm not allowed to say fsck? Then how is i supposed to help people fix their filesystems?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •