January 1, 201016 yr Hello, I've updated my unRAID 4.5 Beta Slackware installation to the latest unRaid 4.5 using Slackware 13.0 and have several problems with my array. - When I try to halt the array the process hangs while unmounting my drives. In /var/log/messages there is a loop of Dec 28 08:58:55 erebos emhttp: shcmd (355): umount /mnt/user >/dev/null 2>&1 Dec 28 08:58:55 erebos emhttp: shcmd (356): rmdir /mnt/user >/dev/null 2>&1 Dec 28 08:58:55 erebos emhttp: Retry unmounting user share(s)... The array does not halt correctly so a resync will run after the next reboot. - User Shares does not work. I have created a User Share, in /mnt/user the directory is present but there is nothing in it. At boottime there is a output "Fuse filesystem already available. Mounting fuse control filesytem." To get fuse fileystem to run i'v copied libfuse from the unRAID USB System. lsmod output: root@erebos:/# lsmod Module Size Used by md_mod 43980 16 xor 13884 1 md_mod forcedeth 49264 0 root@erebos:/# In /boot/config/shares there are several other config files for User Shares from my old config which are not recognized. What can I try to make my unRaid run correct again? Thank you for your help! Bruno *edit* I also have a lot of Exit Status 1 of shcmd in my syslog file syslog:Jan 1 14:19:35 erebos emhttp: _shcmd: shcmd (77): exit status: 1 syslog:Jan 1 14:19:35 erebos emhttp: _shcmd: shcmd (77): exit status: 1
January 1, 201016 yr That's quite odd, as my Slackware-Current (13.0 with all updates) with unRaid 4.5 Final is working fine, including user shares. However, I have tuned which services run, and updated SAMBA too. Perhaps one of the default services is keeping your disks busy so the array can not stop properly? What does "lsof" on your array disks show? Here's my large collection of modules: root@Reaver:/cache/.downloads/extracted# lsmod Module Size Used by tcp_diag 1228 0 md_mod 48672 2 xor 15384 1 md_mod inet_diag 8724 2 tcp_diag snd_seq_dummy 2512 0 snd_seq_oss 28224 0 snd_seq_midi_event 6124 1 snd_seq_oss snd_seq 48880 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_seq_device 6232 3 snd_seq_dummy,snd_seq_oss,snd_seq snd_pcm_oss 38624 0 snd_mixer_oss 15884 1 snd_pcm_oss ipv6 242868 28 pcmcia 32732 0 pcmcia_core 33056 1 pcmcia nls_iso8859_1 3660 1 nls_cp437 5324 1 joydev 9984 0 usbhid 37280 1 hid 40832 1 usbhid coretemp 5836 0 cpufreq_ondemand 6776 0 speedstep_lib 3532 0 freq_table 3436 1 cpufreq_ondemand usblp 12108 0 fuse 57672 5 usb_storage 49952 1 snd_hda_codec_intelhdmi 12172 1 snd_hda_codec_realtek 199120 1 evdev 9536 0 fan 4016 0 snd_hda_intel 25064 0 rtc_cmos 10416 0 snd_hda_codec 58316 3 snd_hda_codec_intelhdmi,snd_hda_codec_realtek,snd_hda_intel rtc_core 16104 1 rtc_cmos rtc_lib 2348 1 rtc_core video 18596 0 output 2540 1 video uhci_hcd 22268 0 snd_hwdep 7024 1 snd_hda_codec snd_pcm 69808 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec ehci_hcd 36508 0 thermal 12648 0 processor 33820 0 snd_timer 19636 2 snd_seq,snd_pcm thermal_sys 14772 4 fan,video,thermal,processor snd 51332 12 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_intelhdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer hwmon 2344 2 coretemp,thermal_sys i2c_i801 9116 0 button 5116 0 psmouse 42268 0 i2c_core 19808 1 i2c_i801 r8169 32208 0 soundcore 6080 1 snd intel_agp 27396 1 mii 4428 1 r8169 snd_page_alloc 8180 2 snd_hda_intel,snd_pcm agpgart 30092 1 intel_agp root@Reaver:/cache/.downloads/extracted# vmstat && free && uptime && uname -a procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 1 0 0 3596024 32836 12536 0 0 1 2 6 3 40 0 60 0 total used free shared buffers cached Mem: 4010212 414188 3596024 0 32844 12528 -/+ buffers/cache: 368816 3641396 Swap: 10000452 0 10000452 16:56:42 up 21 days, 21:14, 1 user, load average: 1.06, 1.03, 1.00 Linux Reaver 2.6.31.6-unraid #2 SMP Tue Dec 1 19:55:34 EST 2009 i686 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux root@Reaver:/cache/.downloads/extracted# ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 2009 ? 00:00:00 init [3] root 2 0 0 2009 ? 00:00:00 [kthreadd] root 3 2 0 2009 ? 00:00:00 [migration/0] root 4 2 0 2009 ? 00:00:00 [ksoftirqd/0] root 5 2 0 2009 ? 00:00:00 [migration/1] root 6 2 0 2009 ? 00:00:00 [ksoftirqd/1] root 7 2 0 2009 ? 00:00:00 [events/0] root 8 2 0 2009 ? 00:00:00 [events/1] root 9 2 0 2009 ? 00:00:00 [khelper] root 14 2 0 2009 ? 00:00:00 [async/mgr] root 96 2 0 2009 ? 00:00:00 [kblockd/0] root 97 2 0 2009 ? 00:00:00 [kblockd/1] root 99 2 0 2009 ? 00:00:00 [kacpid] root 100 2 0 2009 ? 00:00:00 [kacpi_notify] root 101 2 0 2009 ? 00:00:00 [kacpi_hotplug] root 174 2 0 2009 ? 00:00:00 [ata/0] root 175 2 0 2009 ? 00:00:00 [ata/1] root 176 2 0 2009 ? 00:00:00 [ata_aux] root 177 2 0 2009 ? 00:00:00 [ksuspend_usbd] root 182 2 0 2009 ? 00:00:00 [khubd] root 185 2 0 2009 ? 00:00:00 [kseriod] root 239 2 0 2009 ? 00:00:27 [kswapd0] root 284 2 0 2009 ? 00:00:00 [aio/0] root 285 2 0 2009 ? 00:00:00 [aio/1] root 299 2 0 2009 ? 00:00:00 [crypto/0] root 300 2 0 2009 ? 00:00:00 [crypto/1] root 554 2 0 2009 ? 00:00:00 [pdflush] root 1020 2 0 2009 ? 00:00:00 [scsi_eh_0] root 1023 2 0 2009 ? 00:00:00 [scsi_eh_1] root 1026 2 0 2009 ? 00:00:00 [scsi_eh_2] root 1029 2 0 2009 ? 00:00:00 [scsi_eh_3] root 1032 2 0 2009 ? 00:00:00 [scsi_eh_4] root 1035 2 0 2009 ? 00:00:00 [scsi_eh_5] root 1104 2 0 2009 ? 00:00:02 [kjournald] root 1136 1 0 2009 ? 00:00:00 /sbin/udevd --daemon root 1716 2 0 2009 ? 00:00:00 [kpsmoused] root 2286 2 0 2009 ? 00:00:00 [hd-audio0] root 2367 2 0 2009 ? 00:00:00 [scsi_eh_6] root 2368 2 0 2009 ? 00:00:00 [usb-storage] root 2391 2 0 2009 ? 00:00:00 [scsi_eh_7] root 2392 2 0 2009 ? 00:00:00 [usb-storage] root 2476 2 0 2009 ? 00:00:00 [kondemand/0] root 2477 2 0 2009 ? 00:00:00 [kondemand/1] root 2501 2 0 2009 ? 00:00:00 [usbhid_resumer] root 2556 2 0 2009 ? 00:00:00 [reiserfs/0] root 2557 2 0 2009 ? 00:00:00 [reiserfs/1] root 2582 1 0 2009 ? 00:02:23 /sbin/mount.ntfs-3g /dev/sda2 /win7 -v -o rw,um root 2668 1 0 2009 ? 00:00:01 /usr/sbin/syslogd root 2672 1 0 2009 ? 00:00:00 /usr/sbin/klogd -c 3 -x root 2717 1 0 2009 ? 00:00:00 /sbin/dhcpcd -t 10 eth0 root 2789 1 0 2009 ? 00:00:00 /usr/sbin/inetd root 2800 1 0 2009 ? 00:00:00 /usr/sbin/sshd root 2808 1 0 2009 ? 00:00:00 /usr/sbin/ntpd -g -p /var/run/ntpd.pid root 2813 1 0 2009 ? 00:00:00 /usr/sbin/acpid messagebus 2824 1 0 2009 ? 00:00:00 /usr/bin/dbus-daemon --system root 2850 1 0 2009 ? 00:00:05 /usr/sbin/cupsd -C /etc/cups/cupsd.conf root 2855 1 0 2009 ? 00:00:01 /usr/sbin/crond -l10 daemon 2857 1 0 2009 ? 00:00:00 /usr/sbin/atd -b 15 -l 1 root 2956 1 0 2009 ? 00:00:00 /usr/sbin/gpm -m /dev/mouse -t imps2 nobody 2959 1 0 2009 ? 00:00:00 /usr/local/sbin/oidentd --group=nobody --user=n root 2967 1 0 2009 ? 00:01:31 /usr/local/sbin/emhttp -p root 3005 2 0 2009 ? 00:00:00 [mdrecoveryd] root 3007 2 0 2009 ? 00:00:00 [spinupd] root 3008 2 0 2009 ? 00:00:00 [spinupd] root 3009 2 0 2009 ? 00:00:00 [spinupd] download 3107 1 0 2009 ? 01:05:41 /usr/bin/python2.6 -OO /usr/lib/python2.6/site- download 3113 1 0 2009 ? 00:33:05 /usr/local/bin/transmission-daemon -f root 3124 1 0 2009 ? 00:00:40 /sbin/apcupsd root 3126 1 0 2009 tty1 00:00:00 /sbin/agetty 38400 tty1 linux root 3127 1 0 2009 tty2 00:00:00 /sbin/agetty 38400 tty2 linux root 3128 1 0 2009 tty3 00:00:00 /sbin/agetty 38400 tty3 linux root 3129 1 0 2009 tty4 00:00:00 /sbin/agetty 38400 tty4 linux root 3130 1 0 2009 tty5 00:00:00 /sbin/agetty 38400 tty5 linux root 3131 1 0 2009 tty6 00:00:00 /sbin/agetty 38400 tty6 linux root 4127 2 0 2009 ? 00:02:30 [unraidd] root 4153 1 0 2009 ? 00:28:17 /usr/local/sbin/shfs /mnt/user -o noatime,big_w root 6166 1 0 2009 ? 00:00:07 ./fah6 -verbosity 9 root 7763 1 0 2009 ? 00:00:00 /usr/sbin/nmbd -D root 7766 1 0 2009 ? 00:00:00 /usr/sbin/smbd -D root 7772 7766 0 2009 ? 00:00:00 /usr/sbin/smbd -D root 23146 6166 0 15:50 ? 00:00:00 ./FahCore_78.exe -dir work/ -suffix 03 -checkpo root 23147 23146 0 15:50 ? 00:00:00 ./FahCore_78.exe -dir work/ -suffix 03 -checkpo root 23148 23147 97 15:50 ? 01:04:40 ./FahCore_78.exe -dir work/ -suffix 03 -checkpo root 23149 23147 0 15:50 ? 00:00:00 ./FahCore_78.exe -dir work/ -suffix 03 -checkpo root 24030 7766 5 2009 ? 01:02:06 /usr/sbin/smbd -D root 24887 2800 0 2009 ? 00:00:02 sshd: root@pts/0 root 24889 24887 0 2009 pts/0 00:00:00 -bash root 26921 1 0 2009 ? 00:00:25 /bin/bash /sbin/cache_dirs -w -m 10 -M 30 -d 99 root 29660 2 0 2009 ? 00:00:00 [pdflush] root 29700 26921 0 16:57 ? 00:00:00 sleep 15 root 29701 24889 0 16:57 pts/0 00:00:00 ps -ef download 31866 1 0 2009 ? 00:00:15 /home/download/eggdrop/eggdrop /home/download/e
January 6, 201016 yr Author I've reinstalled the whole system, resynced my array, start, stop worked fine. Then I've added a User-Share and now when I try to stop the array I get Jan 6 18:09:49 erebos emhttp: shcmd (642): umount /mnt/user >/dev/null 2>&1 Jan 6 18:09:49 erebos emhttp: shcmd (643): rmdir /mnt/user >/dev/null 2>&1 Jan 6 18:09:49 erebos emhttp: Retry unmounting user share(s)... in my messages logfile. What do I need to get User-Shares work correct?
January 6, 201016 yr I've reinstalled the whole system, resynced my array, start, stop worked fine. Then I've added a User-Share and now when I try to stop the array I get Jan 6 18:09:49 erebos emhttp: shcmd (642): umount /mnt/user >/dev/null 2>&1 Jan 6 18:09:49 erebos emhttp: shcmd (643): rmdir /mnt/user >/dev/null 2>&1 Jan 6 18:09:49 erebos emhttp: Retry unmounting user share(s)... in my messages logfile. What do I need to get User-Shares work correct? apparently, it is unable to un-mount the user share file system, probably because a file on it is in use, or a directory on it is the "current" directory of a process you started while "cd'd to it. In fact, if you are logged in and "cd'd to it, it is your login shell that has the disk as its current directory, so it cannot be un-mounted. Once the user-share file system is un-mounted, unRAID then removes the directory for the mount-point at /mnt/user. Since the un-mount is probably failing, the remove of the directory will also fail, and the array cannot be stopped. Fix the reason the un-mount is failing, and odds are you'll find that stopping the array works. Try lsof /mnt/user and you'll probably see the process and/or files keeping it busy. It might even be the "shfs" process keeping the mount point busy.
January 6, 201016 yr Author /mnt/user is not in use, Samba and NFS is stoped, working directory is / The User Share is not working correct. The directory is always empty and not mapped to the md's I think when I'm able to run the User Shares correct I'll have solved my problem. I've installed my systems using this manual http://lime-technology.com/wiki/index.php?title=Installing_unRAID_on_a_full_Slackware_distro According to the manual I've replaced /etc/rc.d/rc.fuse and /bin/fusermount. rc.fuse is equal to the version shipped with slackware 13.0, fusermount is different (v2.7.4 and v2.8.1). I've copied libfuse.so.2.8.1 and the links into my /lib directory, ldd shfs is ok. Do I need any other lib files?
March 13, 201016 yr Did you solve this problem? Im on a full slackware 13 install, and what its doing it putting my /mnt/user on the / directory instead of disk1! So if you copy anything to a share in user, its installing it on my slackware boot drive rather than the unraid disk. If it copy to disk1 then everyting is fine but the user shares dont see the unraid at all. Anyone have any idea on this? Same thing fuse says its running etc.
Archived
This topic is now archived and is closed to further replies.