[PC-BSD Testing] mirror fails in 8.2 too (was Re: Next 64bit Snapshot)

Kris Moore kris at pcbsd.org
Wed Mar 30 09:05:42 PDT 2011


On 03/30/2011 07:35, Gour wrote:
> On Mon, 28 Mar 2011 15:43:57 -0400
> Kris Moore<kris at pcbsd.org>  wrote:
>
>> As usual, please let us know of problems here at the -testing mailing
>> list.
> In order to find out from when PC-BSD has problem with install in
> mirror mode, I tried with 8.2 release which fails as well:
>
> Running: find-update-parts
> mount: no : No such file or directory
> Stopping mirror gm0 ad0
> Running: gmirror remove gm0 ad0
> Running: dd if=/dev/zero of=/dev/ad0 count=4096
> 4096+0 records in
> 4096+0 records out
> 2097152 bytes transferred in 0.661247 secs (3171511 bytes/sec)
> kern.geom.debugflags: 0 ->  16
> Deleting all gparts
> Running: gpart destroy ad0
> gpart: geom 'ad0': Invalid argument
> Running: dd if=/dev/zero of=/dev/ad0 count=3000
> 3000+0 records in
> 3000+0 records out
> 1536000 bytes transferred in 0.408288 secs (3762050 bytes/sec)
> Running gpart on ad0
> Running: gpart create -s mbr ad0
> ad0 created
> Running gpart add on ad0
> Running: gpart add -b 2016 -s 41940864 -t freebsd -i 1 ad0
> ad0s1 added
> Cleaning up ad0s1
> Running: dd if=/dev/zero of=/dev/ad0s1 count=1024
> 1024+0 records in
> 1024+0 records out
> 524288 bytes transferred in 0.161319 secs (3250007 bytes/sec)
> Stamping boot1 on ad0
> Running: gpart bootcode -b /boot/boot1 ad0
> bootcode written to ad0
> Running: gpart create -s BSD ad0s1
> ad0s1 created
> Running: gpart add -s 2048M -t freebsd-ufs -i 1 ad0s1
> ad0s1a added
> Running: gpart add -s 2046M -t freebsd-swap -i 2 ad0s1
> ad0s1b added
> Running: gpart add -s 2048M -t freebsd-ufs -i 4 ad0s1
> ad0s1d added
> Running: gpart add -s 14333M -t freebsd-ufs -i 5 ad0s1
> ad0s1e added
> Running: gpart bootcode -b /boot/boot ad0s1
> bootcode written to ad0s1
> NEWFS: /dev/ad0s1a - UFS+S
> Running: newfs -U /dev/ad0s1a
> /dev/ad0s1a: 2048.0MB (4194304 sectors) block size 16384, fragment size 2048
> 	using 12 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
> 	with soft updates
> super-block backups (for fsck -b #) at:
>   160, 376416, 752672, 1128928, 1505184, 1881440, 2257696, 2633952, 3010208,
>   3386464, 3762720, 4138976
> Running: sync
> Running: glabel label rootfs0 /dev/ad0s1a
> Running: sync
> Running: sync
> Running: glabel label swap1 /dev/ad0s1b
> Running: sync
> NEWFS: /dev/ad0s1d - UFS+S
> Running: newfs -U /dev/ad0s1d
> /dev/ad0s1d: 2048.0MB (4194304 sectors) block size 16384, fragment size 2048
> 	using 12 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
> 	with soft updates
> super-block backups (for fsck -b #) at:
>   160, 376416, 752672, 1128928, 1505184, 1881440, 2257696, 2633952, 3010208,
>   3386464, 3762720, 4138976
> Running: sync
> Running: glabel label var0 /dev/ad0s1d
> Running: sync
> NEWFS: /dev/ad0s1e - UFS+S
> Running: newfs -U /dev/ad0s1e
> Reduced frags per cylinder group from 94064 to 94040 to enlarge last cyl group
> /dev/ad0s1e: 14333.0MB (29353984 sectors) block size 16384, fragment size 2048
> 	using 79 cylinder groups of 183.67MB, 11755 blks, 23552 inodes.
> 	with soft updates
> super-block backups (for fsck -b #) at:
>   160, 376320, 752480, 1128640, 1504800, 1880960, 2257120, 2633280, 3009440,
>   3385600, 3761760, 4137920, 4514080, 4890240, 5266400, 5642560, 6018720,
>   6394880, 6771040, 7147200, 7523360, 7899520, 8275680, 8651840, 9028000,
>   9404160, 9780320, 10156480, 10532640, 10908800, 11284960, 11661120, 12037280,
>   12413440, 12789600, 13165760, 13541920, 13918080, 14294240, 14670400,
>   15046560, 15422720, 15798880, 16175040, 16551200, 16927360, 17303520,
>   17679680, 18055840, 18432000, 18808160, 19184320, 19560480, 19936640,
>   20312800, 20688960, 21065120, 21441280, 21817440, 22193600, 22569760,
>   22945920, 23322080, 23698240, 24074400, 24450560, 24826720, 25202880,
>   25579040, 25955200, 26331360, 26707520, 27083680, 27459840, 27836000,
>   28212160, 28588320, 28964480, 29340640
> Running: sync
> Running: glabel label usr0 /dev/ad0s1e
> Running: sync
> mount -o rw /dev/ad0s1a ->  /mnt/
> Running: mount -o rw /dev/ad0s1a /mnt/
> swapon ad0s1b
> Running: swapon /dev/ad0s1b
> mount -o rw /dev/ad0s1d ->  /mnt/var
> Running: mount -o rw /dev/ad0s1d /mnt/var
> mount -o rw /dev/ad0s1e ->  /mnt/usr
> Running: mount -o rw /dev/ad0s1e /mnt/usr
> FOUND DVD: /dev/acd0
> pc-sysinstall: Starting Extraction
> pc-sysinstall: Extraction Finished
> 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 "/bin/csh" -m -d "/home/gour" -G "wheel,operator"
> Running: rm /mnt/.tmpPass
> Running chroot command: cp /usr/PCBSD/xorg-gui/conf/ttys.xsetup /etc/ttys
> Running chroot command: sh /usr/PCBSD/Scripts/reset-firewall
> Running external command: cp /etc/X11/xorg.conf ${FSMNT}/usr/PCBSD/xorg-gui/conf/xorg.conf.basic
> Setting hostname: nitai
> Setting root password
> Running chroot command: cat /.rootpw | pw usermod root -h 0
> Running: rm /mnt/.rootpw
> Running: umount -f /dev/ad0s1d
> Running: umount -f /dev/ad0s1e
> Running: umount -f /mnt
> Running: umount -f /cdmnt-install
> Running: gmirror insert gm0 /dev/ad2
> gmirror: Provider /dev/ad2 already inserted.
> Error 1: gmirror insert gm0 /dev/ad2
> Running: umount -f /dev/ad0s1d
> umount: /dev/ad0s1d: unknown file system
> Running: umount -f /mnt/var
> umount: /mnt/var: statfs: No such file or directory
> umount: /mnt/var: unknown file system
> Running: umount -f /dev/ad0s1e
> umount: /dev/ad0s1e: unknown file system
> Running: umount -f /mnt/usr
> umount: /mnt/usr: statfs: No such file or directory
> umount: /mnt/usr: unknown file system
> Running: umount -f /mnt
> umount: /mnt: not a file system root directory
> Running: umount /cdmnt-install
> umount: /cdmnt-install: not a file system root directory
> Trying DHCP on em0<Intel(R) PRO/1000 Legacy Network Connection
> 1.0.3>
>
>
> So, I'm really curious if mirror option was tested at all?
>
> Otoh, I believe I was able to get mirror with latest 9.0 snapshot by
> manually doing some postpone steps...Have to re-test before posting...
>
>
> Sincerely,
> Gour

I'm re-testing all the mirror options here as well. It was working at 
one point back during 8.0 cycle, but I think some ZFS changes broke it, 
and gmirror may be working a bit different in later releases as well. 
I'll ping back when I get some working setups done :)

-- 
Kris Moore
PC-BSD Software
iXsystems



More information about the Testing mailing list