<div dir="ltr"><div>Hello everyone, hope you are keeping well.</div><div><br></div><div>I have an old RAID setup using drives from 2011 and whilst I've not had issues, I am getting a bit nervous about them.</div><div><br></div><div>At the moment both 2TB drives are in mdadm RAID1 (/dev/md0), and LVM sits on top of that, the actual FS is the unexciting Ext4:</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">#lsblk</span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">...<br></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">sda 8:0 0 1.8T 0 disk </span><br>└─md0 9:0 0 1.8T 0 raid1 <br> └─primary-varlib 253:0 0 1.8T 0 lvm /var/lib
<br>sdb 8:16 0 1.8T 0 disk <br>└─md0 9:0 0 1.8T 0 raid1 <br> └─primary-varlib 253:0 0 1.8T 0 lvm /var/lib</span></div><div><span style="font-family:monospace">... <br></span></div><div>As you can see they are not boot, just data really.</div><div><br></div><div>I want to replace them both with new 4TB Seagate IronWolfs<br></div><div><br></div><div>Can anyone point me at some instructions on how to do that? My search-fu is failing me and I have a feeling it's going to be more complicated than just replacing the drives one at a time with a rebuild (and then some magic to grow things to the full 4TB).<br></div><div><br></div><div>Do I need to be overly concerned with /etc/fstab which seems to be using a UUID:<br></div><div><span style="font-family:monospace">/dev/disk/by-id/dm-uuid-LVM-47rf... /var/lib ext4 defaults 0 0</span></div><div><br></div><div>This is all on Ubuntu Server 22.04.</div><div><br></div><div>Cheers!</div><div><br></div><div>J.<br></div><div><br></div><div>Some more info if it helps:<br><span style="font-family:monospace">#file -sL /dev/primary/varlib <br>/dev/primary/varlib: Linux rev 1.0 ext4 filesystem data...<br><br>#mdadm --misc --detail /dev/md0<br>/dev/md0:<br> Version : 1.2<br> Creation Time : Sun May 24 15:00:15 2020<br> Raid Level : raid1<br> Array Size : 1953382464 (1862.89 GiB 2000.26 GB)<br> Used Dev Size : 1953382464 (1862.89 GiB 2000.26 GB)<br> Raid Devices : 2<br> Total Devices : 2<br> Persistence : Superblock is persistent<br><br> Intent Bitmap : Internal<br><br> Update Time : Tue Jan 17 23:22:16 2023<br> State : clean <br> Active Devices : 2<br> Working Devices : 2<br> Failed Devices : 0<br> Spare Devices : 0<br><br>Consistency Policy : bitmap<br><br> Name : ubuntu-server:0<br> UUID : 7df346bb:a3c7ee5a:aa7ea17b:09c1c352<br> Events : 88901<br><br> Number Major Minor RaidDevice State<br> 0 8 0 0 active sync /dev/sda<br> 1 8 16 1 active sync /dev/sdb</span></div></div>