January 11, 20242 yr Hello brilliant Unraid users, I made a dumb mistake... I replaced a 4Tb drive on my array with a 12TB drive. The data rebuilt sucessfully, but the drive was unmountable (I didn't format the drive ahead of time...) I attempted a file systems repair and it ended up deleting the contents of the drive. That being said. I do still have the 4TB drive with all of the relevant data. How would I go about moving that data back to the 12TB drive? Is this something I could do with UnBalance? Or is there a better / safer approach. The array is backed up via dual parity. Disk 1 is the disk in question. (the 460GB of data on this drive is my initial attempt at restoring the missing files and can be deleted if needed) Dev1 is the old disk.
January 11, 20242 yr Community Expert Solution 9 minutes ago, crspangenberg said: (I didn't format the drive ahead of time...) You don't need to. 9 minutes ago, crspangenberg said: That being said. I do still have the 4TB drive with all of the relevant data. How would I go about moving that data back to the 12TB drive? Is this something I could do with UnBalance? Or is there a better / safer approach. Mount the old disk with UD, you may need to change the XFS UUID if disk1 is still using the old one, that can be done in UD settings, then just copy the data to the array.
January 11, 20242 yr Author Jorge, thank you for the response! When you say I don't need to, why would it show as unmountable and not allow me to repair the file system without completely erasing the data? Additionally, once the drive is mounted, what is the best way to copy the data to the array? Should I use unbalance? Or should I use a terminal command?
January 11, 20242 yr Community Expert 1 minute ago, crspangenberg said: why would it show as unmountable and not allow me to repair the file system without completely erasing the data? If it was showing unmountable it means there was a filesystem problem with the emulated disk, these can usually be fixed, but not always, in part depending on the filesystem used and the amount of corruption, with xfs they usually can be fixed at least 95% of the time, but without seeing what the issue was difficult to say now if it could have been fixed or not with less/no data loss.
January 11, 20242 yr Author 1 minute ago, JorgeB said: If it was showing unmountable it means there was a filesystem problem with the emulated disk, these can usually be fixed, but not always, in part depending on the filesystem used and the amount of corruption, with xfs they usually can be fixed at least 95% of the time, but without seeing what the issue was difficult to say now if it could have been fixed or not with less/no data loss. Basically, I should have come here first before messing it up further. Duley noted!
January 11, 20242 yr Community Expert 7 minutes ago, crspangenberg said: Basically, I should have come here first before messing it up further. Duley noted! Yes. Please ask next time. 36 minutes ago, crspangenberg said: The array is backed up via dual parity. Parity is not a backup. You must always have another copy of anything important and irreplaceable. Plenty of ways to lose data besides a bad disk, such as user error.
January 11, 20242 yr Author Just now, trurl said: Yes. Please ask next time. Parity is not a backup. You must always have another copy of anything important and irreplaceable. Plenty of ways to lose data besides a bad disk, such as user error. Understood, I appreciate all the help this forum has provided. I have irreplaceable data in multiple places, and utilized the term "backup" incorrectly. I will use mc and begin copying the data from the old disk to the new. Is there anything I should be aware of when doing this?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.