Date: Mon, 30 May 2011 11:30:18 GMT From: "Vladislav V. Prodan" <universite@ukr.net> To: freebsd-fs@FreeBSD.org Subject: Re: kern/157399: [zfs] trouble with: mdconfig force delete && zfs stripe Message-ID: <201105301130.p4UBUIwI071490@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/157399; it has been noted by GNATS. From: "Vladislav V. Prodan" <universite@ukr.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: kern/157399: [zfs] trouble with: mdconfig force delete && zfs stripe Date: Mon, 30 May 2011 14:28:38 +0300 Error occurs in 8.2-CURRENT, ZFS v15 [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105301130.p4UBUIwI071490>