First we create a pool name www: zpool create www da1 da2 da3 da4 da5 da6 Then replace da6 with a new disk. when reboot the box,panic when booting: ZFS:vdev failure,zpool=ww type=vdev.bad_label painc:solaris assert:vdev_config_sync(rvd,txg)==0,file:/usr/src/sys/modules/zfs/../../cddl/contrib/oensolaris/utf/common/fs/zfs/spa.c,line:3014
On Wed, Oct 22, 2008 at 10:33:44PM +0800, lhmwzy wrote:> First we create a pool name www: > zpool create www da1 da2 da3 da4 da5 da6Um, this isn't a RAID - this is a simple concatination of disks. I think what you meant to do was: zpool create www raidz da1 da2 da3 da4 da5 da6 Otherwise, you'll just append all disks, and it makes sense that the system doesn't work... Regards, -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder
I think I have found the problem. I want to do "zpool create www raidz da1 da2 da3 da4 da5 da6",but make a mistake,type "zpool create www da1 da2 da3 da4 da5 da6". Then I remove one disk.Shutdown system and add a new disk. The two disks have an identical size. Then reboot,there is a panic. I know this is my misktake.But should FreeBSD panic or FreeBSD go well but zpool crash only I make too mistakes tonight.:( 2008/10/22 lhmwzy <lhmwzy@gmail.com>:> I think I have found the problem. > I want to do "zpool create www raidz da1 da2 da3 da4 da5 da6",but make > a mistake,type "zpool create www da1 da2 da3 da4 da5 da6". > Then I remove one disk. > Then reboot,there is a panic. > I know this is my misktake.But should FreeBSD panic or FreeBSD go well > but zpool crash only? >
One thing:must copy some data to the pool,remove one disk,shutdown,add a new disk,start the box,get the panic. My box uname -a: FreeBSD freebsd.lpcy.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Tue Oct 21 12:02:30 CST 2008 lhm@freebsd.lpcy.com:/usr/obj/usr/src/sys/lhmwzy amd64