[PC-BSD Testing] ZFS fun, not working....

Kris Moore kris at pcbsd.org
Fri May 14 06:08:38 PDT 2010


On 05/13/2010 22:12, Brodey Dover wrote:
> Here is the sysinstall log:
>
> Running: find-update-parts
> kern.geom.debugflags: 0 ->  16
> Deleting all gparts
> Running: dd if=/dev/zero of=/dev/ada0 count=3000
> 3000+0 records in
> 3000+0 records out
> 1536000 bytes transferred in 1.465685 secs (1047974 bytes/sec)
> Cleaning up ada0
> Running: dd if=/dev/zero of=/dev/ada0 count=2048
> 2048+0 records in
> 2048+0 records out
> 1048576 bytes transferred in 0.731222 secs (1434005 bytes/sec)
> Running gpart on ada0
> Running: gpart create -s GPT ada0
> ada0 created
> Running: gpart add -s 128 -t freebsd-boot ada0
> ada0p1 added
> Stamping boot sector on ada0
> Running: gpart bootcode -b /boot/pmbr ada0
> ada0 has bootcode
> Running: gpart add -s 2048M -t freebsd-zfs ada0
> ada0p2 added
> Running: gpart add -s 2046M -t freebsd-swap ada0
> ada0p3 added
> Running: gpart add -s 1024M -t freebsd-zfs ada0
> ada0p4 added
> Running: gpart add -s 10237M -t freebsd-zfs ada0
> ada0p5 added
> Running: gpart bootcode -p /boot/gptzfsboot -i 1 ada0
> NEWFS: /dev/ada0p2 - ZFS
> Running: zpool create -m none -f tank0 ada0p2
> cannot create 'tank0': permission denied
> Error 1: zpool create -m none -f tank0 ada0p2
> Running: umount -f /mnt
> umount: /mnt: not a file system root directory
> Running: umount /cdmnt-install
> umount: /cdmnt-install: statfs: No such file or dir
>
> Regards,
> Brodey
>    

Brodey,

You are trying to install on a disk which already has FreeBSD / PC-BSD 
loaded previously right? I've run into the same issue here, and fixed it 
the other day in SVN. The next snapshot which is building right now 
should have this corrected, can you re-test this when its available?

BTW, to fix it for now, you just need to clear out some of the disk, "dd 
if=/dev/zero of=/dev/ada0 should work, let that run for a bit and then 
cancel out and try it again :)


-- 
Kris Moore
PC-BSD Software
iXsystems



More information about the Testing mailing list