March 22, 20242 yr 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: Stop Array Unassign the "REMOVED" drive = SDM1 in this case = change to "No Device" Start Array Shutdown Physically remove "SDM1" Physically add New Drive Assign New Drive to Pool where "SDM1" was previously Start Array
March 23, 20242 yr Community Expert Please post the diagnostics to see what happened to sdm, also see SMART.
March 23, 20242 yr 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. mediaserver-diagnostics-20240323-1009.zip Edited March 23, 20242 yr by pixels703
March 23, 20242 yr 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.