blog:importing_plex_jail_failure

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
blog:importing_plex_jail_failure [2021/08/17 14:43] brettblog:importing_plex_jail_failure [2021/08/17 15:13] (current) – [Importing Plex jail failure] brett
Line 1: Line 1:
 ====== Importing Plex jail failure ====== ====== Importing Plex jail failure ======
  
-I was relocating my jails from one storage pool to another. When I went to import the Plex jail it failed. The problem is the plex jail is 64Gb monster. The database for it should be separate from the Jail now that I know this.+I was relocating my jails from one storage pool to another. Shout to digimoot for some good documentation. 
 +  * https://digimoot.wordpress.com/2020/01/11/freenas-backup-jails-automatically-using-iocage-import-and-export/ 
 +When I went to import the Plex jail it failed.  
 +<code> 
 +root@ale[~]# iocage import plex -p /mnt/u02/images 
 +Importing dataset: plex 
 +Importing dataset: plex/root 
 +cannot receive: failed to read from stream 
 +zsh: killed     iocage import plex -p /mnt/u02/images 
 +</code> 
 +The problem is the plex jail is 64Gb before exporting 48Gb exported. The database for it should probably be separate from the Jail.
  
-FreeNAS 11 has a defect. It tries to uncompress the jail root into memory before sending it to ZFS RECV+This was the first post that I ran across on this issue 
 +  * https://www.reddit.com/r/freenas/comments/fjdszy/iocage_import_failing_and_causing_swap_error/ 
 +Which led me to discover FreeNAS 11 has a defect. It tries to uncompress the jail root into memory before sending it to ZFS RECV.  That's right, we load the 64Gb file into memory (BANG).
   * https://github.com/iocage/iocage/issues/1086   * https://github.com/iocage/iocage/issues/1086
  
Line 40: Line 52:
                 recv.communicate()                 recv.communicate()
 </code>                 </code>                
-It has not been backported. We will do that ourselves to get this working.+It has not been backported FreeNAS 11, we will do that ourselves so we can continue to use the "iocage import" process without hacking about with workaround commands.
  
-{{tag>freenas plex}}+That worked well. 
 +<code> 
 +root@ale[~]# iocage import plex -p /mnt/u02/images 
 +Importing dataset: plex 
 +Importing dataset: plex/root 
 + 
 +Imported: plex 
 +</code> 
 +{{tag>freenas plex jail}}
  
 ~~LINKBACK~~ ~~LINKBACK~~
  
  
  • blog/importing_plex_jail_failure.1629211409.txt.gz
  • Last modified: 2021/08/17 14:43
  • by brett