How do I move jails from one pool to another?

Status
Not open for further replies.

RichTJ99

Patron
Joined
Sep 12, 2013
Messages
384
Hi,

I started with a 6x 2TB pool (FNPool) and then created a new pool 6x 6TB (Pool). Currently I have a number of jails all running on FNPool. I want to use that storage for VM's & PirateGhost said I should do a stripped mirror for that storage.

So... How can I move those over or should I wipe them out & create them on Pool?

For Virtualbox testing, should I keep the jail on FNPool to minimize IOPS related issues? Or just give virtualbox access to the striped/mirrored FNPool storage to host the VMs?

Thanks,
Rich
 

Attachments

  • FNPool-jails.JPG
    FNPool-jails.JPG
    116.5 KB · Views: 314

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Create a periodic snapshot of the Jails dataset, then use replication to copy them to the other dataset.
If it's for testing, you can leave it and then if you need improved performance, you can move it at that time.
 

RichTJ99

Patron
Joined
Sep 12, 2013
Messages
384
I have periodic snapshots going at this point, so I clone the dataset of FNPool to Pool into its datasets. Then I disconnect FNPool & create a new one and give virtualbox access to that drive?

Do I want the Virtualbox jail & data to be on the mirrored stripe?

Do I need to edit anything with the jails so they know to look at Pool vs FNPool for the jails?
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
I have periodic snapshots going at this point, so I clone the dataset of FNPool to Pool into its datasets. Then I disconnect FNPool & create a new one and give virtualbox access to that drive?
No, you don't clone anything. Clone WILL eat all your available space on that pool. You want to replicate to a different pool/dataset. I'm not sure what you mean by give virtualbox access to that drive.
Do I want the Virtualbox jail & data to be on the mirrored stripe?
That's a question only you can answer. What are you running in the VB jail? Does it need more IOPS than the RAIDZ pool can provide?
Do I need to edit anything with the jails so they know to look at Pool vs FNPool for the jails?
Yes, go to the Jails tab, then the Configuration sub-tab and choose jail location (the one in the new pool).
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
Why is your Plex Media Server jail using 2tib?

Your media should not be directly in the jail. It should be on your pool and mounted in the jail
 

RichTJ99

Patron
Joined
Sep 12, 2013
Messages
384
No, you don't clone anything. Clone WILL eat all your available space on that pool. You want to replicate to a different pool/dataset.

I have periodic snapshots of the datasets recursively. If i goto the replication tab, I can choose the FNPool but no sub dataset. Since i only want to replicate the FNPool/Jails - how do i select that if its not an option?

I thought it was a clone since it is my only option but i have to stay on the same volume.


Plex was setup backwards (by me) & I am tempted to just delete it & start over again. I am still debating on going the 8 drive raidz2 route.
 

RichTJ99

Patron
Joined
Sep 12, 2013
Messages
384
That's a question only you can answer. What are you running in the VB jail? Does it need more IOPS than the RAIDZ pool can provide?

How can you tell if you need more IOPS?
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
How can you tell if you need more IOPS?
If things are slow. I guess that was my way of asking what speeds do you need. You seem to have a particular way that you want to say this up but no real data to back it up.

I'm running a 11 drive raidz2 as my main pool with a bunch of jails and performance is fine.
 
Status
Not open for further replies.
Top