Jump to content

Assigning an existing disk to Array


Recommended Posts

Hi all,

 

I ran into an issue with a disk today. It would not mount and found the drive being emulated.

After some troubleshooting I found the issue was not the drive itself but the SATA port being used. After switching ports the drive appeared but did not mount in it's usual place. The device is showing up in unassigned devices, where I am able to mount it and can see the data.

 

Edit: Disk 6 has an error saying "Device is missing. Contents emulated." The unassigned device mentioned above is the exact device that was working in the array yesterday.

 

If I try and assign the device to Disk 6 (where it was previously) it is being treated as a new device.
 

Is there a way to assign the device without triggering a rebuild of the parity and the device?

tower-diagnostics-20240228-1019.zip

Edited by Pumped
Link to comment

Drives get redballed when a write to it fails.  Since this did happen and/or a write to the emulated drive happened while the disk was missing, the contents between the emulated and the physical drive do differ, if only slightly.

 

I always recommend to let the drive be rebuilt so that everything is all in sync.  

 

BUT, to do it without rebuilding you would do a Tools, New Config, keep all of the assignments and when starting the array check off that Parity is already valid.   But you should really after that do an immediate parity check to make sure everything is back synced together.

 

IE:  Best bet is to simply rebuild onto the drive itself.

Link to comment

Mounting the physical drive with Unassigned Devices would make it even more slightly out-of-sync unless it was mounted read-only.

 

If you don't rebuild it, any emulated writes to the disk will be lost. And at the very least, the failed write that disabled the disk was emulated. If you don't know the exact instant it was disabled and that no further writes intended for the disk was done, then probably additional emulated writes happened.

19 minutes ago, Squid said:

Best bet is to simply rebuild onto the drive itself.

Rebuild won't take any longer than the parity check you need to do if you don't rebuild. And it isn't really parity that is out-of-sync, it is the data disk.

 

Link to comment
3 hours ago, Pumped said:

without triggering a rebuild of the parity and the device?

It won't rebuild parity (and won't need to) if you rebuild the data disk. The whole point is that the data disk doesn't match parity. Parity is correct, assuming you don't force the array to accept the out-of-sync contents of the data disk.

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.

×
×
  • Create New...