How to delete Jail Dataset

Status
Not open for further replies.

pitt1717

Explorer
Joined
Jan 13, 2013
Messages
66
so i upgraded to 9.10 and everything is good. but it looks like as others have noticed, to get the upgraded jails i have to kill my data set. however i think when i first installed freenas (9.1 i think) i didn't realize i didn't create the folder structure i should have. so instead of creating for example /mnt/Raid1/Jails i just created /mnt/Raid1. so now the jail info is mixed in with other data.
what i would like to do is delete all my jail info and recreate them to get on the 10 jail templates as i would like to play with bhyve. so the question is, what do i need to delete to accomplish this.
Also, lets say i want to do a fresh install, where is all the pool, zfs, data info stored. i have done fresh installs before and all the info pools,zfs etc was all there. just trying to find the files and be safe

.PMS.meta/
.Web.meta/
.btsync_1.meta/
.freenas/
.plexconnect.meta/
.plugins/
.warden-files-cache/
.warden-template-Debian/
.warden-template-Ubuntu13.04/
.warden-template-VirtualBox-4.3.12/
.warden-template-pluginjail--x64/
.warden-template-pluginjail-9.2-x64/
.warden-template-standard/
.warden-template-standard--x64/
.warden-template-standard-9.3-x64/
.warden-template-ubuntu-13.04/
Home/ <-----------------------------------------Need to Keep
NetShare/<--------------------------------------Need to Keep
PMS/
Repository/<------------------------------------Need to Keep
TMbackup/<------------------------------------Need to Keep
Web/
btsync_1/
dataset/<------------------------------------not sure what this is (see below)
plexconnect/



[root@vpdnas01] /mnt/Raid1# cd dataset/
[root@vpdnas01] /mnt/Raid1/dataset# ls | more
./
../
vinnie/
[root@vpdnas01] /mnt/Raid1/dataset# cd vinnie
[root@vpdnas01] /mnt/Raid1/dataset/vinnie# ls | more
./
../
.DS_Store
._.DS_Store
.cshrc
.login
.login_conf
.mail_aliases
.mailrc
.profile
.rhosts
.shrc


thanks for any help
 
D

dlavigne

Guest
Couple of suggestions:

1. make sure your CPU contains the extensions bhyve requires:

this type of virtualization requires an Intel or AMD processor that reports the "POPCNT" (POPulation Count) processor feature. To verify that your processor has this feature, type grep POPCNT /var/boot/dmesg.boot from Shell. If you just receive your prompt back, you will not be able to install guests using iohyve.

2. it may be possible (I'm not sure, haven't tried) to create a dataset (say newjails) and point Jails -> Configuration to it. If that doesn't work, I'm not sure what to suggest to get the newer jail template for your situation...

3. if you decide to do a fresh install, the only thing you need to save if the config db as ZFS metadata lives on the storage disks, not the OS.
 
Status
Not open for further replies.
Top