Coder Social home page Coder Social logo

disk-buttler's People

Contributors

nesurion avatar velrok avatar zeisss avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

zeisss velrok

disk-buttler's Issues

create poor man raid folder

create the "poor man raid" folder, wich contains the folder structure. The contant will be mounted using bindings in the fstab.

lets assume the following structure:

  • /hdd1/Serien/Dexter/
  • - /hdd1/Serien/Dexter/Season01
  • - /hdd1/Serien/Dexter/Season02
  • /hdd1/Serien/Suits/
    • /hdd1/Serien/Suits/Season01
  • /hdd2/Serien/Suits/
  • - /hdd1/Serien/Suits/Season02

Then the "poor men raid" folder should look like this:

  • /poor-men-raid/Dexter/Season01 -> /hdd1/Serien/Dexter/Season01
  • /poor-men-raid/Dexter/Season01 -> /hdd1/Serien/Dexter/Season01
  • /poor-men-raid/Suits/Season01 -> /hdd1/Serien/Suits/Season01
  • /poor-men-raid/Suits/Season02 -> /hdd2/Serien/Suits/Season02

manage fstab

in order to prevent system boot failure caused by a invalid fstab, we will create a new version conainting all the poormanraid entries after boot. then mount -a is called to apply these changes and revert the fstab its boot version.
This is probably done best using an init script.

config management

Crate a mechanism that manages a config file.

Such a file should contain a list of source folder to look for media contant
and one folder that is the "poor men raid" folder containing links to all the media in the source folders.

In order to make usability of such a system easy we should provide the following scripts:

disk-butter-config add source-folder
disk-butter-config remove source-folder
disk-butter-config set destination-folder

mirror folder structure to new hdd

When a new hdd is added to the pool it should contain the same folder structure AND symlinks to all the old files on the old drive.
This way the new hdd would appear to contain all the content, while in fact all the old files remain at the old disk.

The benefit is a logical view on the data more or less independent on the actual storage location.

can't write files to "poormanraid" folder

The PoorManRaid folder has to be read only. This will cause problems with applications like sickbeard, wich automaticly create folder for series and seasons.

We need to find a solution for this, otherwise the poormanraid idea is worthless.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.