[PC-BSD Testing] 9.0 snapshot install fails (encrypted zfs mirror)

Gour gour at atmarama.net
Sun Mar 6 03:09:21 PST 2011


Hello!

I've attempted to install 200110225 9.0 snapshot under vbox with
encrypted ZFS using mirror (round-robin balancing). Everything went OK
until installer copied last bites of the system and then I noticed
something like:

cannot create /tmp/...

Here is the log:

Running: find-update-parts
mount: no : No such file or directory
Stopping mirror gm0 ada0
Running: gmirror remove gm0 ada0
Running: dd if=/dev/zero of=/dev/ada0 count=4096
dd: /dev/ada0: Operation not permitted
kern.geom.debugflags: 0 -> 16
Deleting all gparts
Running: gpart delete -i 1 ada0
gpart: table 'ada0' is corrupt: Operation not permitted
Running: gpart delete -i 2 ada0
gpart: table 'ada0' is corrupt: Operation not permitted
Running: gpart delete -i 3 ada0
gpart: table 'ada0' is corrupt: Operation not permitted
Running: gpart delete -i 4 ada0
gpart: table 'ada0' is corrupt: Operation not permitted
Running: gpart destroy ada0
gpart: Device busy
Clearing gpt backup table location on disk
Running: dd if=/dev/zero of=ada0 bs=512 seek=41942973
dd: ada0: end of device
68+0 records in
67+0 records out
34304 bytes transferred in 0.055524 secs (617822 bytes/sec)
Running: dd if=/dev/zero of=/dev/ada0 count=3000
3000+0 records in
3000+0 records out
1536000 bytes transferred in 1.075292 secs (1428449 bytes/sec)
Running gpart on ada0
Running: gpart create -s mbr ada0
ada0 created
Running gpart add on ada0
Running: gpart add -b 2016 -s 41940864 -t freebsd -i 1 ada0
ada0s1 added
Cleaning up ada0s1
Running: dd if=/dev/zero of=/dev/ada0s1 count=1024
1024+0 records in
1024+0 records out
524288 bytes transferred in 0.440006 secs (1191547 bytes/sec)
Stamping boot1 on ada0
Running: gpart bootcode -b /boot/boot1 ada0
bootcode written to ada0
Running: gpart create -s BSD ada0s1
ada0s1 created
Running: gpart add -s 1024M -t freebsd-ufs -i 1 ada0s1
ada0s1a added
Running: gpart add -s 2558M -t freebsd-swap -i 2 ada0s1
ada0s1b added
Running: gpart add -s 16893M -t freebsd-zfs -i 4 ada0s1
ada0s1d added
Running: gpart bootcode -b /boot/boot ada0s1
bootcode written to ada0s1
NEWFS: /dev/ada0s1a - UFS
Running: newfs /dev/ada0s1a
/dev/ada0s1a: 1024.0MB (2097152 sectors) block size 16384, fragment size 2048
	using 6 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
super-block backups (for fsck -b #) at:
 160, 376416, 752672, 1128928, 1505184, 1881440
Running: sync
Running: glabel label boot0 /dev/ada0s1a
Running: sync
Running: sync
Running: glabel label swap0 /dev/ada0s1b
Running: sync
Creating geli provider for ada0s1d
Running: dd if=/dev/random of=/tmp/.pc-sysinstall/.geli-keys/ada0s1d.key bs=64 count=1
1+0 records in
1+0 records out
64 bytes transferred in 0.000042 secs (1516584 bytes/sec)
Running: geli init -b -s 4096 -P -K /tmp/.pc-sysinstall/.geli-keys/ada0s1d.key /dev/ada0s1d

Metadata backup can be found in /var/backups/ada0s1d.eli and
can be restored with the following command:

	# geli restore /var/backups/ada0s1d.eli /dev/ada0s1d

Running: geli attach -p -k /tmp/.pc-sysinstall/.geli-keys/ada0s1d.key /dev/ada0s1d
NEWFS: /dev/ada0s1d - ZFS
Running: zpool create -m none -f tank0 ada0s1d.eli
Running: zfs set atime=off tank0
Running: zfs set mountpoint=/mnt tank0
Running: zfs set atime=off tank0
zfs create -p tank0/var
Running: zfs create -p tank0/var
Running: zfs set mountpoint=/mnt/var tank0/var
Running: zfs set atime=off tank0/var
zfs create -p tank0/usr
Running: zfs create -p tank0/usr
Running: zfs set mountpoint=/mnt/usr tank0/usr
Running: zfs set atime=off tank0/usr
mount -o rw /dev/ada0s1a -> /mnt/boot
Running: mount -o rw /dev/ada0s1a /mnt/boot
swapon ada0s1b
Running: swapon /dev/ada0s1b
FOUND DVD: /dev/cd0
pc-sysinstall: Starting Extraction
pc-sysinstall: Extraction Finished
INSTALL COMPONENT: ports
Extracting ports tree...
INSTALL COMPONENT: src
Extracting FREEBSD source tree...
Running chroot command: /usr/bin/cap_mkdb /etc/login.conf
Setting em0 to DHCP on the system.
Running chroot command: cat /.tmpPass | pw useradd -n gour -c "Gour" -h 0 -s "/usr/local/bin/zsh" -m -d "/home/gour" -G "wheel,operator"
Running: rm /mnt/.tmpPass
Running external command: mount -t devfs devfs ${FSMNT}/dev
Running chroot command: touch /var/.runxsetup
Running chroot command: /usr/local/bin/pc-xdgutil updatemenu
Running external command: cp /etc/X11/xorg.conf ${FSMNT}/usr/local/share/pcbsd/xorg-gui/conf/xorg.conf.basic
Running chroot command: sh /usr/local/share/pcbsd/scripts/reset-firewall
Running external command: sh /root/insMetaPkgs.sh base-system,Base-Devel,Base-I18N,XFCE4,XFCE4-Plugins CD
Running external command: umount ${FSMNT}/dev
Setting hostname: gaura
Setting root password
Running chroot command: cat /.rootpw | pw usermod root -h 0
Running: rm /mnt/.rootpw
Running: mkdir -p /mnt//boot-mount/boot
Running: mv /mnt/boot/* /mnt/boot-mount/boot/
Running: mv /mnt/boot-mount/boot /mnt/boot/
Running: umount /dev/mirror/gm0s1a
umount: /dev/mirror/gm0s1a: statfs: No such file or directory
umount: /dev/mirror/gm0s1a: unknown file system
Error 1: umount /dev/mirror/gm0s1a
Running: umount -f /dev/ada0s1a
Running: umount -f /mnt/boot
umount: /mnt/boot: not a file system root directory
Running: umount -f /mnt
Running: umount /cdmnt-install



Any idea?
 

-- 
“In the material world, conceptions of good and bad are
all mental speculations…” (Sri Caitanya Mahaprabhu)

http://atmarama.net | Hlapicina (Croatia) | GPG: CDBF17CA


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.pcbsd.org/pipermail/testing/attachments/20110306/ea87379d/attachment.pgp>


More information about the Testing mailing list