Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

shfs crash (4.5.4)

Featured Replies

Hi,

 

I have never used "user shares" before, and last night I decided to try enable them and experiment. Catastrophy!

 

When I enabled the "user shares", the system automatically created a few dozen shares out of all root folders on the disks. I had to go through all of them and manually set them one by one to "Don't export".  The only thing I left to be exported was (as read-only) one folder -- "videolib".

/mnt/disk1/videolib/

/mnt/disk2/videolib/

There are no duplicate files in my videolib directories.

 

All was well until I issued one `find` command on the console. It started output some expected results, but then it just hung. Switching to htop on tty2 showed shfs maxing the CPU at 100%. I had the syslog set to output to tty12 so I switched there, and found it going totally berzerk, writing endless entries about duplicate objects, something like this:

May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (387) of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (18) of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (234) of Copy of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (248) of Copy of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (213) of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (331) of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (261) of Copy of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (78) of Copy of Copy of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (90) of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (275) of Copy of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (13) of Copy of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (168) of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (289) of Copy of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (27) of Copy of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (286) of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (125) of Copy of Copy of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (35) of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (40) of Copy of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (512) of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (306) of Copy of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (54) of Copy of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (112) of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (70) of Copy of Copy of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (230) of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (68) of Copy of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy of Copy of Copy of Copy of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (349) of 1.txt
May 26 07:42:52 v450 shfs: duplicate object: /mnt/disk2/4/Copy (467) of 1.txt

etc., etc...

Switching quickly to tty3 I went to /var/log/ and watched the syslog growing really really fast.

 

Then the whole system crashed.

 

Now, I know I have duplicate files on different disks, but they are all in directories that are set as "Don't export".

And this whole disaster didn't happened until I issued the seemingly innocent command:

find / -iname "*mover*"

Is that how shfs "normally" behaves?  Can we somehow disable that duplicate object scan?  At least disable it for directories that aren't exported?

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.