Removing smaller drives from an existing pool

jrtaylor92

Cadet
Joined
Feb 20, 2024
Messages
1
I have a zfs pool consisting of 2x2tb and 2x8tb drives. i added the 2x8tb drives after i ran out of space on the 2x2tb drives.
Is it possible to move all the data onto the 8tb drives so i can remove the old 2tb drives? My NAS only has space for 4 drives.
 

Attachments

  • Screenshot 2024-02-20 at 5.13.49 pm.png
    Screenshot 2024-02-20 at 5.13.49 pm.png
    461.6 KB · Views: 32
  • Screenshot 2024-02-20 at 5.13.26 pm.png
    Screenshot 2024-02-20 at 5.13.26 pm.png
    449.3 KB · Views: 32

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Since you're running mirrors, yes you can.

You can remove a top-level VDEV (one of your mirrors) from a pool on recent versions of ZFS that doesn't have any RAIDZ VDEVs in it (which is the case for you).

The remove operation will start a process to evacuate all data from the mirror to be removed to the remaining pool VDEV(s) and when done, the removed mirror will no longer be part of the pool.

This page in the docs mentions how to get to the screen/widget where you can see the "Remove" button on a VDEV.
 
Top