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
vla...@jabber.ru
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"