<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 30 Apr 2023 at 08:07, Dr. Axel Stammler via GLLUG <<a href="mailto:gllug@mailman.lug.org.uk">gllug@mailman.lug.org.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Good morning,<br>
<br>
one of four hds in my LVM2 raid has stopped reacting to SMART commands or anything else. The 16 TB raid system contains four 8 TB hds in a RAID 1 set of two RAID 4 pairs:<br>
<br>
RAID 1 ┌ RAID 4 ┌ A<br>
│ └ B ← needs to be replaced<br>
│ RAID 4 ┌ C<br>
└ └ D<br>
<br>
So I need to replace hard disk B, buy a new disk and integrate it.<br>
<br>
Should I replace disk A, too, as it is of the same age? If not, should the replacement B be larger so that in the future I can grow the array? Should I get an HDD or an SSD?<br>
<br>
Any tips on the choice of hard disk (size, parameters, maker) as well as on the procedure would be much appreciated.<br>
<br><br></blockquote><div><br></div><div>In general, one replacing a drive in a RAID setup with the same make/model as the old one. If that model is not available, replace it with a similar drive with at least the same amount of sectors. For striped drives, it is best to keep all the disks at the same speed, so mixing SSD and HDD is not a good combination for RAID setups.</div><div><br></div><div>Another thing to consider is something called "Object stores". This is where the redundancy is handled at the filesystem or above instead of the physical disk.</div><div>It lets you do things like "Store each file on at least 2 different physical disks."</div><div>An advantage to "Object stores" is you can easily mix disks of different sizes, add new disks, replace faulty ones with ones of different size and the "Object store" takes care of the distribution of files.</div><div>btrfs is an example of such an "Object store" filesystem, but there are many others.</div><div><br></div><div>Kind Regards</div><div><br></div><div>James</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div> <br></div></div></div>