[Trac-bugs] [PC-BSD Trac] #344: 8.1 installer gets confused when asked for two separate ZFS pools

PC-BSD trac at pcbsd.org
Fri Aug 13 21:45:35 PDT 2010


#344: 8.1 installer gets confused when asked for two separate ZFS pools
---------------------------+------------------------------------------------
 Reporter:  gja            |       Owner:  kris
     Type:  System Defect  |      Status:  new 
 Priority:  major          |   Milestone:      
Component:  Installer      |     Version:  8.1 
 Keywords:                 |  
---------------------------+------------------------------------------------
 Installing PCBSD 8.1 from x64 DVD.

 Used the GUI to set up the following custom partitioning on ad1s1:

 - 1024MB UFS /boot[[BR]]

 - 8192MB SWAP encrypted[[BR]]

 - 8000MB ZFS not encrypted (/, /usr, and /var explicitly listed as
 mountpoints)[[BR]]

 - TheRest ZFS encrypted (/home explicitly listed as mountpoint)[[BR]]



 The GUI then creates the following related lines in sys-install.cfg:

 disk0-part=UFS 1024 /boot[[BR]]
 disk0-part=SWAP.eli 8192 none[[BR]]
 disk0-part=ZFS 80000 /,/usr,/var[[BR]]
 disk0-part=ZFS.eli 149251 /home[[BR]]
 encpass=xxxxx[[BR]]
 commitDiskLabel


 Installer correctly creates tank0/, tank0/usr, tank0/var and tank1/home,
 then proceeds through "pc-sysinstall: Starting Extraction" and "pc-
 sysinstall: Extraction Finished" steps.

 However, during final tidying up and resetting of ZFS mountpoints, the
 installer gets confused and thinks there is also a tank1/var in addition
 to tank0/var. Thus, installation barfs at:

   [...]
 Running: zfs set mountpoint=/home tank1/home[[BR]]
 Running: zfs unmount tank1/home[[BR]]
 Running: zfs set mountpoint=/var tank1/var[[BR]]
 cannot open 'tank1/var': dataset does not exist[[BR]]
 Error 1: zfs set mountpoint=/var tank1/var[[BR]]
   [...]

 Oops :)

 No idea why 'tank1/var' was mysteriously presumed to exist,
 but the nett impact is to cause the installation process to fail when
 given a not-unreasonable partition configuration :(

 Hope this feedback is of some help.

 cheer,
 gja

-- 
Ticket URL: <http://trac.pcbsd.org/ticket/344>
PC-BSD <http://trac.pcbsd.org>
PC-BSD Project Management


More information about the Trac-bugs mailing list