blazerguns
Dabbler
- Joined
- Mar 15, 2017
- Messages
- 13
Hi All,
I have not played around with ZFS a lot do sorry for this question. I saw lots of threads with similar question but I could not find the answers I was looking for. My problem is I have 3x3TB raidZ1 setup. As the disks have already reached 83% capacity I wanted to move to raidZ2 and move to 5x3TB setup. I was planning to get external hard disk of 10GB (Do I need such a large disk?) and somehow backup my data using snapshots.
What I wanted to do is the following
1. Backup my whole pool Media to external hard disk connected via USB 3.0.
2. Somehow make FreeNAS look at the external backed up pool as original pool so that all jails would functions as it is.
3. Delete the original pool
4. Shutdown FreeNAS
5. Add the extra two 3TB disk
6. Start and Create a new pool with bigger size
7. Snapshot back the data from external disk back to new HDD pool.
8. Change the new pool name back to Media so that everything works as it is.
Is this possible? Can someone share commands for these? Any detailed instructions will be very useful.
I have not played around with ZFS a lot do sorry for this question. I saw lots of threads with similar question but I could not find the answers I was looking for. My problem is I have 3x3TB raidZ1 setup. As the disks have already reached 83% capacity I wanted to move to raidZ2 and move to 5x3TB setup. I was planning to get external hard disk of 10GB (Do I need such a large disk?) and somehow backup my data using snapshots.
Code:
root@freenas:~ # zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT Media 8.12T 6.82T 1.31T - - 35% 83% 1.00x ONLINE /mnt freenas-boot 14.4G 4.87G 9.51G - - - 33% 1.00x ONLINE - root@freenas:~ # zpool status -v pool: Media state: ONLINE scan: scrub repaired 0 in 0 days 08:48:24 with 0 errors on Sun May 26 08:48:26 2019 config: NAME STATE READ WRITE CKSUM Media ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 gptid/a67999be-418e-11e5-817a-d05099228281 ONLINE 0 0 0 gptid/a70a5c66-418e-11e5-817a-d05099228281 ONLINE 0 0 0 gptid/a7954218-418e-11e5-817a-d05099228281 ONLINE 0 0 0 errors: No known data errors pool: freenas-boot state: ONLINE scan: scrub repaired 18K in 0 days 00:24:02 with 0 errors on Tue Jul 2 04:09:02 2019 config: NAME STATE READ WRITE CKSUM freenas-boot ONLINE 0 0 0 da0p2 ONLINE 0 0 0 errors: No known data errors
What I wanted to do is the following
1. Backup my whole pool Media to external hard disk connected via USB 3.0.
2. Somehow make FreeNAS look at the external backed up pool as original pool so that all jails would functions as it is.
3. Delete the original pool
4. Shutdown FreeNAS
5. Add the extra two 3TB disk
6. Start and Create a new pool with bigger size
7. Snapshot back the data from external disk back to new HDD pool.
8. Change the new pool name back to Media so that everything works as it is.
Is this possible? Can someone share commands for these? Any detailed instructions will be very useful.