ddrescue update:
Still chugging along:
65.2% complete after 2 days 2 hours running.
remaining time estimate: 1 day 1 hour
Average transfer rate: 15.1 MB/sec
1.3 Terrabytes to go on a 4 TB disk
Cloning a NAS hard drive with OS
Re: Cloning a NAS hard drive with OS
Good morning ....
ddrescue update at 9:00 a.m.
81.6% complete after 2 days 15 hours running.
remaining time estimate: 13 hours
Average transfer rate: 15.1 MB/sec
0.73 Terrabytes to go on a 4 TB disk
Read errors logged so far = 5
error rate = 0 B/sec
bad sector = 0 B
(Having never used ddrescue before, I am curious what happens when the process reaches 100% complete. I assume it will try and scrape the sectors where read errors occurred)
ddrescue update at 9:00 a.m.
81.6% complete after 2 days 15 hours running.
remaining time estimate: 13 hours
Average transfer rate: 15.1 MB/sec
0.73 Terrabytes to go on a 4 TB disk
Read errors logged so far = 5
error rate = 0 B/sec
bad sector = 0 B
(Having never used ddrescue before, I am curious what happens when the process reaches 100% complete. I assume it will try and scrape the sectors where read errors occurred)
Re: Cloning a NAS hard drive with OS
I think when it gets to the end then it is done. All the retries happen during the copy so anything that needs retrying in the data that is already copied is already done.
CentOS 8 died a premature death at the end of 2021 - migrate to Rocky/Alma/OEL/Springdale ASAP.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Re: Cloning a NAS hard drive with OS
... we'll know in 5 hours!
Re: Cloning a NAS hard drive with OS
Copy complete. 99.9% recovered
I was able to boot the new drive, but the system reports "no raid volume".
It seems this process was for naught.
(I have the data backed up. It seems what I could have done is reload the OS from binary and rebuild the volume with a traditional copy (or FTP). It would have taken a lot less time. It would not be "identical" as I don't have all of the settings which the clone would have, but it would be restored albeit differently)
I was able to boot the new drive, but the system reports "no raid volume".
It seems this process was for naught.
(I have the data backed up. It seems what I could have done is reload the OS from binary and rebuild the volume with a traditional copy (or FTP). It would have taken a lot less time. It would not be "identical" as I don't have all of the settings which the clone would have, but it would be restored albeit differently)
Re: Cloning a NAS hard drive with OS
The information above was from the original drive.sdb is the old drive & sdc is the new one.
sdb 8:16 0 3.6T 0 disk
├─sdb1 8:17 0 2G 0 part
│ └─md127 9:127 0 2G 0 raid1
├─sdb2 8:18 0 3.6T 0 part
├─sdb3 8:19 0 1G 0 part
├─sdb4 8:20 0 1G 0 part
├─sdb5 8:21 0 1G 0 part
├─sdb6 8:22 0 2G 0 part
└─sdb7 8:23 0 1G 0 part
The new drive lists the same partitioning EXCEPT, Md127 is not there (i.e. raid1).
Re: Cloning a NAS hard drive with OS
It's presumably looking for the RAID device by something that did not copy. If you look under the /dev/disk/by-* directories you can see all of the ways in which it might find it. Your NAS presumably also has a way to configure mdadm (they are usually linux under the covers) to tell it about the new disk. I've seen mdadm set up to find arrays by UUID, by LABEL, by full /dev/sdX[n] path and I suspect there are more.
What model of NAS is it?
What model of NAS is it?
CentOS 8 died a premature death at the end of 2021 - migrate to Rocky/Alma/OEL/Springdale ASAP.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke