Hello!
I've run into a problem where I have a raidz-2 pool with 6 devices of whom 4 are 1TB and 2 just 500GB.
In order to use most of these disks, the best solution would probably be to split this pool in two. I'm thinking I could keep this pool as is - raidz2, but detach the two 500GB disks (leaving me with a raidz2 bool consisting of 4 1TB disks) and create a new mirror pool with the two 500GB disks.
So, in theory, my actions should be something like this:
zpool offline pool wwn-0x5002538e09670244
zpool offline pool wwn-0x5002538e09670229
zpool detach pool wwn-0x5002538e09670244
zpool detach pool wwn-0x5002538e09670229
zpool zpool create -f -o ashift=12 mirror_pool mirror wwn-0x5002538e09670244 wwn-0x5002538e09670229
fdisk -l output for these devices:
Is that it or is there anything else I should do?
Also, since I'm inexperienced with these things, I'm a bit concerned about any possible damage to existing data - would there be any danger to existing data while performing these actions, or will my VM's stay the same?
Any help would be greatly appreciated, thanks in advance.
I've run into a problem where I have a raidz-2 pool with 6 devices of whom 4 are 1TB and 2 just 500GB.
In order to use most of these disks, the best solution would probably be to split this pool in two. I'm thinking I could keep this pool as is - raidz2, but detach the two 500GB disks (leaving me with a raidz2 bool consisting of 4 1TB disks) and create a new mirror pool with the two 500GB disks.
So, in theory, my actions should be something like this:
zpool offline pool wwn-0x5002538e09670244
zpool offline pool wwn-0x5002538e09670229
zpool detach pool wwn-0x5002538e09670244
zpool detach pool wwn-0x5002538e09670229
zpool zpool create -f -o ashift=12 mirror_pool mirror wwn-0x5002538e09670244 wwn-0x5002538e09670229
fdisk -l output for these devices:
Is that it or is there anything else I should do?
Also, since I'm inexperienced with these things, I'm a bit concerned about any possible damage to existing data - would there be any danger to existing data while performing these actions, or will my VM's stay the same?
Any help would be greatly appreciated, thanks in advance.