Disk problems with replacement disk


Recommended Posts

Hi,

It's a long time ago to visit the forum about 10 years my Unraid was running fine.

Now I want to replace my HDD to 8TB HDD's and started with Parity.

That's working fine.

Then I swaped  disk 5 to 8TB disk and it starts to rebuild (looks good)

When finished I replaced disk 4 but when I boot and start the array he tels that disk 5 is not bootable.

In the meantime he stard to rebuild disk 4.

I format disk 5 and reboot , then the disk is bootable but I lost my data and it's not rebuilding.

Can I attach the old disk 5 and copy it to the new disk?

If possible how or do I need another procedure?

I upgraded before I started to Version 6.12.6 2023-12-01.

 

Rob

Link to comment
6 minutes ago, Rob_Dingen said:

I format disk 5 and reboot

Format is never part of a rebuild.

 

7 minutes ago, Rob_Dingen said:

Can I attach the old disk 5 and copy it to the new disk?

You can, you can use the UD plugin to mount it, then copy the data to the array.

Link to comment
6 minutes ago, Rob_Dingen said:

When finished I replaced disk 4 but when I boot and start the array he tels that disk 5 is not bootable

I assume you meant 'unmountable'?   Handling of unmountable disks is covered here in the online documentation accessible via the Manual link at the bottom of the Unraid GUI. That would likely have fixed the issue.  In addition every forum page has a DOCS link at the top and a Documentation link at the bottom.   The Unraid OS->Manual section covers most aspects of the current Unraid release. 

Link to comment

You will have to try to repair the filesystem

59 minutes ago, itimpi said:

Handling of unmountable disks is covered here

Attach Diagnostics to your NEXT post in this thread so we can better understand where you are now and give more specific advice.

 

And please don't do anything else without further advice.

 

1 hour ago, JorgeB said:

Format is never part of a rebuild.

Mistakes when replacing disks are probably the cause of most serious data loss.

 

Link to comment
6 minutes ago, trurl said:

Or is MJ1321YNG0HN2A the original disk that may still have your data?

That's the one. 

It's my old disk 4

I also have my old disk 5 but not online.

If I can read my old disk 4 I put a new 8TB disk that's the ZR15B4FJ and copy it back.

Link to comment

1e changed parity Disk and did a parity check.

2e shut down and changed Disk 5 start array and rebuilt

3e shut down and replaced Disk 4 start array.

But when I start the array disk 5 was unmountable and the only option was format.

So I mis Disk 5 and the array start with a new Disk 4 8TB  and I cannot put the old Disk 4 back.

So I mis Disk 4 and 5 but I have both the old ones also the old parity disk.

Link to comment

root@Tower:~# fdisk -l /dev/sdb
Disk /dev/sdb: 746.52 GiB, 801569726464 bytes, 1565565872 sectors
Disk model: External        
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot Start        End    Sectors Size Id Type
/dev/sdb1           1 4294967295 4294967295   2T ee GPT
 

Link to comment
2 minutes ago, JorgeB said:

Disk4 was reiserfs, were you trying to rebuild as xfs?

I see that now. I was looking at vars so they must have tried to change it.

 

And of course, they had already formatted disk5 as xfs. Probably it was reiserfs before.

Link to comment

Yes I put the new disk and select XFS and let it rebuild

 

The problem is that I format Disk 5 and the new disk 4 wasn't rebuild and I cannot put back the old disk 4.

I try to mount the old disk with data on my windows machine and copy it back to the new disk

 

Then I can preclear the new drive and use it as XFS.

 

 

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.