November 14, 201015 yr First time user with new UnRAID build. Trying to create user shares and when I hit apply then the page refreshes but nothing shows up. Console says: mkdir: cannot create directory '/mnt/usr/test5/': no such file or directory chmod: cannot access '/mnt/usr/test5/': no such file or directory Syslog says; Nov 14 03:59:25 Tower emhttp: shcmd (41): mkdir '/mnt/user/test5' Nov 14 03:59:25 Tower emhttp: _shcmd: shcmd (41): exit status: 1 Nov 14 03:59:25 Tower emhttp: shcmd (42): chmod 700 '/mnt/user/test5' Nov 14 03:59:25 Tower emhttp: _shcmd: shcmd (42): exit status: 1 Nov 14 03:59:25 Tower emhttp: shcmd (43): rm /etc/samba/smb-shares.conf >/dev/null 2>&1 Nov 14 03:59:25 Tower emhttp: shcmd (44): cp /etc/exports- /etc/exports Nov 14 03:59:25 Tower emhttp: shcmd (45): killall -HUP smbd Nov 14 03:59:25 Tower emhttp: shcmd (46): /etc/rc.d/rc.nfsd restart | logger Nov 14 03:59:27 Tower emhttp: shareCount not found browsing to flash->config->shares shows that a test5.cfg file was created with the desired settings. There is a /mnt directory in the filesystem, but no /mnt/usr. What is going on here?
November 14, 201015 yr Have you tried it from the web interface? Make sure user shares are enabled there.
November 14, 201015 yr Author Creation was attempted fro the web interface (user shares are enabled). Only thing done from console was checking status.
November 14, 201015 yr If there is no /mnt/user, then something else is going on that is unusual. You might attach a copy of your syslog to your next post if you don't get it figured out. Instructions under "troubleshooting" in the wiki Joe L.
November 17, 201015 yr Author Problem still exists. Entire syslog is to long to post, but the last few lines show the result of trying to create share "movies". This is a test system running on some fairly old hardware. Could that be part of the problem? Nov 17 00:41:46 Tower kernel: ide-gd driver 1.18 Nov 17 00:41:46 Tower kernel: hda: max request size: 512KiB Nov 17 00:41:46 Tower kernel: hda: 1269798768 sectors (650136 MB) w/16384KiB Cache, CHS=65535/255/63 Nov 17 00:41:46 Tower kernel: hda: cache flushes supported Nov 17 00:41:46 Tower kernel: hda: hda1 Nov 17 00:41:46 Tower kernel: hdc: max request size: 512KiB Nov 17 00:41:46 Tower kernel: hdc: 488397168 sectors (250059 MB) w/8192KiB Cache, CHS=30401/255/63 Nov 17 00:41:46 Tower kernel: hdc: cache flushes supported Nov 17 00:41:46 Tower kernel: hdc: hdc1 Nov 17 00:41:46 Tower kernel: hdd: max request size: 512KiB Nov 17 00:41:46 Tower kernel: hdd: 312581808 sectors (160041 MB) w/2048KiB Cache, CHS=19457/255/63 Nov 17 00:41:46 Tower kernel: hdd: cache flushes supported Nov 17 00:41:46 Tower kernel: hdd: hdd1 Nov 17 00:41:46 Tower kernel: scsi 0:0:0:0: Direct-Access hp v165w 1100 PQ: 0 ANSI: 0 CCS Nov 17 00:41:46 Tower kernel: usb-storage: device scan complete Nov 17 00:41:46 Tower kernel: sd 0:0:0:0: [sda] 7913472 512-byte logical blocks: (4.05 GB/3.77 GiB) Nov 17 00:41:46 Tower kernel: sd 0:0:0:0: [sda] Write Protect is off Nov 17 00:41:46 Tower kernel: sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00 Nov 17 00:41:46 Tower kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through Nov 17 00:41:46 Tower kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through Nov 17 00:41:46 Tower kernel: sda: sda1 Nov 17 00:41:46 Tower kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through Nov 17 00:41:46 Tower kernel: sd 0:0:0:0: [sda] Attached SCSI removable disk Nov 17 00:41:46 Tower logger: /etc/rc.d/rc.inet1: /sbin/ifconfig lo 127.0.0.1 Nov 17 00:41:46 Tower logger: /etc/rc.d/rc.inet1: /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo Nov 17 00:41:46 Tower ifplugd(eth0)[1132]: ifplugd 0.28 initializing. Nov 17 00:41:46 Tower ifplugd(eth0)[1132]: Using interface eth0/00:0E:A6:A4:34:0D with driver <8139too> (version: 0.9.28) Nov 17 00:41:46 Tower ifplugd(eth0)[1132]: Using detection mode: SIOCETHTOOL Nov 17 00:41:46 Tower ifplugd(eth0)[1132]: Initialization complete, link beat detected. Nov 17 00:41:46 Tower kernel: eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1 Nov 17 00:41:46 Tower ifplugd(eth0)[1132]: Executing '/etc/ifplugd/ifplugd.action eth0 up'. Nov 17 00:41:46 Tower ifplugd(eth0)[1132]: client: Polling for DHCP server on interface eth0: Nov 17 00:41:47 Tower logger: /etc/rc.d/rc.inet1: /sbin/dhcpcd -d -t 30 -h Tower eth0 Nov 17 00:41:47 Tower kernel: eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1 Nov 17 00:41:47 Tower dhcpcd[1160]: broadcasting DHCP_DISCOVER Nov 17 00:41:50 Tower dhcpcd[1160]: dhcpIPaddrLeaseTime=86400 in DHCP server response. Nov 17 00:41:50 Tower dhcpcd[1160]: DHCP_OFFER received from (192.168.1.1) Nov 17 00:41:50 Tower dhcpcd[1160]: broadcasting DHCP_REQUEST for 192.168.1.137 Nov 17 00:41:50 Tower dhcpcd[1160]: dhcpIPaddrLeaseTime=86400 in DHCP server response. Nov 17 00:41:50 Tower dhcpcd[1160]: DHCP_ACK received from (192.168.1.1) Nov 17 00:41:50 Tower ifplugd(eth0)[1132]: client: dhcpcd: MAC address = 00:0e:a6:a4:34:0d Nov 17 00:41:50 Tower ifplugd(eth0)[1132]: client: dhcpcd: your IP address = 192.168.1.137 Nov 17 00:41:50 Tower ifplugd(eth0)[1132]: client: dhcpcd: MAC address = 00:0e:a6:a4:34:0d Nov 17 00:41:50 Tower ifplugd(eth0)[1132]: client: dhcpcd: your IP address = 192.168.1.137 Nov 17 00:41:50 Tower ntpd[1169]: ntpd [email protected] Wed Jan 14 23:46:25 UTC 2009 (1) Nov 17 00:41:50 Tower ntpd[1170]: precision = 1.000 usec Nov 17 00:41:50 Tower ifplugd(eth0)[1132]: client: Starting NTP daemon: /usr/sbin/ntpd -g Nov 17 00:41:50 Tower ntpd[1170]: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16 Nov 17 00:41:50 Tower ntpd[1170]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled Nov 17 00:41:50 Tower ntpd[1170]: Listening on interface #1 lo, 127.0.0.1#123 Enabled Nov 17 00:41:50 Tower ntpd[1170]: Listening on interface #2 eth0, 192.168.1.137#123 Enabled Nov 17 00:41:50 Tower ntpd[1170]: kernel time sync status 0040 Nov 17 00:41:50 Tower ntpd[1170]: frequency initialized 79.732 PPM from /etc/ntp/drift Nov 17 00:41:50 Tower ifplugd(eth0)[1132]: Program executed successfully. Nov 17 00:41:50 Tower rpc.statd[1185]: Version 1.1.4 Starting Nov 17 00:41:50 Tower emhttp: unRAID System Management Utility version 4.5.6 Nov 17 00:41:50 Tower emhttp: Copyright © 2005-2010, Lime Technology, LLC Nov 17 00:41:50 Tower emhttp: Basic key detected, GUID: Nov 17 00:41:50 Tower emhttp: shcmd (1): udevadm settle Nov 17 00:41:50 Tower emhttp: Device inventory: Nov 17 00:41:50 Tower emhttp: pci-0000:00:1f.1-ide-0:0 ide0 (hda) ST3650640A_3QD08X8M Nov 17 00:41:50 Tower emhttp: pci-0000:00:1f.1-ide-1:0 ide1 (hdc) WDC_WD2500JB-00FUA0_WD-WMAEP2654665 Nov 17 00:41:50 Tower emhttp: pci-0000:00:1f.1-ide-1:1 ide1 (hdd) ST3160021A_5JS1RBHS Nov 17 00:41:50 Tower emhttp: shcmd (2): modprobe -rw md-mod 2>&1 | logger Nov 17 00:41:50 Tower emhttp: shcmd (3): modprobe md-mod super=/boot/config/super.dat slots=3,0,22,0,22,64 2>&1 | logger Nov 17 00:41:50 Tower kernel: xor: automatically using best checksumming function: pIII_sse Nov 17 00:41:50 Tower emhttp: Spinning up all drives... Nov 17 00:41:50 Tower kernel: pIII_sse : 4558.000 MB/sec Nov 17 00:41:50 Tower kernel: xor: using function: pIII_sse (4558.000 MB/sec) Nov 17 00:41:50 Tower kernel: md: unRAID driver 0.95.4 installed Nov 17 00:41:50 Tower kernel: md: import disk0: [3,0] (hda) ST3650640A 3QD08X8M offset: 63 size: 634899352 Nov 17 00:41:50 Tower kernel: md: import disk1: [22,0] (hdc) WDC WD2500JB-00FUA0 WD-WMAEP2654665 offset: 63 size: 244198552 Nov 17 00:41:50 Tower kernel: md: import disk2: [22,64] (hdd) ST3160021A 5JS1RBHS offset: 63 size: 156290872 Nov 17 00:41:50 Tower kernel: mdcmd (2): set md_num_stripes 1280 Nov 17 00:41:50 Tower kernel: mdcmd (3): set md_write_limit 768 Nov 17 00:41:50 Tower kernel: mdcmd (4): set md_sync_window 288 Nov 17 00:41:50 Tower kernel: mdcmd (5): set spinup_group 0 0 Nov 17 00:41:50 Tower kernel: mdcmd (6): set spinup_group 1 4 Nov 17 00:41:50 Tower kernel: mdcmd (7): set spinup_group 2 2 Nov 17 00:41:50 Tower kernel: mdcmd (: spinup 0 Nov 17 00:41:50 Tower kernel: mdcmd (9): spinup 1 Nov 17 00:41:50 Tower kernel: mdcmd (10): spinup 2 Nov 17 00:41:51 Tower emhttp: shcmd (4): /usr/local/sbin/set_ncq hda 1 >/dev/null Nov 17 00:41:51 Tower emhttp: shcmd (5): /usr/local/sbin/set_ncq hdc 1 >/dev/null Nov 17 00:41:51 Tower emhttp: shcmd (6): /usr/local/sbin/set_ncq hdd 1 >/dev/null Nov 17 00:41:51 Tower kernel: mdcmd (12): start STOPPED Nov 17 00:41:51 Tower kernel: unraid: allocating 18360K for 1280 stripes (3 disks) Nov 17 00:41:51 Tower kernel: md1: running, size: 244198552 blocks Nov 17 00:41:51 Tower kernel: md2: running, size: 156290872 blocks Nov 17 00:41:51 Tower emhttp: shcmd (7): udevadm settle Nov 17 00:41:51 Tower emhttp: shcmd (: mkdir /mnt/disk1 Nov 17 00:41:51 Tower emhttp: shcmd (: mkdir /mnt/disk2 Nov 17 00:41:51 Tower emhttp: shcmd (9): set -o pipefail ; mount -t reiserfs -o noacl,nouser_xattr,noatime,nodiratime /dev/md1 /mnt/disk1 2>&1 | logger Nov 17 00:41:51 Tower emhttp: shcmd (10): set -o pipefail ; mount -t reiserfs -o noacl,nouser_xattr,noatime,nodiratime /dev/md2 /mnt/disk2 2>&1 | logger Nov 17 00:41:51 Tower kernel: mdcmd (14): check Nov 17 00:41:51 Tower kernel: md: recovery thread woken up ... Nov 17 00:41:51 Tower kernel: REISERFS (device md1): found reiserfs format "3.6" with standard journal Nov 17 00:41:51 Tower kernel: REISERFS (device md1): using ordered data mode Nov 17 00:41:51 Tower kernel: REISERFS (device md2): found reiserfs format "3.6" with standard journal Nov 17 00:41:51 Tower kernel: REISERFS (device md2): using ordered data mode Nov 17 00:41:51 Tower kernel: REISERFS (device md1): journal params: device md1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 Nov 17 00:41:51 Tower kernel: REISERFS (device md1): checking transaction log (md1) Nov 17 00:41:51 Tower kernel: REISERFS (device md2): journal params: device md2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 Nov 17 00:41:51 Tower kernel: REISERFS (device md2): checking transaction log (md2) Nov 17 00:41:51 Tower kernel: REISERFS (device md1): Using r5 hash to sort names Nov 17 00:41:51 Tower kernel: REISERFS (device md2): Using r5 hash to sort names Nov 17 00:41:52 Tower emhttp: shcmd (12): rm /etc/samba/smb-shares.conf >/dev/null 2>&1 Nov 17 00:41:52 Tower emhttp: _shcmd: shcmd (12): exit status: 1 Nov 17 00:41:52 Tower emhttp: shcmd (13): cp /etc/exports- /etc/exports Nov 17 00:41:52 Tower emhttp: shcmd (14): killall -HUP smbd Nov 17 00:41:52 Tower emhttp: shcmd (15): /etc/rc.d/rc.nfsd restart | logger Nov 17 00:41:52 Tower kernel: md: recovery thread has nothing to resync Nov 17 00:41:59 Tower ntpd[1170]: synchronized to 173.203.202.87, stratum 2 Nov 17 00:42:17 Tower in.telnetd[1317]: connect from 192.168.1.101 (192.168.1.101) Nov 17 00:42:20 Tower login[1318]: invalid password for `UNKNOWN' on `pts/0' from `John-Mac' Nov 17 00:42:22 Tower login[1318]: ROOT LOGIN on `pts/0' from `John-Mac' Nov 17 00:42:43 Tower emhttp: shareCount not found Nov 17 00:43:01 Tower emhttp: shcmd (16): mkdir '/mnt/user/movies' Nov 17 00:43:01 Tower emhttp: _shcmd: shcmd (16): exit status: 1 Nov 17 00:43:01 Tower emhttp: shcmd (17): chmod 700 '/mnt/user/movies' Nov 17 00:43:01 Tower emhttp: _shcmd: shcmd (17): exit status: 1 Nov 17 00:43:01 Tower emhttp: shcmd (18): rm /etc/samba/smb-shares.conf >/dev/null 2>&1 Nov 17 00:43:01 Tower emhttp: shcmd (19): cp /etc/exports- /etc/exports Nov 17 00:43:01 Tower emhttp: shcmd (20): killall -HUP smbd Nov 17 00:43:01 Tower emhttp: shcmd (21): /etc/rc.d/rc.nfsd restart | logger Nov 17 00:43:03 Tower emhttp: shareCount not found
December 9, 201015 yr For fun, try going to say /mnt/disk1 and creating the directory there instead. Then, start and stop the array and see if that new directory appears as a user share on the share settings page. Peter
December 9, 201015 yr I 'reset' yesterday after I wrote that. It's currently running preclears, if it has the same problem, i'll try it again. Thanks
December 9, 201015 yr Just throwing this out there, but did you run the permissions on the 5.0beta? Am I remembering correctly? I thought I read in the install file that it was necessary to run permissions before doing anything. I don't use 5.0beta so not sure if that is correct or could possibly be the reason for that.
December 10, 201015 yr Creating the directory wouldn't have done it, it is a shfs(?) file system... with it's own mount point.. The fix was to reboot after enabling user shares
December 10, 201015 yr First time user with new UnRAID build. Trying to create user shares and when I hit apply then the page refreshes but nothing shows up. Console says: mkdir: cannot create directory '/mnt/usr/test5/': no such file or directory chmod: cannot access '/mnt/usr/test5/': no such file or directory Syslog says; Nov 14 03:59:25 Tower emhttp: shcmd (41): mkdir '/mnt/user/test5' Nov 14 03:59:25 Tower emhttp: _shcmd: shcmd (41): exit status: 1 Nov 14 03:59:25 Tower emhttp: shcmd (42): chmod 700 '/mnt/user/test5' Nov 14 03:59:25 Tower emhttp: _shcmd: shcmd (42): exit status: 1 Nov 14 03:59:25 Tower emhttp: shcmd (43): rm /etc/samba/smb-shares.conf >/dev/null 2>&1 Nov 14 03:59:25 Tower emhttp: shcmd (44): cp /etc/exports- /etc/exports Nov 14 03:59:25 Tower emhttp: shcmd (45): killall -HUP smbd Nov 14 03:59:25 Tower emhttp: shcmd (46): /etc/rc.d/rc.nfsd restart | logger Nov 14 03:59:27 Tower emhttp: shareCount not found browsing to flash->config->shares shows that a test5.cfg file was created with the desired settings. There is a /mnt directory in the filesystem, but no /mnt/usr. What is going on here? I'm having the same problem on 4.5.6. I forgot to capture my system log because I though if I rebooted it would show up . I was trying to create a "Movies" share. I did see something similar to the quote below in the terminal window as I realized I needed my syslog, but it had already started the power down process.(of course instead of test5 I had Movies) mkdir: cannot create directory '/mnt/usr/test5/': no such file or directory chmod: cannot access '/mnt/usr/test5/': no such file or directory After reboot I still had nothing on the web interface and nothing in my networked places. I can also browse flash->config->shares and Movies.cfg shows up. I am not sure how to check: There is a /mnt directory in the filesystem, but no /mnt/usr... Do I type cd /mnt at the console? and if so then what? Here is also something that I picked out of the syslog on restart: Dec 10 10:10:32 Tower emhttp: shcmd (6): mkdir /mnt/disk1 Dec 10 10:10:32 Tower emhttp: shcmd (7): set -o pipefail ; mount -t reiserfs -o noacl,nouser_xattr,noatime,nodiratime /dev/md1 /mnt/disk1 2>&1 | logger Dec 10 10:10:32 Tower kernel: mdcmd (10): check Dec 10 10:10:32 Tower kernel: md: recovery thread woken up ... Dec 10 10:10:32 Tower kernel: md: recovery thread has nothing to resync Dec 10 10:10:32 Tower logger: mount: wrong fs type, bad option, bad superblock on /dev/md1, Dec 10 10:10:32 Tower logger: missing codepage or helper program, or other error Dec 10 10:10:32 Tower logger: In some cases useful info is found in syslog - try Dec 10 10:10:32 Tower logger: dmesg | tail or so Dec 10 10:10:32 Tower logger: Dec 10 10:10:32 Tower emhttp: _shcmd: shcmd (7): exit status: 32 Dec 10 10:10:32 Tower emhttp: disk1 mount error: 32 Dec 10 10:10:32 Tower emhttp: shcmd (: rmdir /mnt/disk1 Dec 10 10:10:32 Tower kernel: REISERFS warning (device md1): sh-2021 reiserfs_fill_super: can not find reiserfs on md1 Dec 10 10:10:32 Tower emhttp: shcmd (9): rm /etc/samba/smb-shares.conf >/dev/null 2>&1 Dec 10 10:10:32 Tower emhttp: _shcmd: shcmd (9): exit status: 1 Dec 10 10:10:32 Tower emhttp: shcmd (10): cp /etc/exports- /etc/exports Dec 10 10:10:32 Tower emhttp: shcmd (11): killall -HUP smbd Dec 10 10:10:32 Tower emhttp: shcmd (12): /etc/rc.d/rc.nfsd restart | logger Disk1 is the only disk I have in the array, don't know if that helps at all. Syslog_Restart_After_Failed_Share_Create-12-10-2010.txt
December 10, 201015 yr FIXED Ah, I see I had not formatted my drive. So I formatted the disk and when I go to my network places I don't see an icon for Tower, but if I type \\tower in the address bar it shows up with a folder called disk1 with nothing in it and flash which is all the files on my USB drive, but no Movie share. Why would there be a disk1 when I didn't create a disk1 share? Can I just recreate the share in the Web GUI? Or will this corrupt files since there already is a Movies.cfg in the shares folder on the flash drive? After I formatted the disk. I used the web gui to recreate the share. The Movies.cfg file for the share updated on the flash drive and is now visible on My Network Places and on the Web GUI. I would think since the file on the flash drive updated everything should be fine.
Archived
This topic is now archived and is closed to further replies.