How to replace a storage pool drive in SynetoOS 4

Written By Christian Castagna (Administrator)

Updated at February 10th, 2025

→ Applies to: SynetoOS 4.x

 

Step 1. Connect to SynetoOS appliance via SSH as admin

ssh admin@<your_ip_address_or_hostname>

 

Step 2 (optional). Change into Solaris shell (in case you're directed to an unsupported shell)

un sh

 

Step 3. Get root privileges

sudo su -

 

Step 4. List all pools and statuses

zpool status

 

Step 5. Retrieve all disks available and information

config disk show

 

Step 6. Replace the storage pool disk with a new one (replace <pool_name>, <old_disk> and <new_disk> with the correct information)

 
zpool attach <pool_name> <old_disk> <new_disk>

EXAMPLE

zpool attach hybrid c0t5000C50099FF4507d0 c0t5000C500C2536A77d0
  • hybrid (<pool_name>)
  • c0t5000C50099FF4507d0 (<old_disk>)
  • c0t5000C500C2536A77d0 (<new_disk>)

In case of output error, you can try running the same command adding the “-f” parameter:

  • -f: forces the use of the <new_disk> even if in use
zpool attach -f hybrid c0t5000C50099FF4507d0 c0t5000C500C2536A77d0