Everything posted by DCWolfie
-
Cache drive corrupt - "could not find valid secondary superblock"
I did NOT got the time to take a backup. So no. I've stated that multiple times 😄.
-
Cache drive corrupt - "could not find valid secondary superblock"
Yeah. Correct, that was my next step, get the backup up and running 🥲. But doesn't help me now as I never got to that stage.
-
Cache drive corrupt - "could not find valid secondary superblock"
As mentioned, it only have 500MB out of ~120GB, so ye... good as empty. No I did not, only Docker. Yeah, that I know. That's not the issue as I guess you also understand. I'm guessing you don't have any suggestions for what I can do? Can't seem to find much online either.
-
Cache drive corrupt - "could not find valid secondary superblock"
Okey. Any suggestion what I might do, or am I dead in the water?
-
Cache drive corrupt - "could not find valid secondary superblock"
@trurl could force log zeroing be an option? -L flag
-
Cache drive corrupt - "could not find valid secondary superblock"
It had my complete appdata and system folder (about 120GB). Well, almost complete. I remember it was around 500MB left on Disk22 (which had the shares)
-
Cache drive corrupt - "could not find valid secondary superblock"
Same results
-
Cache drive corrupt - "could not find valid secondary superblock"
xfs_repair -v /dev/nvme0n1
-
Cache drive corrupt - "could not find valid secondary superblock"
Yeah. Correct. I want them both out. DISK 21 has seen better days and have disk speeds all over the place so that's going in the trash. Both. Doing it the GUI didn't give me the results so what I added in this post is from the cli.
-
Cache drive corrupt - "could not find valid secondary superblock"
I'd like to add that I can't seem to run SMART self tests either. However I can get my last run which I believe wasn't that long ago. I don't know much about this, but I can't see that there was anything wrong with the drive at that time. INTEL_SSDPEKKW128G7_BTPY63920H1J128A-20220717-1911.txt
-
Cache drive corrupt - "could not find valid secondary superblock"
So I recently realized I had my disks set up the wrong way (added SSD's to my array). I wanted to move everything off the cache drive back onto the array so I could reorganize everything. I switched from Cache: Preferred to Cache: Yes and invoked the mover. Then nothing happened... I then noticed i couldn't access the cache drive. I restarted the array back into maintenance and tried to fix the XFS filesystem with. This gave me "couldn't verify primary superblock - not enough secondary superblocks with matching geometry" and the results after was "Sorry, could not find valid secondary superblock". How can I try to fix this so I can get my cache data of the drive? I found this in the logs when starting up the array. Not sure if it helps: Jul 17 13:00:04 UnraidHub emhttpd: shcmd (55): mkdir -p /mnt/cache Jul 17 13:00:04 UnraidHub emhttpd: shcmd (56): mount -t xfs -o noatime,nouuid /dev/nvme0n1p1 /mnt/cache Jul 17 13:00:04 UnraidHub kernel: XFS (nvme0n1p1): Mounting V5 Filesystem Jul 17 13:00:04 UnraidHub kernel: XFS (nvme0n1p1): Starting recovery (logdev: internal) Jul 17 13:00:04 UnraidHub kernel: XFS (nvme0n1p1): Metadata CRC error detected at xfs_agfl_read_verify+0x27/0x56 [xfs], xfs_agfl block 0x3 Jul 17 13:00:04 UnraidHub kernel: XFS (nvme0n1p1): Unmount and run xfs_repair Jul 17 13:00:04 UnraidHub kernel: XFS (nvme0n1p1): First 128 bytes of corrupted metadata buffer: Jul 17 13:00:04 UnraidHub kernel: 00000000: 86 27 b9 af e8 f1 6b 8e fc ce db 83 12 58 bc 6d .'....k......X.m Jul 17 13:00:04 UnraidHub kernel: 00000010: 37 b8 9c f3 08 df 82 cd 09 02 c2 58 03 d4 d1 46 7..........X...F Jul 17 13:00:04 UnraidHub kernel: 00000020: 56 e0 07 f5 e8 84 79 da 99 b6 3e 21 51 2c 14 bd V.....y...>!Q,.. Jul 17 13:00:04 UnraidHub kernel: 00000030: 59 97 b8 37 5f c3 ea b2 41 5b 2a 00 7f fa 40 37 Y..7_...A[*...@7 Jul 17 13:00:04 UnraidHub kernel: 00000040: 82 f8 e6 30 4e 99 35 b0 03 78 ef f1 6b f8 dd 21 ...0N.5..x..k..! Jul 17 13:00:04 UnraidHub kernel: 00000050: 70 08 f2 9a 27 e9 95 a8 08 b6 a1 b8 5a 6f ba be p...'.......Zo.. Jul 17 13:00:04 UnraidHub kernel: 00000060: 4b ba 3e 97 83 e6 84 a6 ea e4 1b 04 2e ad d5 52 K.>............R Jul 17 13:00:04 UnraidHub kernel: 00000070: e5 42 f5 85 63 4d 65 f6 f0 66 bb f2 b5 46 43 31 .B..cMe..f...FC1 Jul 17 13:00:04 UnraidHub kernel: XFS (nvme0n1p1): metadata I/O error in "xfs_alloc_read_agfl+0x82/0xc0 [xfs]" at daddr 0x3 len 1 error 74 Jul 17 13:00:04 UnraidHub kernel: 00000000: f6 91 53 00 00 00 00 00 01 00 00 00 00 00 00 00 ..S............. Jul 17 13:00:04 UnraidHub kernel: XFS (nvme0n1p1): Internal error xfs_efi_item_recover at line 633 of file fs/xfs/xfs_extfree_item.c. Caller xlog_recover_process_intents+0xa6/0x268 [xfs] Attached diagnostics when the array is running. diag-mounted.zip
-
Cache shares and disk unavailable (Input/Output error)
😬 so in order to be safe against those aspects the solution is backup backup backup? Yeah, 100%. Though, what I have on there is replaceable. Just a hassle to replace.
-
Cache shares and disk unavailable (Input/Output error)
Ah, you're actually one of those who follows the rules of backup 😄. Yeah, I know. But right now, one step at the time. First I got to get this all up and running how I like then I'll look into remote/local backups. Thanks for the tip on Luckybackup thp, haven't heard about it before. Yeah, I kind of know the limitations. It's basically drive failures I'm worried about most, though those are defiantly important aspects I will need to look into in the future.
-
Cache shares and disk unavailable (Input/Output error)
Ah! Gotcha, that makes sense. Yeah, I'm going to add it. Just forgotten it 😬. Aha. I feel that makes sense. Thanks a lot. I also would like to add that I've been thinking wrong about the appdata backup issue. I failed to remember that Unraid handles at which disk holds my data. I don't need to specify diskX. I could just backup /mnt/user/appdata and I would be fine. So yeah, I'll just keep continue using cache ☺️. Again, thanks a lot, to both of you.
-
Cache shares and disk unavailable (Input/Output error)
Hm... I don't feel like I see that being the case here. As of writing I have just a small M.2 assigned to cache. It has ~5GB available space, while the array disk its caching has 500MB of data. Meaning my appdata lives on both disks (I do not have a minimum space set on the cache). So given it's either cache or array (if it has available space) shouldn't this have been moved over? Ah okey. That's good to know. I see, but how do those people handle backups like the one we're talking about? If it overflows the data would no longer only be on the cache disk and plugins like CA Appdata Backup don't allow to backup from array disks. Maybe they just don't do it? Absolutely. I got to get a bigger drive if I'm gonna use the cache. But wouldn't you just get the speed of the disk itself? Or is it some magic trickery Unraid does when it's within a cache pool?
-
Cache shares and disk unavailable (Input/Output error)
Ah, okey that's nice to know. Though I'm finding it hard to understand what's the best practice is here. I looked into CA Appdata backup which backups my persistent docker data, however it says Source cannot be /mnt/user or /mnt/disk. When using Cache: Preferred my data can both live on the cache and on an array disk. I feel like I then should use Cache: Only on these shares, though I see people telling me NOT to use that option. I'm getting a bit confused how I should have this set up. Do you have any thoughts/suggestions? As cache don't just mirror the array disk, wouldn't it be the same for me to just remove cache, add it as an array disk and force all my appdata to live on that? That way I have the speed of the SSD and the protection of the parity?
-
Cache shares and disk unavailable (Input/Output error)
Replying for historical purposes: Ran it with -n got a mile long list. Removed parameter and ran again and then I got: Phase 1 - find and verify superblock... Phase 2 - using internal log - zero log... ERROR: The filesystem has valuable metadata changes in a log which needs to be replayed. Mount the filesystem to replay the log, and unmount it before re-running xfs_repair. If you are unable to mount the filesystem, then use the -L option to destroy the log and attempt a repair. Note that destroying the log may cause corruption -- please attempt a mount of the filesystem before doing this. Started up the array, but got Unmountable: Wrong or no file system. Went back into maintenance mode, ran it with -L as suggested, then without parameters again. Started up the array normally and the Cache disk mounted again. Found one empty file (named 201368677) within lost+found, not sure if I lost anything as I wiped the logs, but it seems to work fine now. Side question: As we're talking about parity and stuff. As I now has Cache: Preferred for appdata, do I manually need to take backup of this data to a disk which is covered by the parity disk? As I see it, if the cache disk suddenly dies I have no way of recovering what it contained.
-
Cache shares and disk unavailable (Input/Output error)
Hey, new Unraid guy here. I encountered a power loss last night. When I booted up the server this morning the parity check started (ofc), however. I noticed the appdata and system shares was missing completely. I have them both set to Cache: prefer. I then checked my cache disk through terminal and it gave me "/bin/ls: cannot access 'cache': Input/output error". I found a post where someone suggested running check filesystem against the disk. However this requires me to start up the array. I'm getting a bit frantic now as I also found out that cache drives are not included in the parity. Q1: Can I pause the parity, try to fix the cache drive and eventually start the parity check later on? Nothing really ran when the power loss happened as it was at 4am. The only thing running was Docker with a couple of containers, so I'm guessing the cache drive is the only who could have done any work at the time everything got shut down. I can add that I do see all my other data. With a glance it looks okey. Q2: Could someone explain to me what's going on here? I'm a "biiiit" lost to what has happened. Added diagnostic files in case there are needed. unraidhub-diagnostics-20220714-1141.zip
-
SATA/RAID controller compatibility/purchase help
Ah nice. Do you know if there is something specific that varies between these types of cards or are they just "dumb" cards that transfer data through the PCI slot? I'm guessing if they're just very simple the compatibility shouldn't be an issue?
-
SATA/RAID controller compatibility/purchase help
Ah, so that's what it's called. Wouldn't happen to have any suggestions which I could/should buy? Hehe, yeah I know. As stated I'm not looking for any RAID functionality. I'm basically only looking to get more SATA ports, but as I said. I'm horrible at hardware so I don't know what I need. I thought you could do the same with RAID controllers, but guess I'm wrong:) Thanks for the heads up! Yeah, but I don't know what to choose. There are some many different terminologies and abbreviations that I get completely lost. I don't even know if it's compatible with my hardware. Therefor I'm asking here in a separate thread.
-
SATA/RAID controller compatibility/purchase help
Tl;dr I need to solve is the lack of SATA data ports on my motherboard. I have 6 today and want at least 10. I need it to be compatible with UNRAID, my hardware and PLEX. I'm horrible with hardware and need some expertise help in order to purchase a controller. I'll try to keep this as short as possible: I wanna step into the UNRAID world, but I need a full system to transition from Synology. I got some hardware I wanna use, but I do need a SATA/RAID controller. I'm basically blind when it comes to hardware and I've now tried for a while to narrow down what hardware I'm going to purchase, but it's all so greek to me. Therefor I hope someone here could help me take a choice. I came over THIS forum post here at unraid.net, but I'm still very unsure what is comparable with my hardware, or if it's even relevant. The hardware I have today found (PC Part Picker link) HERE. My usage is mainly PLEX and various usage with docker containers. Including those parts I'm also going to buy a Silverstone SATA splitter (CP06). So yeah, can someone with hardware knowledge recommend some controllers (not sure if it matters if it's a SATA or RAID controller). The issue I basically need to solve is the lack of SATA data ports on my motherboard. I have 6 today and want at least 10. I need it to be compatible with UNRAID, my hardware and PLEX. Thanks for any insight/answers in advance!