November 4, 201213 yr 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 Ideas?
November 4, 201213 yr 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.
November 4, 201213 yr 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
November 4, 201213 yr 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.
November 4, 201213 yr 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.
November 4, 201213 yr Author Thanks for the info Joe L. 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.
November 5, 201213 yr 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.
November 5, 201213 yr 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
November 5, 201213 yr Try... du -hs Movie* In Linux upper and lower case letters in names are not the same.
November 5, 201213 yr 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. Try... du -hs Movie* That did it. Thanks for the tip. I am a newbie in linux
November 5, 201213 yr Thanks for your help I believe this fixed the problem. 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.