disk-buttler's People
disk-buttler's Issues
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
use FUSE
Instead of implementing a raid using symlinks, we could use FUSE and its python bindings
to implement a file system in user space that effectively merge multiple mount points into one logical view without imposing its own file system.
http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FUSE_Python_tutorial
create config file for default folders
move splited seasons to a single hdd
In case a season is splited across two or more source folders, move all episodes to one folder that has enough space.
compare content of two folder
we need to know wich content is identical and wich is different, and where differences are located.
make special 'Serien' folder configurable
Please provide a cli ( command line interface ) option to specify a list of special folder ( currently hard coded as 'Serien' ).
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
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.
initialize destination with default folders
Creates the following default folders:
- Serien
- Movies
- Music
- ...
create fstab entries
based on the folder description in #9, fstab entries have to be created.
mirror source->destination
Reads the folder names from source directory and creates empty folder in the destionen folder.
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.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.