Brer
Explorer
- Joined
- Mar 2, 2017
- Messages
- 63
A while back I inadvertently added a 2x2Tb Disk Raid to an existing single 2Tb disk which has my main Dataset on it, I was experimenting with the new GUI in Corral. Anyway, crux of the problem is that I now have a single 2Tb and 2x2Tb Raid config in the same Volume which is not the intended RAIDZ1 config I was after, i.e. 3x2Tb disks with 4Tb usable and 2Tb as swap.
After inquiring on the forums the only way I could undo the above is to destroy the Dataset and start again and if I wanted to save the data then it would be to move the Dataset to another disk.
Well I have sourced another 2Tb drive to move the main Dataset from so I can do just that, destroy my mess :)
So before I make anymore mistakes and irreversibly do something I'll regret ... hence this post.
What I expect to do is to import the spare disk as a separate Volume from the existing Volume, create a new Dataset to copy my existing data into and then destroy the original Dataset, split the RAID + single drive, create a RAID5 type setup and then copy the data back in.
I would use the following to do the copy, again taken from posts on the forum :-
1. Is this the correct thing to do?
2. With above zfs commands does the zfs destroy of the snapshot actually destroy the original dataset too?
3. Is a RAID5 (I think RAIDZ1 for ZFS) the best set up with 3 x 2Tb disks?
I've now moved from Corral to 11 Nightlies.
Thanks in advance.
Br.
Code:
NAME STATE READ WRITE CKSUM nas_data ONLINE 0 0 0 gptid/8d07b3ca-ff88-11e2-9b4c-001ec963b570 ONLINE 0 0 0 mirror-1 ONLINE 0 0 0 gptid/06a3d022-0f47-11e7-a00c-50e54955253a ONLINE 0 0 0 gptid/0709773c-0f47-11e7-a00c-50e54955253a ONLINE 0 0 0
After inquiring on the forums the only way I could undo the above is to destroy the Dataset and start again and if I wanted to save the data then it would be to move the Dataset to another disk.
Well I have sourced another 2Tb drive to move the main Dataset from so I can do just that, destroy my mess :)
So before I make anymore mistakes and irreversibly do something I'll regret ... hence this post.
What I expect to do is to import the spare disk as a separate Volume from the existing Volume, create a new Dataset to copy my existing data into and then destroy the original Dataset, split the RAID + single drive, create a RAID5 type setup and then copy the data back in.
I would use the following to do the copy, again taken from posts on the forum :-
Code:
zfs snapshot -r ExistingDS/Storage@copy 2. Copy the data: zfs send -Rv ExistingDS/Storage@copy | zfs receive -F SpareDS/Storage 3. Delete created snapshots: zfs destroy -r SpareDS/Storage@copy ; zfs destroy -r ExistingDS/Storage@copy
1. Is this the correct thing to do?
2. With above zfs commands does the zfs destroy of the snapshot actually destroy the original dataset too?
3. Is a RAID5 (I think RAIDZ1 for ZFS) the best set up with 3 x 2Tb disks?
I've now moved from Corral to 11 Nightlies.
Thanks in advance.
Br.