Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Replacing Failed ZFS Drive - What's Considered "Cannot have both the old and new"?

Featured Replies

 

General questions about replacing to make sure I am sure. This is the first time we have replaced a ZFS pool drive, so want to just make sure.

 

My assumption is as follows.

  • Drive is "REMOVED" so that means that I need to follow process#2 because the server is not seeing this drive as ONLINE - it's not a swap of drive that's operational, this is a bad drive, so it "Cannot have both the old and new devices connected"...? Or is this only if there is a physical limitation - e.g., there are not enough SATA connectors? We don't have any limitations with the hardware.
  • By "Device" that is the "Drive"?

 

Quote

#1 Procedure if you can have both the old and new devices connected at the same time:

 

stop the array

on the main page click on the pool device you want to replace/upgrade and select the new one from the drop down list (any data on the new device will be deleted)

start the array

a 'zpool replace' will begin and the new device will be resilvered

progress can be seen by clicking on the first pool device and scrolling down to “pool status”

when done again check "pool status" page to confirm everything looks good

 

#2 Procedure if you cannot have both the old and new devices connected at the same time:

 

stop the array

on the main page click on the pool device you want to replace/upgrade and unassign it, select 'no device'

start the array

that device will be offlined from the pool

shutdown the server

remove the old device, install the new device

turn on the server, if array auto-start is enabled stop the array

on the main page assign the new pool device

start the array

a 'zpool replace' will begin and the new device will be resilvered

progress can be seen by clicking on the first pool device and scrolling down to “pool status”

when done again check "pool status" page to confirm everything looks good

 

 

So, I should:

  1. Stop Array
  2. Unassign the "REMOVED" drive = SDM1 in this case = change to "No Device"
  3. Start Array
  4. Shutdown
  5. Physically remove "SDM1"
  6. Physically add New Drive
  7. Assign New Drive to Pool where "SDM1" was previously
  8. Start Array

 

1439923346_Screenshot2024-03-22152001.png.1a1b694ad9d735edeb609389c5be7994.png

  • Community Expert

Please post the diagnostics to see what happened to sdm, also see SMART.
 

  • Author
5 hours ago, JorgeB said:

Please post the diagnostics to see what happened to sdm, also see SMART.
 

I think we broke a cardinal rule. We rebooted to add the new drive but did not add it to the server. Just to have it in the server for when we decided a path today.

 

Once it was rebooted, it changed the drive to sdo1 and showed it online. My assumption is that it's SDO now because another drive was added and orders are different now. We're new to this, so unsure.

 

It's running a scrub now. We had problems with this drive in the array previously and thought it was a fluke. It went to the "x" status but went back online - thought it was a port issue.

 

SDM before the reboot is now SDO. My assumption is that it will error when it gets to that point, but we're in waiting mode. There is a mirror of all the data on a second server.

image.png.da7672de06a5924f7cba9336f1ad612a.png

 

image.png.9b590e2fdc44fb90615d21a819e57d4c.png

 

mediaserver-diagnostics-20240323-1009.zip

Edited by pixels703

  • Community Expert

SMART looks fine, disk may be dropping offline, if it happens again post new diags before rebooting.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.