USB disconnects


Trynn

Recommended Posts

Hey guys,

since i upgrade to V6.2 i got some strange behaviour. Like:

  • All shares available, without login. Even not public shares for internals (vmdisks, appdata) is on windows share.
  • Web GUI - "Dashboard" is just a blank page
  • Not possible to change confis

 

Now i found the reason:

Unraid is disconnecting my USB device, and reconnecting on another device name. After that, it seems Unraid can't find its config

 

When this happens, this disables all security with SMB shares and publish ALL shares to public!

 

Sep 25 11:39:48 UNRAID emhttp: Spinning down all drives...
Sep 25 11:39:48 UNRAID kernel: mdcmd (50): spindown 0
Sep 25 11:39:49 UNRAID kernel: mdcmd (51): spindown 1
Sep 25 11:39:49 UNRAID kernel: mdcmd (52): spindown 2
Sep 25 11:39:50 UNRAID kernel: mdcmd (53): spindown 3
Sep 25 11:39:50 UNRAID emhttp: shcmd (1971): /usr/sbin/hdparm -y /dev/sdg &> /dev/null
Sep 25 11:39:50 UNRAID kernel: mdcmd (54): spindown 4
Sep 25 11:40:05 UNRAID emhttp: cmd: /usr/local/emhttp/plugins/dynamix/scripts/tail_log syslog
Sep 25 11:53:35 UNRAID kernel: usb 2-6: USB disconnect, device number 2
Sep 25 11:53:36 UNRAID kernel: FAT-fs (sda1): Directory bread(block 65536) failed
Sep 25 11:53:36 UNRAID kernel: FAT-fs (sda1): Directory bread(block 65537) failed
Sep 25 11:53:36 UNRAID kernel: FAT-fs (sda1): Directory bread(block 65538) failed
Sep 25 11:53:36 UNRAID kernel: FAT-fs (sda1): Directory bread(block 65539) failed
Sep 25 11:53:36 UNRAID kernel: FAT-fs (sda1): Directory bread(block 65540) failed
Sep 25 11:53:36 UNRAID kernel: FAT-fs (sda1): Directory bread(block 65541) failed
Sep 25 11:53:36 UNRAID kernel: FAT-fs (sda1): Directory bread(block 65542) failed
Sep 25 11:53:36 UNRAID kernel: FAT-fs (sda1): Directory bread(block 65543) failed
Sep 25 11:53:36 UNRAID kernel: usb 2-6: new SuperSpeed USB device number 3 using xhci_hcd
Sep 25 11:53:36 UNRAID kernel: usb-storage 2-6:1.0: USB Mass Storage device detected
Sep 25 11:53:36 UNRAID kernel: scsi host7: usb-storage 2-6:1.0
Sep 25 11:53:37 UNRAID kernel: scsi 7:0:0:0: Direct-Access     SanDisk  Ultra Fit        1.00 PQ: 0 ANSI: 6
Sep 25 11:53:37 UNRAID kernel: sd 7:0:0:0: Attached scsi generic sg0 type 0
Sep 25 11:53:37 UNRAID kernel: sd 7:0:0:0: [sdh] 30031250 512-byte logical blocks: (15.4 GB/14.3 GiB)
Sep 25 11:53:37 UNRAID kernel: sd 7:0:0:0: [sdh] Write Protect is off
Sep 25 11:53:37 UNRAID kernel: sd 7:0:0:0: [sdh] Mode Sense: 43 00 00 00
Sep 25 11:53:37 UNRAID kernel: sd 7:0:0:0: [sdh] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Sep 25 11:53:37 UNRAID kernel: sdh: sdh1
Sep 25 11:53:37 UNRAID kernel: sd 7:0:0:0: [sdh] Attached SCSI removable disk
Sep 25 11:54:01 UNRAID root:
Sep 25 11:54:01 UNRAID root: Warning: file_put_contents(/boot/config/docker.cfg): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/dockerconfig.php on line 35
Sep 25 11:54:01 UNRAID kernel: FAT-fs (sda1): Directory bread(block 65536) failed

 

 

I would need to find a solution that stops this from happening.

Additionally, this should be reported to Lime-Tech in any way. For business this is crucial if restricted shares are public available just for no reason.

 

Hope someone can help, and have any idea.

Link to comment

I'm on USB2 now. Let's see what will happen today :)

 

Another effect i notized last night.

Even tho i set my AppData Share to CACHE ONLY, and manually moved all AppData Files to Cache Disk (two times already), the System (PlexMS - only App) still recreating the AppData folder on Disk1 and writing to it. Wtf?

 

I could imaging this also can happen when unraid lose it's config, so it stops knowing the cache-only config?

Link to comment

I would suggest you look through you syslog and see if you see any indication that your Flash Drive is not working correctly.  OR you can post up your diagnostics file.

 

Plus, if you have Dockers installed, you might have to reset them back up.  I don't run Dockers but if you reread the first couple of threads for the Version 6.2 Release thread.  If you have questions after that, post back and someone should get back to you.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.