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.

Duplicate Share is this normal

Featured Replies

I have been meesing with my unraid install and other servers attempting to get everything happy virtualizing through esxi.  I noticed this issue looking though my shares screen.  I am running unraid 4.7 pro.  I see 2 "Movies" shares.  I have also notice my throughput for copying data has been cut in half

 

unraidissue.jpg

 

Ideas?

Look through the root level folders on all the disk shares. User shares are automatically created from ALL the root folders on all the disks, so my bet is that you have some sort of naming conflict where linux shows 2 different movies folders but samba is sharing them using the same simplified name.

  • Author

Thanks for the reply.  I am currently looking at the disk (be warned I am a linux newbie).  This is what I am seeing in the syslog:

Nov 4 08:40:13 Tower shfs: duplicate object: /mnt/disk2/Movies/.DS_Store

Nov 4 10:40:47 Tower shfs: duplicate object: /mnt/disk2/Movies/.DS_Store

Nov 4 10:50:47 Tower emhttp: shcmd (53): cp /var/spool/cron/crontabs/root- /var/spool/cron/crontabs/root

Nov 4 10:50:47 Tower emhttp: shcmd (54): echo '# Generated mover schedule:' >>/var/spool/cron/crontabs/root

Nov 4 10:50:47 Tower emhttp: shcmd (55): echo '40 3 * * * /usr/local/sbin/mover 2>&1 | logger' >>/var/spool/cron/crontabs/root

Nov 4 10:50:47 Tower emhttp: shcmd (56): crontab /var/spool/cron/crontabs/root

Nov 4 10:50:47 Tower emhttp: shcmd (57): rm /etc/samba/smb-shares.conf >/dev/null 2>&1

Nov 4 10:50:47 Tower emhttp: shcmd (58): cp /etc/exports- /etc/exports

Nov 4 10:50:47 Tower emhttp: get_config_idx: fopen /boot/config/shares/Movies^M.cfg: No such file or directory - assigning defaults

Nov 4 10:50:47 Tower emhttp: shcmd (59): killall -HUP smbd

Nov 4 10:50:47 Tower emhttp: shcmd (60): /etc/rc.d/rc.nfsd restart | logger

 

Any ideas

Thanks for the reply.  I am currently looking at the disk (be warned I am a linux newbie).  This is what I am seeing in the syslog:

Nov 4 08:40:13 Tower shfs: duplicate object: /mnt/disk2/Movies/.DS_Store

Nov 4 10:40:47 Tower shfs: duplicate object: /mnt/disk2/Movies/.DS_Store

Nov 4 10:50:47 Tower emhttp: shcmd (53): cp /var/spool/cron/crontabs/root- /var/spool/cron/crontabs/root

Nov 4 10:50:47 Tower emhttp: shcmd (54): echo '# Generated mover schedule:' >>/var/spool/cron/crontabs/root

Nov 4 10:50:47 Tower emhttp: shcmd (55): echo '40 3 * * * /usr/local/sbin/mover 2>&1 | logger' >>/var/spool/cron/crontabs/root

Nov 4 10:50:47 Tower emhttp: shcmd (56): crontab /var/spool/cron/crontabs/root

Nov 4 10:50:47 Tower emhttp: shcmd (57): rm /etc/samba/smb-shares.conf >/dev/null 2>&1

Nov 4 10:50:47 Tower emhttp: shcmd (58): cp /etc/exports- /etc/exports

Nov 4 10:50:47 Tower emhttp: get_config_idx: fopen /boot/config/shares/Movies^M.cfg: No such file or directory - assigning defaults

Nov 4 10:50:47 Tower emhttp: shcmd (59): killall -HUP smbd

Nov 4 10:50:47 Tower emhttp: shcmd (60): /etc/rc.d/rc.nfsd restart | logger

 

Any ideas

 

This has nothing to do with having a duplicate Movies share in the GUI.

Thanks for the reply.  I am currently looking at the disk (be warned I am a linux newbie).  This is what I am seeing in the syslog:

Nov 4 08:40:13 Tower shfs: duplicate object: /mnt/disk2/Movies/.DS_Store

Nov 4 10:40:47 Tower shfs: duplicate object: /mnt/disk2/Movies/.DS_Store

Nov 4 10:50:47 Tower emhttp: shcmd (53): cp /var/spool/cron/crontabs/root- /var/spool/cron/crontabs/root

Nov 4 10:50:47 Tower emhttp: shcmd (54): echo '# Generated mover schedule:' >>/var/spool/cron/crontabs/root

