-
-
Clarification: Bitrot correction with BTRFS/ZFS for disks with different sizes
Hey there, I've been using Unraid since years (updated to 7.0 today), new disks were added and right now I've got 2 parity disks (16TB, future proof) as well as 11 array disks with 4/6/8 TB totaling 70 TB. The Unraid server is not 24/7, I just start it a few times a week for some hours. All disks are encrypted (call me paranoid if you like...) The really important files are synced to a second Unraid server which is off until a sync is triggered manually, so no need to discuss the topic of backups, I am aware of that. I want to address the risk of bitrot (which Unraids parity disks do not help with): BTRFS and ZFS are the options. What I found out so far when it comes to bitrot... please correct me if I am wrong: ZFS requires 2-n disks of same size, n has to be specified from the beginning and cannot be changed later, ECC and lots of memory must be used (I'd call this "enterprise" league) BTRFS requires 2-n disks of different size, disks can be added later (I'd call this "prosumer" league), memory friendly ZFS: I could set up multiple pools, adding disks of same size to each pool and use RAIDz1. I'd be loosing one disk for data in each pool (and I would need more memory or set up cache disks). BTRFS: I used the "btrfs disk usage calculator" (details in the link) - RAID5, resulting in 62 TB being available and 8 TB used for parity. So one disk could die and I'd still be able to recover the whole data, and bitrot on any file on any disk is correctable. All these disks would be added to one "pool" so that the OS sees them as a "bunch of disks". But of what use are the dual parity disks in Unraid if I'd go to RAID6 then, apart from the disk being emulated as being present, which is no biggie as I can wait for replacements? I guess for my scenario, it would make sense to convert one disk after another to a BTRFS "pool" I assume (move files to external disk, add to pool, format BTRFS, copy files back, repeat)? Thanks for your thoughts!
-
[SOLVED] Trigger "clean shutdown" via SSH
Ah, cool! For my analysis so I understand it: I can find "powerdown" in /usr/local/sbin/powerdown. File content: #!/bin/bash logger "/usr/local/sbin/powerdown has been deprecated" if [[ "$1" == "-r" ]]; then /sbin/reboot else /sbin/init 0 fi So basically "/sbin/init 0" is triggered, which in turns (by Linux itself) triggers "/etc/rc.d/rc.0" which then does all the magic right? Perfect!
-
[SOLVED] Trigger "clean shutdown" via SSH
Background: My Unraid server runs only when needed and I wake it up via WOL. A UPS powers Unraid server and several other hardware One hardware watches the UPS state and once power failure occurs it initiates SSH connections to other systems and requests them to shutdown Requirement: The Unraid server shall also be told to shutdown - but in a "clean" fashion as if was using the UI. Otherwise, the server will loose power and I'll have an "unclean shutdown" which is not cool and totally unneeded... Problem: No idea how to do that? It's clear that the "Shutdown" button on UI will "initiate" some code - which obviously triggers something in Unraid linux code. I could now spend time on figuring out how to log into my Unraid server using WGET etc., then simulate I am on the UI and pressing the "Shutdown" button to trigger that. But that's pretty stupid to do as the functionallity is available "somehow".
-
-
[6.9.2] SMART controller type: allow more than one disk
I have two 2 TB disks running in RAID 0 on my Adaptec Controller. I can get the SMART data using: smartctl -a -d aacraid,0,0,12 /dev/sdi smartctl -a -d aacraid,0,0,13 /dev/sdi It would be nice being able to enter both in the "Disk Settings / SMART controller type", and also having a SMART check done on both disks
-
[6.9.2] SMART controller type: Adaptec "disk index" range of 0...7 too short
I have a ACR-71605 16-port raid controller. In "Disk Settings / SMART controller type" the 3rd entry I need to enter in the disk index (0/0/X) is not possible as the UI only supports range 0-7 (8-port device), so I cannot enter 15 which I need. This bug may have also been there before, but I just noticed this now due to more disks on the controller. Entering 15 manually in smart-one.cfg caused severe UI problems. This should be a trivial fix I assume.
MichaelAnders
Members
-
Joined
-
Last visited