Releases: hydra3333/Pi4NAS64
now with mergerfs in a samba share
The mergerfs technology is for logically joining folder trees perhaps on separate disks and presenting them as one consolidated disk folder tree.
This project uses mergerfs to present folder trees on 2 separate USB drives as one consolidated folder tree served up by an NFS share and a SAMBA share.
There currently are no NFS shares serving folders from the individual disk folders (although that may come in a later release).
The individual SAMBA shares still point to the 'root folder' of each individual disk, allowing files to be copied to a specific disk folder of the copier's choice.
There now a SAMBA share serving folders from mergerfs.
In some cases, a folder/file may be duplicated on the second disk so that it is a backup of the file on the first disk - mergerfs will not serve up the duplicate second disk file.
Hence the individual SAMBA shares become useful in that scenario.
Issue:
If you answered "N" to the "do you have a second disk" question and later cancel/re-run the script, then the default values for the second disk will be seen to be incorrect.
To workaround that, delete the file setupNAS_defaults.config in ~/Desktop before re-running the script.
updated, now with mergerfs
The mergerfs
technology is for logically joining folder trees perhaps on separate disks and presenting them as one consolidated disk folder tree.
This project uses mergerfs
to present folder trees on 2 separate USB drives as one consolidated folder tree served up by an NFS share.
There currently are no NFS shares serving folders from the individual disk folders (although that may come in a later release).
The individual SAMBA shares still point to the 'root folder' of each individual disk, allowing files to be copied to a specific disk folder of the copier's choice.
There currently is no SAMBA share serving folders from mergerfs
(although that may come in a later release).
In some cases, a folder/file may be duplicated on the second disk so that it is a backup of the file on the first disk - mergerfs
will not serve up the duplicate second disk file.
Hence the individual SAMBA shares become useful in that scenario.
Issue:
If you answered "N" to the "do you have a second disk" question and later cancel/re-run the script, then the default values for the second disk will be seen to be incorrect.
To workaround that, delete the file setupNAS_defaults.config
in ~/Desktop before re-running the script.
DRAFT-ONLY now uses mergerFS for the main NFS share
have only tested with one drive so far, about to test with a second drive mp4library2 ...
release prior to major DRAFT-ONLY changes for mergerfs
release for x64 only
This release ONLY works for Raspberry Pi "bullseye" x64 OS
It includes:
handling of up to 2 USB3 drives with media on each
the new hd-idle for disk spin-down
NFS shares for file sharing
Samba shares for file sharing (VLC likes to use this, it works very well)
miniDLNA (not installed by default, it also has code to handle my specific disk/folder structures)
just prior to major updates for x64
just prior to major updates for x64
samba and minidlna config changes, newer hd-idle
updated samba config
updated minidlna config
newer hd-idle
Initial Release
tested and works ... so far