So i got a step further, i finally got around to moving the disk on to an onboard sata port.
and after failing a few times, trying to clear the disks completely a few times with the command you gave and fdisk when those didn’t want to work… eventually i’ve found now that 3 out of the 4 drives will listen when using their by-id name but the last one will only listen on the /dev/sdd name instead of /dev/disk/by -id/ata…
hmmmm think ill go put the disk i took out of the zpool back… then maybe zfs will stop getting in my way… it has to be zfs f’ing with me
loud explosion
[follow by deep rumbling sound of armored vehicles rolling in…]
[Me : closes the door to the bunker and nukes the surface]
did you know one can get cryptographic attacks on your machine from running wget commands without really looking at what it is…
and ofc i didn’t run zfs on my boot drives, so didn’t have a snapshot to keel it with…
i do now tho, had been thinking about getting that reinstall done for a while… much better zfs setup this time…
Slog and L2ARC on the same big SSD 500gb to the slog, abit for the slog accidentally made it 30, but was to lazy to change it, the rest free for allocating worn blocks and to allow the disk to not get over filled, which keels ssd’s
OS on seperate SSD with its own zfs partition so it can boot even if i crash the storagepool.
(now i will need to boot my PC from a BXE server in the near future, which should be interesting to try…
then i should also maybe be able to feel if there are issues with the storage server as i used it, which i figured was a smart little feature.
and essentially isn’t that what people want in the future… there is little point in storing data half assed on tons of different devices… if not for backup…
instead it can be more enduring and lower latency in a pool. and zfs takes care of all the mess.
also then i guess i essentially can run zfs on windows, if i’m on network storage xD
went great with the zfs pool tho… was a breeze to import onto the new system… just had to connect all the drives… tsk tsk… so demanding, zfs is a bit of a diva…
oh yeah so i was trying to move the drives out, and had tons of minor issues, hba cards not connecting right because of my ghetto setup… i really need to get my server case’s metal bracket for low profile pcie… kinda went from full profile to low and just took the metal bracket out…
don’t do that its annoying, can work, but highly unstable if moved and can often sort of work… which makes it even more painful to find errors.
moving a drive out of the server, putting back the pool drives didn’t seem to help, now i’m not sure if one of the drives is actually dying or if its because its on yet another controller from a different generation, i did manage to figure out how to fdisk it… but then i use the dev/disk/sdx definition
but just on that one drive… i cannot if i use other identifiers on it… even tho it is the same drive…
got my latency reduced by a factor of 10 on my writes… xD
down to a 4ms peak and an avg of about 0.5ms tho with high activity it seems it can go higher, or maybe zfs was doing something but had a brief period of 30-50ms
but getting close to the levels where getting an nvme drive wouldn’t even do anything measurable.
with a 3 year or so old consumer grade SSD using MLC tech
anyways, so i wanted to figure out which disk was acting up… which for me atleast in linux is very difficult… while in windows its just basically open megaraid a rclick it and ask it to blink…
so i wanted that feature… commandline would be fine… just the damn backplane / lsi controller blink my bay led so i can find the drive… and then i ran into the damn landmine of an wget attack.
didn’t know what it was before i tried to run the second command… and the system just locked up…
and i was like mentally becoming awake to what i actually was doing… thinking this shouldn’t take that long… so i cancelled the command looked back at the site and realized what it could be…
so jumped on my netdata… and it was reading 500mb/s on drive and using 60% cpu
just enough that the system wouldn’t die but enough that it would finish in decent time…
so i asked it to shutdown.
short search confirmed the very likely option of it being an attack, and so reinstall yay
goddamn linux tho in this case i can only fault myself, maybe month 3 on linux will be the month where i figure out how to make my bays in my backplane blink.
supposedly i should be able to use something called sas2ircu to send a locate command which the controller will act upon…apparently thats stupid question, stupid enough that it lead me pretty quickly into a bit of a bear trap… good thing i wasn’t a bear lol
[sometime later]
finally
pool: zroot
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
ata-TOSHIBA_DT01ACA300_531RH5DGS ONLINE 0 0 0
ata-TOSHIBA_DT01ACA300_Z252JW8AS ONLINE 0 0 0
ata-TOSHIBA_DT01ACA300_99QJHASCS ONLINE 0 0 0
ata-TOSHIBA_DT01ACA300_99PGNAYCS ONLINE 0 0 0
errors: No known data errors
turned out to be my freaking corroded backplane f’ing up the connection to one drive…
maybe now i can actually manage to get back to having some redundancy… was seriously considering creating a virtual drive of 2x 3tb with my “useless raid function on my hba’s” and mounting that as my 5th drive to get my redundancy back… tho for now the bad 6tb drive seems to be running flawless also… so might just leave it at that for now.