After successful upgrade, one of the jails still running 11.3-RELEASE spawns one legitimate process (python 2.7) multiple times (16, as the number of cores of the system, keeps the cores at 101%) then the whole system becomes almost unresponsive.
kill -9 xxx does nothing, to my surprise...
AndrewS
If the command dd if=<zfs partition> | strings |grep pool_guid does not return "pool_guid" string, I don't think the pool is recoverable. The real guid is binary, it won't be visible with strings.
You may need to copy (using dd the (relevant part of) content of your disk into a file on...
It seems FreeNAS repartitioned your disks on install. That may be the reason you can't import the pool and zdb can't find the pool labels. You may try to find the string pool_guid somewhere on the disk. See above. Use combinations of dd,strings and grep to determine the position of "pool_guid"...
Then you have to search for string pool_guid on the disk. In my case is at offset 0x000040a4 from the begining of the ZFS partition. I hope is the same for you. I use 512b/sector disk.
When you find it, determine the sector number where it resides. Substract 32(0x40a4/512) (maybe 33) from...
It seems that your disks have been repartitioned. Did you change anything in BIOS between reboots? Do you have some *.nop files in your /dev ? FreeNAS sometimes creates gnop or geli devices on existing drives, in such cases the partition table is displayed differently. I suggest you download and...
You have to create a script or manually rollback each of
zroot@snap1
zroot/ROOT@snap1
zroot/ROOT/default@snap1
zroot/ROOT/upgrade@snap1
zroot/tmp@snap1 #not really necessary to roll back
zroot/usr@snap1
zroot/usr/home@snap1 #not really necessary to roll back
zroot/usr/ports@snap1...
As you can see, your /usr is not a ZFS under zroot/ROOT/default
Therefore it will not be snapshotted/rolledback by beadm
Move (by zfs renaming it) such as zfs rename zroot/usr zroot/ROOT/default/usr ..var,eventually /tmp under zroot/ROOT/default. Test this on a non-production (virtual) system...
beadm actions only on what's beneath zroot/ROOT/yourroot
Any modifications to you userland (/usr(/local)) are not dealt with this tool, unless they are under /zroot/ROOT/yourroot/usr.
My experience was with FreeBSD 9. They may have fixed the ZFS layout at some point. I'm glad if they did that. My "fixed" layout looks like
tank1/ROOT/trueos10 307G 93.5G 4.33G legacy
tank1/ROOT/trueos10/tmp 3.59M 93.5G 2.19M /tmp
tank1/ROOT/trueos10/usr 299G 93.5G 144K /mnt/usr...
You can snapshot but cannot rollback (in complete safety) a snapshot of a root filesystem (including /usr, /var). You need a reboot after such a rollback.
The default root on ZFS install creates zroot/ROOT/your_actual_root_instance but leaves several filesystems (/usr, /var, /tmp) outside of...
Try rdr pass on $ext_if inet proto tcp from any to $ext_if port 443 -> $IP_JAIL_NGINX in pf.conf
I'm not sure what jail_if="lo1" means because you put 10.x.x.x range on it and the reserved range for loopback interface is 127.0.0.0/8.
I use aliases on lo0 for my jails with 127.0.x.x addresses.
HTH
Reading the /etc/rc.conf from the host, it seems Apache is running also on the host. With default settings in httpd.conf, the host may be already listening on 0.0.0.0:80, which conflicts with the jail listening also on 192.168.125:80 (one of the host's IP).
Just create different zfs filesystems on Poola
eg. zfs create poola/myimages
zfs create poola/mymovies
Then you can easily snapshot poola/myimages, zfs send the (incremental) snapshot to poolb without having to do the same for poola/mymovies.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.