SergeantCC4 Posted December 4, 2014 Share Posted December 4, 2014 I've had unRAID for over two years now without problems I could not find solutions for by searching the forums, however this one has me at a loss. On a new build, when I try to create a user share all of the fields blank out after clicking apply and nothing is created. The log is as follows: Dec 4 13:31:25 Normandy emhttp: shcmd (580): mkdir "/mnt/user/Movies" Dec 4 13:31:25 Normandy shfs/user: shfs_mkdir: locate: Movies (2) No such file or directory Dec 4 13:31:25 Normandy emhttp: shcmd: shcmd (580): exit status: 1 Dec 4 13:31:25 Normandy emhttp: shcmd (581): rm "/boot/config/shares/Movies.cfg" Dec 4 13:31:25 Normandy emhttp: shcmd (582): :>/etc/samba/smb-shares.conf Dec 4 13:31:25 Normandy avahi-daemon[11350]: Files changed, reloading. Dec 4 13:31:25 Normandy emhttp: Restart SMB... Dec 4 13:31:25 Normandy emhttp: shcmd (583): killall -HUP smbd Dec 4 13:31:25 Normandy emhttp: shcmd (584): cp /etc/avahi/services/smb.service- /etc/avahi/services/smb.service Dec 4 13:31:25 Normandy avahi-daemon[11350]: Files changed, reloading. Dec 4 13:31:25 Normandy avahi-daemon[11350]: Service group file /services/smb.service changed, reloading. Dec 4 13:31:25 Normandy emhttp: shcmd (585): pidof rpc.mountd &> /dev/null Dec 4 13:31:25 Normandy emhttp: shcmd (586): /etc/rc.d/rc.atalk status Dec 4 13:31:26 Normandy avahi-daemon[11350]: Service "Normandy" (/services/smb.service) successfully established. It is running V6b12 basic (working on getting a key) and this problem still exists when I roll back to beta 4 (the same on my current tower is running). Any advice would be greatly appreciated. P.S. I precleared all of the disks (parity plus 4 data) and there are no issues with the drives. Edit: Forgot to mention that the data disks are using XFS and I am able to access them manually and move files to them/create folders. Quote Link to comment
mcham27 Posted December 11, 2014 Share Posted December 11, 2014 Really don't have anything insightful, except that it is happening for me on 6b12 as well, but with reiserfs (opposed to XFS) on the disks. Dec 10 18:11:05 unraid6b12 emhttp: shcmd (27617): mkdir "/mnt/user/iTunes" Dec 10 18:11:05 unraid6b12 emhttp: shcmd: shcmd (27617): exit status: 1 Dec 10 18:11:05 unraid6b12 emhttp: shcmd (27618): rm "/boot/config/shares/iTunes.cfg" Dec 10 18:11:05 unraid6b12 emhttp: shcmd (27619): :>/etc/samba/smb-shares.conf Dec 10 18:11:05 unraid6b12 avahi-daemon[5185]: Files changed, reloading. Dec 10 18:11:05 unraid6b12 emhttp: Restart SMB... Dec 10 18:11:05 unraid6b12 emhttp: shcmd (27620): killall -HUP smbd Dec 10 18:11:05 unraid6b12 emhttp: shcmd (27621): cp /etc/avahi/services/smb.service- /etc/avahi/services/smb.service Dec 10 18:11:05 unraid6b12 avahi-daemon[5185]: Files changed, reloading. Dec 10 18:11:05 unraid6b12 avahi-daemon[5185]: Service group file /services/smb.service changed, reloading. Dec 10 18:11:05 unraid6b12 emhttp: shcmd (27622): pidof rpc.mountd &> /dev/null Dec 10 18:11:05 unraid6b12 emhttp: shcmd (27623): /etc/rc.d/rc.atalk status Dec 10 18:11:06 unraid6b12 avahi-daemon[5185]: Service "unraid6b12" (/services/smb.service) successfully established. Based on how my 'current' 5rc8 handles it, which really isn't relevant in the big scheme of things, every folder (all 35 on the disk I specified) did get turned into a share after not configs were found after mounting /mnt/user, writing to /etc/samba/smb-shares.conf (in memory). However, as shown in my code/log snippet above, my attempt (unregistered USB stick) also had an exit status of 1 on the attempt to create the /mnt/user/iTunes directory, and then it went to remove the non-existent iTunes.cfg within the (empty) "flash"/config/shares folder of the server. As to the underlying cause of the "exit status: 1" from shcmd, I'm not sure. However, I am using "flash"/config/smb-extra.cfg for mounting a multi-partition disk outside of the array (toying with ext4, btrfs, xfs on one physical drive). "flash"/config/share.cfg from my unraid6b12 instance, and based on the 5rc8 behavior shareUser="e" is enabled, while shareUser="-" is disabled. # Generated settings: shareUser="e" shareUserInclude="" shareUserExclude="" shareSMBEnabled="yes" shareNFSEnabled="no" shareNFSFsid="100" shareAFPEnabled="no" shareInitialOwner="Administrator" shareInitialGroup="Domain Users" shareCacheEnabled="yes" shareCacheFloor="2000000" shareMoverSchedule="40 3 * * *" shareMoverLogging="yes" fuse_remember="330" shareAvahiEnabled="yes" shareAvahiSMBName="%h" shareAvahiSMBModel="Xserve" shareAvahiAFPName="%h-AFP" shareAvahiAFPModel="Xserve" Quote Link to comment
dgaschk Posted December 11, 2014 Share Posted December 11, 2014 Attach entire syslog. zip if needed. Quote Link to comment
jinjorge Posted December 29, 2014 Share Posted December 29, 2014 I experienced this issue too. After rebooting the server, I was able to create shares. Quote Link to comment
Helmonder Posted December 29, 2014 Share Posted December 29, 2014 In a previous version it would not work if you used caps.. Could that be it ? Quote Link to comment
jinjorge Posted December 29, 2014 Share Posted December 29, 2014 In a previous version it would not work if you used caps.. Could that be it ? wasn't the case for me. the share names I used before the reboot were the same as after the reboot. It seems like when you first create a flash drive, boot the system, assign drives and the system formats the drives and performs the initial parity check - right after this, one can't create share. Only after a reboot does creating shares work (this was the case for me) Thanks! Quote Link to comment
J.R. Posted February 2, 2015 Share Posted February 2, 2015 I'm having this problem as well. unRAID 6 will not let me create user shares even after rebooting as stated above. Here's my syslog: http://lime-technology.com/forum/index.php?action=dlattach;topic=35553.0;attach=24136 Any help? FWIW, when I actually switched over to the servers monitor/keyboard it's telling me it can not create the share as the disk is too full (which does not appear to be showing up in the syslog). One disk has 787GB free, the other1.27GB free so I'm not sure what's in error there...? But Obviously it has something to do with why it's not working! Quote Link to comment
J.R. Posted February 3, 2015 Share Posted February 3, 2015 OK, back home and the exact message I'm getting is: mkdir: cannot create directory "/mnt/user/Public' : No space left on device Can ANYONE help me figure out why it won't let me create any shares? Why does unRAID think there's no space? Quote Link to comment
Helmonder Posted February 13, 2015 Share Posted February 13, 2015 try it without the capital... public instead of Public .. Quote Link to comment
TRusselo Posted August 8, 2019 Share Posted August 8, 2019 (edited) New user/ same/similar issue. Sorry if i should have started a new thread. I just setup my first unraid server today. I have 5 drives currently installed. 2 parity, 2 drives (adding more later) , 1 cache ssd They are currently doing parity sync 10% I am unable to create any user shares. User shares are turned ON in settings, docker off, VMs off. *** in docker & vm settings it says "mnt/user/appdata" path does not exist do i need to create mnt/user folder somehow? When i go to shares > add share > type in share name, set minimum space to 50,000,000kb, cache yes. Click Add share, page reloads, at bottom it says "starting services", nothing happens, no share in shares tab... kinda lost at the moment. big-d-diagnostics-20190808-0055.zip Edited August 8, 2019 by TRusselo Quote Link to comment
trurl Posted August 8, 2019 Share Posted August 8, 2019 According to your diagnostics, none of your disks are mounted (unsupported partition). Did you actually format them in Unraid? Unraid must format any disk it will use in the array or cache pool. You can't create any user shares (or use the storage) with no mounted disks. What else can you tell us about how you got to this point? Post a screenshot of Main - Array Devices. Quote Link to comment
TRusselo Posted August 8, 2019 Share Posted August 8, 2019 Thanks for chiming in, while I was waiting, i stopped the array, and tried formatting them. reboot later, it allowed me to create a share. All seems to be working, I just unmounted everything and preforming a preclear first. then will build proper. thanks. Quote Link to comment
Recommended Posts
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.