From owner-freebsd-fs@FreeBSD.ORG Mon May 30 00:36:01 2011 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99A5B106566B; Mon, 30 May 2011 00:36:01 +0000 (UTC) (envelope-from universite@ukr.net) Received: from otrada.od.ua (universite-1-pt.tunnel.tserv24.sto1.ipv6.he.net [IPv6:2001:470:27:140::2]) by mx1.freebsd.org (Postfix) with ESMTP id 080F98FC0A; Mon, 30 May 2011 00:36:00 +0000 (UTC) Received: from [IPv6:2001:470:28:140:20be:fae7:248b:9d98] ([IPv6:2001:470:28:140:20be:fae7:248b:9d98]) (authenticated bits=0) by otrada.od.ua (8.14.4/8.14.4) with ESMTP id p4U0ZtcP015217; Mon, 30 May 2011 03:35:56 +0300 (EEST) (envelope-from universite@ukr.net) Message-ID: <4DE2E666.7040905@ukr.net> Date: Mon, 30 May 2011 03:35:50 +0300 From: "Vladislav V. Prodan" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-bugs@freebsd.org References: <201105292338.p4TNcnbg083717@freefall.freebsd.org> In-Reply-To: <201105292338.p4TNcnbg083717@freefall.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-95.5 required=5.0 tests=FILL_THIS_FORM, FREEMAIL_FROM, FSL_RU_URL, RDNS_NONE, SPF_SOFTFAIL, T_TO_NO_BRKTS_FREEMAIL, USER_IN_WHITELIST autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mary-teresa.otrada.od.ua X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (otrada.od.ua [IPv6:2001:470:28:140::5]); Mon, 30 May 2011 03:35:59 +0300 (EEST) Cc: fs@freebsd.org Subject: Re: kern/157399: [zfs] trouble with: mdconfig force delete && zfs stripe X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2011 00:36:01 -0000 Error occurs in 8.2-CURRENT [3:27]vm1:root->/root# mdconfig -a -t malloc -s 100M md0 [3:28]vm1:root->/root# mdconfig -a -t malloc -s 100M md1 [3:28]vm1:root->/root# zpool create testpools md0 md1 [3:28]vm1:root->/root# dd if=/dev/random of=/testpools/myfile.dat bs=1M count=100 100+0 records in 100+0 records out 104857600 bytes transferred in 1.610346 secs (65114947 bytes/sec) [3:28]vm1:root->/root# mdconfig -d -u 0 -o force [3:28]vm1:root->/root# zpool status pool: tank state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 gpt/disk-ada0 ONLINE 0 0 0 errors: No known data errors pool: test-tank state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM test-tank ONLINE 0 0 0 raidz2 ONLINE 0 0 0 gpt/disk0 ONLINE 0 0 0 gpt/disk1 ONLINE 0 0 0 gpt/disk2 ONLINE 0 0 0 gpt/disk3 ONLINE 0 0 0 gpt/disk4 ONLINE 0 0 0 gpt/disk5 ONLINE 0 0 0 errors: No known data errors pool: testpools state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM testpools ONLINE 0 0 0 md0 ONLINE 0 0 0 md1 ONLINE 0 0 0 errors: No known data errors [3:29]vm1:root->/root# mdconfig -d -u 0 -o force mdconfig: ioctl(/dev/mdctl): No such file or directory [3:29]vm1:root->/root# mdconfig -d -u 0 -o force mdconfig: ioctl(/dev/mdctl): No such file or directory [3:29]vm1:root->/root# mdconfig -d -u 1 -o force [3:29]vm1:root->/root# zpool status pool: tank state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 gpt/disk-ada0 ONLINE 0 0 0 errors: No known data errors pool: test-tank state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM test-tank ONLINE 0 0 0 raidz2 ONLINE 0 0 0 gpt/disk0 ONLINE 0 0 0 gpt/disk1 ONLINE 0 0 0 gpt/disk2 ONLINE 0 0 0 gpt/disk3 ONLINE 0 0 0 gpt/disk4 ONLINE 0 0 0 gpt/disk5 ONLINE 0 0 0 errors: No known data errors pool: testpools state: UNAVAIL scrub: none requested config: NAME STATE READ WRITE CKSUM testpools UNAVAIL 0 0 0 insufficient replicas md0 REMOVED 0 0 0 md1 ONLINE 0 0 0 errors: No known data errors [3:29]vm1:root->/root# mdconfig -d -u 1 -o force mdconfig: ioctl(/dev/mdctl): No such file or directory not responding... After hard reboot: [3:34]vm1:root->/root# uname -a FreeBSD vm1.local 8.2-STABLE FreeBSD 8.2-STABLE #0: Fri May 27 02:30:57 EEST 2011 root@vm1.local:/usr/obj/usr/src/sys/virtualbox.2 amd64 [3:34]vm1:root->/root# zpool status pool: tank state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 gpt/disk-ada0 ONLINE 0 0 0 errors: No known data errors pool: test-tank state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM test-tank ONLINE 0 0 0 raidz2 ONLINE 0 0 0 gpt/disk0 ONLINE 0 0 0 gpt/disk1 ONLINE 0 0 0 gpt/disk2 ONLINE 0 0 0 gpt/disk3 ONLINE 0 0 0 gpt/disk4 ONLINE 0 0 0 gpt/disk5 ONLINE 0 0 0 errors: No known data errors pool: testpools state: UNAVAIL status: One or more devices could not be opened. There are insufficient replicas for the pool to continue functioning. action: Attach the missing device and online it using 'zpool online'. see: http://www.sun.com/msg/ZFS-8000-3C scrub: none requested config: NAME STATE READ WRITE CKSUM testpools UNAVAIL 0 0 0 insufficient replicas md0 UNAVAIL 0 0 0 cannot open md1 UNAVAIL 0 0 0 cannot open -- Vladislav V. Prodan VVP24-UANIC +380[67]4584408 +380[99]4060508 vlad11@jabber.ru