spidie2000 Posted October 17, 2018 Share Posted October 17, 2018 Hey all, I am fairly new to unraid so forgive me. I have a 4 drive array and 4 cache drives. I had plex and all my dockers installed on one of the cache drives. My trial recently expired and I activated a new pro license. Upon reboot I found I was having permissions issues in windows. I could access my files, but plex could not seem to play any of my media, also utorrent kept getting write errors and would not write to my array. I found the New Permissions tool and ran it on all my disks as well as all my user shares. It looks like this was a mistake, after this was done all my dockers went missing and one of my 4 cache drives (the one the dockers were installed on) now shows unmountable. I can no longer access my files in windows as the shares are gone. I'm not sure what my best course of action is. Do I need to reformat that cache drive, re-create all my shares, and reinstall all my dockers? Are the files on my array still safe? Link to comment
trurl Posted October 17, 2018 Share Posted October 17, 2018 33 minutes ago, spidie2000 said: one of my 4 cache drives (the one the dockers were installed on) This part doesn't make any sense because there is no way to access drives in the cache pool separately. Go to Tools - Diagnostics and post the complete zip. Link to comment
spidie2000 Posted October 17, 2018 Author Share Posted October 17, 2018 Ok, I may be mistaken, my friend help me set up this server. I thought that plex was installed on the cache drive. I just noticed that on my shares tab all of my shares are missing. Here is the diagnostic file tower-diagnostics-20181017-1450.zip Link to comment
spidie2000 Posted October 17, 2018 Author Share Posted October 17, 2018 54 minutes ago, trurl said: This part doesn't make any sense because there is no way to access drives in the cache pool separately. Go to Tools - Diagnostics and post the complete zip. I think he did not have that 1st drive as part of the cache pool, I believe he was just using it as a 100G SSD to run plex. Does this make more sense? Link to comment
JorgeB Posted October 17, 2018 Share Posted October 17, 2018 The 4 devices are part of the cache pool, but the filesystem is corrupt, see here to try and recover your data before re-formatting the pool: https://forums.unraid.net/topic/46802-faq-for-unraid-v6/?do=findComment&comment=543490 Link to comment
JorgeB Posted October 17, 2018 Share Posted October 17, 2018 2 hours ago, spidie2000 said: Are the files on my array still safe? Just to be clear, the array data and shares are safe, if there's no important data on the cache pool you can just format. Link to comment
spidie2000 Posted October 17, 2018 Author Share Posted October 17, 2018 so I went to my shares and hit add new share. re-created my plex media share. But it still shows I have no SMB shares Link to comment
JonathanM Posted October 18, 2018 Share Posted October 18, 2018 58 minutes ago, spidie2000 said: so I went to my shares and hit add new share. re-created my plex media share. But it still shows I have no SMB shares User shares are a combination of folders on the array drives and the cache pool. Until you resolve the corruption issue with the cache pool, you can't see your shares. Link to comment
spidie2000 Posted October 18, 2018 Author Share Posted October 18, 2018 7 hours ago, johnnie.black said: The 4 devices are part of the cache pool, but the filesystem is corrupt, see here to try and recover your data before re-formatting the pool: https://forums.unraid.net/topic/46802-faq-for-unraid-v6/?do=findComment&comment=543490 Linux 4.14.49-unRAID. root@Tower:~# mkdir /x root@Tower:~# mount -o recovery,ro /dev/sgd1 /x mount: /x: special device /dev/sgd1 does not exist. root@Tower:~# mount -o recovery,ro /dev/sdg1 /x mount: /x: can't read superblock on /dev/sdg1. root@Tower:~# mount -o degraded,recovery,ro /dev/sdg1 /x mount: /x: can't read superblock on /dev/sdg1. I am trying option #1, getting errors. sdg1 is the unmountable drive. Not sure if I am doing this correct. Let me know if I am doing something wrong or if I should move on to option #2 Link to comment
JorgeB Posted October 18, 2018 Share Posted October 18, 2018 Doesn't look good, reboot and then post the output of: btrfs rescue super-recover -v /dev/sdg1 Link to comment
spidie2000 Posted October 19, 2018 Author Share Posted October 19, 2018 16 hours ago, johnnie.black said: Doesn't look good, reboot and then post the output of: btrfs rescue super-recover -v /dev/sdg1 Sorry i've had a busy day. Here is what I got. I will say when i first reboot everything looks good for a few minutes and my shares show up, but they disappear after 5 minutes or so. This output was run while my share still show present. When the shares disappear again I'll run this again and see if the output changes. Linux 4.14.49-unRAID. root@Tower:~# btrfs rescue super-recover -v /dev/sdg1 All Devices: Device: id = 4, name = /dev/sdj1 Device: id = 2, name = /dev/sdh1 Device: id = 3, name = /dev/sdi1 Device: id = 1, name = /dev/sdg1 Before Recovering: [All good supers]: device name = /dev/sdj1 superblock bytenr = 65536 device name = /dev/sdj1 superblock bytenr = 67108864 device name = /dev/sdh1 superblock bytenr = 65536 device name = /dev/sdh1 superblock bytenr = 67108864 device name = /dev/sdi1 superblock bytenr = 65536 device name = /dev/sdi1 superblock bytenr = 67108864 device name = /dev/sdg1 superblock bytenr = 65536 device name = /dev/sdg1 superblock bytenr = 67108864 [All bad supers]: All supers are valid, no need to recover Link to comment
spidie2000 Posted October 19, 2018 Author Share Posted October 19, 2018 Ok somewhere between 30 minutes and 1 hour of uptime the shares disappeared. I ran the command again and now i get an error on the output. Linux 4.14.49-unRAID. Last login: Thu Oct 18 18:04:57 -0600 2018 on /dev/pts/0. root@Tower:~# btrfs rescue super-recover -v /dev/sdg1 ERROR: mount check: cannot open /dev/sdg1: No such file or directory ERROR: could not check mount status: No such file or directory Link to comment
JorgeB Posted October 19, 2018 Share Posted October 19, 2018 7 hours ago, spidie2000 said: cannot open /dev/sdg1: No such file or directory That would imply cache device dropped offline, diags would show. Link to comment
spidie2000 Posted October 24, 2018 Author Share Posted October 24, 2018 On 10/19/2018 at 3:29 AM, johnnie.black said: That would imply cache device dropped offline, diags would show. here is the zip, i'm not sure where to go from here. is reformatting going to be my only option? Link to comment
trurl Posted October 24, 2018 Share Posted October 24, 2018 32 minutes ago, spidie2000 said: here is the zip, looks like you forgot something Link to comment
spidie2000 Posted October 24, 2018 Author Share Posted October 24, 2018 tower-diagnostics-20181022-0720.zip Sorry i coulda swore I attached it. Link to comment
JorgeB Posted October 24, 2018 Share Posted October 24, 2018 Diags are after rebooting so not much help there, all cache devices are back online now, but if the btrfs recovery options in the FAQ don't work either format the pool or you can ask for help in the btrfs mailing list. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.