So I wanted a simple NAS. And I was one step before buying "all-in-one" solution from Synology (or smth similar). But the price was quite high for what I wanted to do with it.
About 500€ to be exact. Well quick google about parts and there it was. I can do the same (or even better) with half the price. So here it is.
First tests are saying that with sleeping HDDs my NAS is using about 26-28W of energy. On start it's using about 70W and during all HDDs not sleeping 45-50W. I think it's quite good result but I would like to test it more with better hardware to measure "hunger for power".
- iTunes music server (cause I have tons of ripped CDs and only 256GB SSD in my laptop)
- Fractal Design 304 case - 6 HDD small chassie. Hard to manage cables but it looks nice and it's working.
- OCZ-ZT550W modular PSU - I had some minor problems with cable management but looks like it's working
- DDR3 8GB/1333 CL9 HyperX Blu (cheapest one IIRC)
- Gigabyte GA-E350N motherboard with integrated dual core 1.6GHz CPU and AMD Radeon HD 6310 graphics.
I have Brother DCP-7030 and those scripts are prepared to work with brscan3 models) In "brother" directory you can find scripts that I hacked to use hardware options to do what I want them to do (scan to tiff, pdf, merge multipages only with scanner) ;)
- libtiff-tools (for tiff2pdf)
- poppler-utils (for pdfunite)
- sane-utils (for scanimage)
- brscan3 64bit
- scan-key-tool 64bit
For brscan3 Users:
/usr/lib64/libbrscandec3.so.1.0.0
/usr/lib64/sane/libsane-brother3.so.1.0.7
/usr/lib64/sane/libsane-brother3.so.1
/usr/lib64/sane/libsane-brother3.so
/usr/lib64/libbrscandec3.so
/usr/lib64/libbrscandec3.so.1
I've created completly new udev rules.
Now it's starting brscan-skey
tool right after you turn on/plug in scanner.
To use bash
instead of sh
edit /etc/opt/brother/scanner/brscan-skey/brscan-skey-0.2.4-0.cfg
and update:
IMAGE="bash /opt/brother/scanner/brscan-skey/script/scantoimage-0.2.4-0.sh"
OCR="bash /opt/brother/scanner/brscan-skey/script/scantoocr-0.2.4-0.sh"
EMAIL="bash /opt/brother/scanner/brscan-skey/script/scantoemail-0.2.4-0.sh"
FILE="bash /opt/brother/scanner/brscan-skey/script/scantofile-0.2.4-0.sh"
I'm using this to scan multiple pages.
- just plain scan to tiff
I'm using this If I scanned multiple pages document and next document is single page. Also It can be used as single
- search for *.tiff files in
$SCAN_PATH
, convert them to PDF and merge to one pdf, delete all tiffs - scan current document to tiff
- convert new single scan to pdf
- delete original tiff
I'm using this when I scanned multiple pages document (and now it's time to convert it to pdf) and I'm going to scan another multipage document.
- search for *.tiff files in
$SCAN_PATH
, convert them to PDF and merge. - scan current document to tiff (no convertion to pdf)
This one is new. Just plain merge of multiple pages document. This task may hang a minute before you can scan more with hardware button, use cancel and stop on printer/scanner to stop after merging.
- search for *.tiff files in
$SCAN_PATH
, convert them to PDF and merge. - no scanning
In directory laptop-mode-tools
you can find my config for laptop-mode. With this settings all of
my HDDs are sleeping after few minutes and they are spinning up when needed (watching a movie, scanning
or making backup).
I tried to set up this using trial and error.
In directory netatalk
you can find my configs to use one of my HDDs in my linux box as backup.
I'm using netatalk also to share scans to my mac (I'm managing scans with Evernote)
Licensed under the MIT license.