I'm going batty trying to figure this out.
I have a media server with four hard drives. There are 3 relevant partitions for this setup.
Partition "A" contains 8 subdirectories of various sorts
Partition "B" contains only movies and has 20 subdirectories
Partition "C" contains videos other than movies in 7 subdirectories
They all also contain some files in their root directory
I wish to export all these partitions and their subdirectories with a single export I call "shared" and have all of the partitions subdirectories available. Since I access this data through numerous services (Roku, media computers, DLNA devices) the directory structure is critical. I don't want to combine all the partitions using formatting (raid, LVM or btrfs) for data backup and loss prevention reasons.
SymLinking directories and then exporting is problematic so I want to use bind mounts for stability.
Here's the question:
The three partitions are mounted, then you bind the mounts and export them. The rub is the tree structure I desire:
/shared --> All partition "A" files and subdirectories
--> /Videos
--> All partition "C" files and subdirectories
--> /Movies
-->All partition "B" files and subdirectories
It's the nesting thats driving me batty. Can I even do this? I can't overlap mounts this way but there has to be a solution.
I have a media server with four hard drives. There are 3 relevant partitions for this setup.
Partition "A" contains 8 subdirectories of various sorts
Partition "B" contains only movies and has 20 subdirectories
Partition "C" contains videos other than movies in 7 subdirectories
They all also contain some files in their root directory
I wish to export all these partitions and their subdirectories with a single export I call "shared" and have all of the partitions subdirectories available. Since I access this data through numerous services (Roku, media computers, DLNA devices) the directory structure is critical. I don't want to combine all the partitions using formatting (raid, LVM or btrfs) for data backup and loss prevention reasons.
SymLinking directories and then exporting is problematic so I want to use bind mounts for stability.
Here's the question:
The three partitions are mounted, then you bind the mounts and export them. The rub is the tree structure I desire:
/shared --> All partition "A" files and subdirectories
--> /Videos
--> All partition "C" files and subdirectories
--> /Movies
-->All partition "B" files and subdirectories
It's the nesting thats driving me batty. Can I even do this? I can't overlap mounts this way but there has to be a solution.
Comment