The Oracle · 2022-05-26 14:33
I have a failing 4TB drive.
Can I split it into like 4 x 1TB partitions and then do some kind of RAID so 1TB of data is replicated 4 times on the same disk and hopefully ensure the data will still be readable in the future when the drive gets worse?
Or does RAID not work like that?
Questions thread is full
Acid Burn · 2022-05-26 15:32
that will make it slower, but if there's mostly a worry about bad sectors and corruption, might make it a bit better. Also worth pointing out that there's more to go wrong, if a single peice of i.e. the partition table gets messed up then it will be pretty hard, though not neccisarily impossible to recover the data. Also, a real disk failure is a real disk failure and you'll loose your data just as hard in this weird raid as without when the disk actually goes.
remember kiddos, raid stands for random assortment of inexpensive disks, not random assortment of virtual psuedodisks all on the same real disk. Much better if possible to get a couple cheap backups
Agent Jones · 2022-06-04 23:04
Backup your soykaf and get a new hard drive. It's going to fail and you are going to lose some amount of data within it.
Pris · 2022-06-05 04:48
it's a bad idea. Buy a new drive
Unidentified · 2022-06-05 07:05
Put your data on ZFS on a mirrored vdev, any data not stored with physical redundancy by ZFS don't expect to keep it.
Gyula Kovacs · 2022-06-06 16:03
What a coincidence. My 4TB RAID 0 failed last week.
It's probably for the best. 75% of that drive was porn.
this should be a lesson for better backup etiquette
Dujour · 2022-06-15 15:08
>>60271
4tb isn't that very expensive these days.
there's also a lot of discounts when you purchase them with the "app".
although newer drives are actually way worse if it was SMR especially with RAID and as Online storage.
definitely just buy moar drives, 2tb costs like $50 with a little bit of "app" kung fu, then you can just buy multiple smr drives or aim for better ones and do offline back ups if your purpose is to make sure the data exists in the future. even better is you store them on different brands so you don't get "the archiver with seagates" syndrome losing everything (possibly due to firmware flipping the sudoku switch).
Agent Smith · 2022-06-15 15:25
>>60775
also, get a 500gb or 1tb scratch drive or from used laptop drives (being sold as refurbs) - to put all the files you would like to "access" since you can't even sift through that 4tb in one day, just copy the stuff you need for the day.
if your problem was "performance" and want the read speeds from redundancy just buy a SSD or an NVMe SSD which is cheaper and better than SATA SSD.
I recommend laptop hard drives as they are more durable and somewhat shock proof, parks usually so if you don't have UPS it won't get fuarrrked and won't draw as much power on your power supply during voltage irregularities (so less heat, idling and load at 20C-33C) keep in mind most voltage regulators barely work or sometimes are bugged and having the drive powered directly by the PSU over failing power can cause irreversible harm.
make sure the scratch drive has a "spin up time" value more than ~500.
you can test laptop hdd write speeds using hdparm -t /dev/sdX, usually good ones are around 100MB/sec mark, do the test consecutively to actually get the peak speed.
if you're "seeding", just don't bother with redundancy and make a single 4tb drive be a scratch drive for seeding stuff. it's only worth true redundancy of RAID if you're "hosting" a site or service but not really much (aside from error correction and critical data integrity which sux since you probably don't have ddr2 ecc or ddr3/4 ecc rams anyway! and with speeds you just go nvme over pcie).
if you're doing a lot of high performance lab work then you should know 4x1tb partitions are so slow. just proceed on wiping the drive while you still can so you can send them for (part) recycling or refurbishing with ease in your mind.
The Phantom Phreak · 2022-06-16 10:36
>>60271
bad idea, you don't know how the drive is failing on a physical level, just that it is failing. Buy a new one and just accept that she is dead.
Morpheus · 2022-07-05 01:57
I have no idea how to test newly bought drive to be sure that it's working as advertised and is not already showing signs of mechanical damage from transportation.
Is there a standard set of programs to do this operation? Preferably something in form of live CD image.