-
Posts
10,381 -
Joined
-
Last visited
-
Days Won
20
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Everything posted by dlandon
-
Sounds like the background task that gets the share sizes might have stopped working. Maybe the logging will work now.
-
That log is for all samba operations including the recycle bin. Recycle bin file deletes are not being logged, but I don't see anything wrong in your setup.
-
Not going to happen any time soon. It's not really necessary any longer with the latest versions of Unraid, and there are a lot of higher priorities than a native preclear. The new UD Preclear handles pre-clearing disks nicely and is more native to Unraid than the earlier versions of preclear.
-
6.10 RC4 NFS access errors and connection failures
dlandon commented on flinx01's report in Prereleases
You didn't answer the question about how you are mounting the NFS devices. Fstab? You need to post a diagnostic when the issue comes up, not after a reboot. -
6.10 RC4 NFS access errors and connection failures
dlandon commented on flinx01's report in Prereleases
Please post your diagnostics zip file. How are you mounting the NFS share? -
Something you are doing is creating '/mnt/rootshare/user-pool.9900kmegashare': Apr 15 09:15:46 9900K unassigned.devices: Mounting Remote Share '//9900K/mnt/user/'... Apr 15 09:15:46 9900K unassigned.devices: Mount ROOT command: /sbin/mount -o rw --bind '/mnt/user/' '/mnt/rootshare/user-pool.9900kmegashare' Apr 15 09:15:46 9900K unassigned.devices: Successfully mounted '/mnt/user/' on '/mnt/rootshare/user-pool.9900kmegashare'. Apr 15 09:15:46 9900K unassigned.devices: Adding SMB share 'user-pool.9900kmegashare'. Apr 15 09:15:46 9900K unassigned.devices: Mounting Remote Share '//NAS1/Media2'... Apr 15 09:15:46 9900K unassigned.devices: PHP Warning: mkdir(): File exists in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 1918 UD is failing when it tries to create the mount point.
-
The best way to handle this is with a User Script. Enter the following commands in a User Script set to run "At First Array Start Only". # Wait for 10 minutes sleep 600 # Auto mount all UD remote shares /usr/local/emhttp/plugins/unassigned.devices/scripts/rc.unassigned mount autoshares If the shares are already mounted, UD will not attempt to mount them again.
-
Your disk was unmounted by ntfs-3g: Apr 13 18:16:16 Medserver unassigned.devices: Adding partition 'sda1'... Apr 13 18:16:16 Medserver unassigned.devices: Mounting partition 'sda1' at mountpoint '/mnt/disks/flashbackup'... Apr 13 18:16:16 Medserver unassigned.devices: Mount drive command: /sbin/mount -t 'ntfs' -o rw,noatime,nodiratime,nodev,nosuid,nls=utf8,umask=000 '/dev/sda1' '/mnt/disks/flashbackup' Apr 13 18:16:17 Medserver ntfs-3g[24979]: Version 2017.3.23 integrated FUSE 27 Apr 13 18:16:17 Medserver ntfs-3g[24979]: Mounted /dev/sda1 (Read-Write, label "", NTFS 3.1) Apr 13 18:16:17 Medserver ntfs-3g[24979]: Cmdline options: rw,noatime,nodiratime,nodev,nosuid,nls=utf8,umask=000 Apr 13 18:16:17 Medserver ntfs-3g[24979]: Mount options: rw,nodiratime,nodev,nosuid,nls=utf8,allow_other,nonempty,noatime,default_permissions,fsname=/dev/sda1,blkdev,blksize=4096 Apr 13 18:16:17 Medserver ntfs-3g[24979]: Global ownership and permissions enforced, configuration type 1 Apr 13 18:16:17 Medserver ntfs-3g[24979]: Unmounting /dev/sda1 () Put the disk in a PC and see if there are any issues with the disk. Do a file system check. I see nothing in the log that indicates why it unmounted. You'll need to reboot before you put the disk back in the server. UD still thinks the disk is mounted.
-
You may have something referencing /mnt/user/ for it's storage, instead of /mnt/user/sharename. You still have some network issues. Your 'Auto Mounts' failed because the remote server was not on-line. Make sure Jumbo Frames are turned off on all your network devices if you aren't going to use Jumbo Frames. Jumbo Frames require some sophisticated work to get working properly.
-
You have another FCP error: Apr 13 08:29:07 Nas1 root: Fix Common Problems: Error: Reserved user share user Please take a few minutes and fix all the issues FCP is reporting. Your mounts are interleaved and not sequential: Apr 13 08:21:30 Nas1 unassigned.devices: Mounting Remote Share '//9900K/user-pool.9900kmegashare'... Apr 13 08:21:30 Nas1 unassigned.devices: Mount SMB share '//9900K/user-pool.9900kmegashare' using SMB default protocol. Apr 13 08:21:30 Nas1 unassigned.devices: Mount SMB command: /sbin/mount -t 'cifs' -o rw,noserverino,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,credentials='/tmp/unassigned.devices/credentials_user-pool.9900kmegashare' '//9900K/user-pool.9900kmegashare' '/mnt/remotes/9900K_user-pool.9900kmegashare' Apr 13 08:21:30 Nas1 kernel: CIFS: Attempting to mount \\9900K\user-pool.9900kmegashare Apr 13 08:21:33 Nas1 unassigned.devices: Mounting Remote Share '9900K:/mnt/user/Media'... Apr 13 08:21:33 Nas1 unassigned.devices: Mount NFS command: /sbin/mount -t 'nfs4' -o rw,noacl '9900K:/mnt/user/Media' '/mnt/remotes/9900K_Media' Apr 13 08:21:34 Nas1 unassigned.devices: Successfully mounted '9900K:/mnt/user/Media' on '/mnt/remotes/9900K_Media/'. Apr 13 08:21:34 Nas1 unassigned.devices: Adding SMB share '9900K_Media'. Apr 13 08:21:34 Nas1 rpc.mountd[9639]: No host name given with /mnt/user/appdata (ro,async,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,fsid=102,anonuid=65534,anongid=65534,sec=sys,ro,secure,root_squash,no_all_squash), suggest *(ro,async,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,fsid=102,anonuid=65534,anongid=65534,sec=sys,ro,secure,root_squash,no_all_squash) to avoid warning Apr 13 08:21:34 Nas1 rpc.mountd[9639]: v4.0 client attached: 0xba88df6e6256bfc4 from "192.168.50.119:964" Apr 13 08:21:35 Nas1 kernel: CIFS: VFS: cifs_mount failed w/return code = -112 Apr 13 08:21:35 Nas1 unassigned.devices: SMB default protocol mount failed: 'mount error: Server abruptly closed the connection. This can happen if the server does not support the SMB version you are trying to use. The default SMB version recently changed from SMB1 to SMB2.1 and above. Try mounting with vers=1.0. mount error(112): Host is down Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) '. Apr 13 08:21:35 Nas1 unassigned.devices: Mount SMB share '//9900K/user-pool.9900kmegashare' using SMB 3.1.1 protocol. Apr 13 08:21:35 Nas1 unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,noserverino,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=3.1.1,credentials='/tmp/unassigned.devices/credentials_user-pool.9900kmegashare' '//9900K/user-pool.9900kmegashare' '/mnt/remotes/9900K_user-pool.9900kmegashare' Apr 13 08:21:35 Nas1 kernel: CIFS: Attempting to mount \\9900K\user-pool.9900kmegashare Apr 13 08:21:35 Nas1 unassigned.devices: Successfully mounted '//9900K/user-pool.9900kmegashare' on '/mnt/remotes/9900K_user-pool.9900kmegashare/'. Apr 13 08:21:35 Nas1 unassigned.devices: Adding SMB share '9900K_user-pool.9900kmegashare'. Your 'user-pool.9900kmegashare' did not complete mounting before the '9900K_Media' began mounting. That's not how the UD Auto Mounts work. They mount in seqence. You should have 'Auto Mount' set for the devices you want mounted at array start and not do anything else to start UD devices. Are you running a script somewhere that tries to mount UD devices? Are you mounting your old rootshare in fstab?
-
You need to fix this: Apr 12 21:00:00 9900K root: Fix Common Problems Version 2022.03.29 Apr 12 21:00:00 9900K root: Fix Common Problems: Error: Same share (downloads) exists in a different case Apr 12 21:00:00 9900K root: Fix Common Problems: Error: Same share (Downloads) exists in a different case You seem to be having network issues: Apr 12 23:26:36 9900K unassigned.devices: Error: shell_exec(/bin/df '/mnt/remotes/NAS1_Media2' --output=size,used,avail | /bin/grep -v '1K-blocks' 2>/dev/null) took longer than 5s! This is UD trying to get the size, free, and used information from the remote server. Your remote server dropped off-line and you unmounted the remotes share: Apr 12 23:26:40 9900K kernel: traps: lsof[14699] general protection fault ip:1547eb08968e sp:45eaefe5b0939e40 error:0 in libc-2.33.so[1547eb070000+15e000] Apr 12 23:26:56 9900K kernel: CIFS: Server share \\NAS1\user.nas1megashare deleted. Apr 12 23:27:23 9900K rpc.mountd[12829]: v4.0 client detached: 0xac8459dd62561e47 from "192.168.50.118:1002" Apr 12 23:28:59 9900K kernel: CIFS: VFS: \\NAS1\user.nas1megashare BAD_NETWORK_NAME: \\NAS1\user.nas1megashare Apr 12 23:28:59 9900K kernel: CIFS: reconnect tcon failed rc = -2 Apr 12 23:29:01 9900K kernel: CIFS: VFS: \\NAS1\user.nas1megashare BAD_NETWORK_NAME: \\NAS1\user.nas1megashare ### [PREVIOUS LINE REPEATED 11 TIMES] ### Apr 12 23:29:19 9900K unassigned.devices: Error: shell_exec(/bin/df '/mnt/remotes/NAS1_Media2' --output=size,used,avail | /bin/grep -v '1K-blocks' 2>/dev/null) took longer than 5s! Apr 12 23:29:21 9900K kernel: CIFS: VFS: \\NAS1\user.nas1megashare BAD_NETWORK_NAME: \\NAS1\user.nas1megashare Apr 12 23:29:21 9900K unassigned.devices: Error: shell_exec(/bin/df '/mnt/remotes/NAS1_Media2' --output=size,used,avail | /bin/grep -v '1K-blocks' 2>/dev/null) took longer than 5s! Apr 12 23:29:23 9900K kernel: CIFS: VFS: \\NAS1\user.nas1megashare BAD_NETWORK_NAME: \\NAS1\user.nas1megashare Apr 12 23:29:24 9900K unassigned.devices: Error: shell_exec(/bin/df '/mnt/remotes/NAS1_Media2' --output=size,used,avail | /bin/grep -v '1K-blocks' 2>/dev/null) took longer than 5s! Apr 12 23:29:25 9900K kernel: CIFS: VFS: \\NAS1\user.nas1megashare BAD_NETWORK_NAME: \\NAS1\user.nas1megashare ### [PREVIOUS LINE REPEATED 1 TIMES] ### Apr 12 23:29:28 9900K unassigned.devices: Removing Remote SMB/NFS share '//9900K/mnt/user0/'... Apr 12 23:29:28 9900K unassigned.devices: Unmounting Remote SMB/NFS Share '//9900K/mnt/user0/'... Apr 12 23:29:28 9900K unassigned.devices: Synching file system on '/mnt/rootshare/user.9900kmegashare'. Apr 12 23:29:28 9900K unassigned.devices: Unmount cmd: /sbin/umount '/mnt/rootshare/user.9900kmegashare' 2>&1 Apr 12 23:29:28 9900K unassigned.devices: Successfully unmounted 'user.9900kmegashare' Apr 12 23:29:28 9900K unassigned.devices: Removing SMB share 'user.9900kmegashare' Apr 12 23:29:29 9900K unassigned.devices: Removing Remote SMB/NFS share '//NAS1/user.nas1megashare'... Apr 12 23:29:29 9900K unassigned.devices: Unmounting Remote SMB/NFS Share '//NAS1/user.nas1megashare'... Apr 12 23:29:29 9900K unassigned.devices: Synching file system on '/mnt/remotes/NAS1_user.nas1megashare'. Apr 12 23:29:29 9900K unassigned.devices: Unmount cmd: /sbin/umount -t cifs '//NAS1/user.nas1megashare' 2>&1 Apr 12 23:29:29 9900K unassigned.devices: Successfully unmounted 'user.nas1megashare' Apr 12 23:29:29 9900K unassigned.devices: Removing SMB share 'NAS1_user.nas1megashare' Apr 12 23:29:32 9900K unassigned.devices: Removing Remote SMB/NFS share 'NAS1:/mnt/user/Media2'... Apr 12 23:29:32 9900K unassigned.devices: Unmounting Remote SMB/NFS Share 'NAS1:/mnt/user/Media2'... Apr 12 23:29:32 9900K unassigned.devices: Synching file system on '/mnt/remotes/NAS1_Media2'. Apr 12 23:30:02 9900K kernel: nfs: server NAS1 not responding, timed out Apr 12 23:30:02 9900K kernel: nfs: server NAS1 not responding, still trying ### [PREVIOUS LINE REPEATED 1 TIMES] ### Apr 12 23:30:08 9900K kernel: nfs: server NAS1 OK Apr 12 23:30:08 9900K kernel: NFS: state manager: check lease failed on NFSv4 server NAS1 with error 13 Apr 12 23:30:08 9900K kernel: nfs: server NAS1 OK Are you using Jumbo Frames anywhere on your network?
-
I see the issue. You are using the smb-extra.conf edit to create a rootshare: #unassigned_devices_start #Unassigned devices share includes include = /tmp/unassigned.devices/smb-settings.conf #unassigned_devices_end [rootshare] path = /mnt/user comment = browseable = yes valid users = sittingmongoose write list = sittingmongoose vfs objects = Do the following: Remove the rootshare entry in your smb-extra.conf file. Create the rootshare using UD with a unique name - not 'rootshare'. Reboot to clear up a lot of strange stuff I see. This will remount your NFS share with NFSv4 that will clear up your NFS issues. Your nfs mount was mounted before the 2022.04.11c update. I can't help you with the 'custom' aproach you're using for a rootshare.
-
Your log is being spammed with myunraid.net messages. It's very hard to see anything relevant. @ljm42 can you take a look at this. I still see NFSv3 being mounted: Apr 11 17:01:43 9900K unassigned.devices: Mount NFS command: /sbin/mount -t 'nfs' -o rw,noacl 'NAS1:/mnt/user/Media2' '/mnt/remotes/NAS1_Media2' The behaviour you are experiencing is what happens with NFSv3. For NFSv4, the 'nfs' will be 'nfs4' in the mount command.