Nov 4 10:50:47 Tower emhttp: shcmd (55): echo '40 3 * * * /usr/local/sbin/mover 2>&1 | logger' >>/var/spool/cron/crontabs/root

Nov 4 10:50:47 Tower emhttp: shcmd (56): crontab /var/spool/cron/crontabs/root

Nov 4 10:50:47 Tower emhttp: shcmd (57): rm /etc/samba/smb-shares.conf >/dev/null 2>&1

Nov 4 10:50:47 Tower emhttp: shcmd (58): cp /etc/exports- /etc/exports

Nov 4 10:50:47 Tower emhttp: get_config_idx: fopen /boot/config/shares/Movies^M.cfg: No such file or directory - assigning defaults

Nov 4 10:50:47 Tower emhttp: shcmd (59): killall -HUP smbd

Nov 4 10:50:47 Tower emhttp: shcmd (60): /etc/rc.d/rc.nfsd restart | logger

 

Any ideas

The clue is in your syslog snip.

 

You have a

Movies

share and a

Movies^M

share.

The second has a carriage return at the end of its name.  (The ^M )  That carriage-return is not visible in window's view or the web-interface.

 

To see the two directories (and the disks they are on), type:

ls -ld /mnt/disk*/Movies*

 

You basically need to use "mc" to consolidate the files onto the directory hierarchy without the trailing carriage return, and then delete the empty top level directory with the carriage return.

 

 

  • Author

Thanks for the info Joe L.

 

unraidissue-1.jpg

This is what I see.  I see the issue is with disc 6.  I figured out how to start mc via putty.  When I start it, it mounts the flash drive.  Would you mind providing me with a few commands to mount disc 6 to resolve my issue.

 

 

Hi mate

 

first check de amount of data you have in movies^M

 

cd /mnt/disk6

du -hs movie*

 

It should show you two lines one for the amount of data in movies and another one for the amount of data in movies^M.

 

If you are lucky Movies^H its empty (it will show 4Kb) so the esaiest wat is:

cd /mnt/disk6

mv movies temp_movies

rm -rf movies*

mv temp_movies movies

 

If you have data inside movies^M the procedure is similar but a bit more complicated.

cd /mnt/disk6

mv movies temp_movies

cd movi*

pwd  -> this command verifies that you are inside movies^M it must show /mnt/disk6/movies\r or /mnt/disk6/movies^M

ls

move * ../temp_movies -> can take a while depending the amount of data and the disk speed but should be quick.

cd ..

pwd -> verify you are in /mnt/disk6

du -hs movi* -> to ensure that movies^M is now empty. it should show a tiny size between 4kb to 64kb.

rm -rf movies*

mv temp_movies movies

 

 

That' s all.

 

  • Author

When I type:

 

du -hs movie*

 

it states

 

du: cannot access `movie*': No such file or directory

 

It is able to mnt disk6 fine.

 

I greatly appreciate the help

Try...

 

du -hs Movie*

 

In Linux upper and lower case letters in names are not the same.

  • Author

Hi mate

 

first check de amount of data you have in movies^M

 

cd /mnt/disk6

du -hs movie*

 

It should show you two lines one for the amount of data in movies and another one for the amount of data in movies^M.

 

If you are lucky Movies^H its empty (it will show 4Kb) so the esaiest wat is:

cd /mnt/disk6

mv movies temp_movies

rm -rf movies*

mv temp_movies movies

 

If you have data inside movies^M the procedure is similar but a bit more complicated.

cd /mnt/disk6

mv movies temp_movies

cd movi*

pwd  -> this command verifies that you are inside movies^M it must show /mnt/disk6/movies\r or /mnt/disk6/movies^M

ls

move * ../temp_movies -> can take a while depending the amount of data and the disk speed but should be quick.

cd ..

pwd -> verify you are in /mnt/disk6

du -hs movi* -> to ensure that movies^M is now empty. it should show a tiny size between 4kb to 64kb.

rm -rf movies*

mv temp_movies movies

 

 

That' s all.

 

Thanks for your help I believe this fixed the problem.  ;D

 

Try...

 

du -hs Movie*

 

That did it.  Thanks for the tip.  I am a newbie in linux

 

 

Thanks for your help I believe this fixed the problem.  ;D

 

Try...

 

du -hs Movie*

 

That did it.  Thanks for the tip.  I am a newbie in linux

You are welcome. It has been a pleasure. We are here to share our knowledge.

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.