One Share name for all disks


Recommended Posts

I've been relying on the dir command to see if there is a Movies folder in /mnt/disk3 and it has not shown up with a Movies folder.

 

I just tried to cd /mnt/disk3/Movies and found out that it still thought there was a physical Movies folder there. I ran rm -r Movies

 

It doesnt appear to have changed much though. I still can access my disks and cannot access the web interface

The recursive "rm -r" is a very dangerous command if any of the links still exist or if any directories exist under Movies with actual movie files in them...

 

I hope you did an

ls -R Movies

to ensure you knew what the recursive remove was going to remove.

 

Otherwise, you might have just asked your server to remove all your movies...

 

You would have gotten rid of your problem, but also gotten rid of your collection of movies... (Ouch...)

 

Joe L.

Link to comment

I can still access disk5/Movies, disk6/Movies, disk7/Movies and disk8/Movies and the contents inside. I am praying that doesnt change!

 

I did use the rm -r Movies command previously but it doesnt seem to have fixed anything.

 

Will the loop eventually stop?

If the shfs process is incrementally growing, it will eventually not be able to allocate memory and crash the server.  If it is not using up memory, then it will loop forever... (if it indeed is in a loop)
Link to comment
  • 11 years later...
  • 5 months later...

Hi,

 

I have followed another path to achieve the same results (I suppose).

I have several shares but all are set as hidden except one (Union share).

The one that is visible is the mergerfs root dir.

I use a script that puts all the hidden shares under the same root mergerfs dir.

The result is as follows:

/mnt/user/share1 (Hidden)

/mnt/user/share2 (Hidden)

/mnt/user/share3 (Hidden)

/mnt/user/Union (Root mergerfs directory which is the only share not hidden)

/mnt/user/Union/share1 (mergerfs mount point for share 1)

/mnt/user/Union/share2 (mergerfs mount point for share 2)

/mnt/user/Union/share3 (mergerfs mount point for share 3)

 

To "mount" the mergerfs dir I run a script that checks that the mergerfs is already mounted, if not I mount it.

 

I see advantages to this way of doing:

- No change to the standard way of sharing of Unraid

- The hidden shares can still be accessed by explicitly specifying them

- I use the mergerfs mount to join different shares and also rclone mount point. e.g. I mount /mnt/user/Union/Movies that merges the files from my local /mnt/user/Movies hidden share as well as the files from my gdrive: /Movies rclone mount.

 

If you are interested I can provide the scripts to achieve this.

 

Regards

 

Denis

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.