Greetings, I was experimenting with zfs, and i made the following test, i shutdown the computer during a write operation in a mirrored usb storage filesystem. Here is my configuration NGS USB 2.0 Minihub 4 3 USB Silicom Power Storage Pens 1 GB each These are the ports: hub devices /-------------------------------------------\ | port 2 | port 1 | | c10t0d0p0 | c9t0d0p0 | --------------------------------------------- | port 4 | port 4 | | c12t0d0p0 | c11t0d0p0 | \________________________/ Here is the problem: 1)First i create a mirror with port2 and port1 devices zpool create myPool mirror c10t0d0p0 c9t0d0p0 -bash-3.2# zpool status pool: myPool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM myPool ONLINE 0 0 0 mirror ONLINE 0 0 0 c10t0d0p0 ONLINE 0 0 0 c9t0d0p0 ONLINE 0 0 0 errors: No known data errors pool: rpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 c5t0d0s0 ONLINE 0 0 0 errors: No known data errors 2)zfs create myPool/myfs 3)created a random file (file.txt - more or less 100MB size) digest -a md5 file.txt 3f9d17531d6103ec75ba9762cb250b4c 4)While making a second copy of the file: cp file.txt test & I''ve shutdown the computer while the file was being copied. And restarted the computer again. And here is the result: -bash-3.2# zpool status pool: myPool state: UNAVAIL status: One or more devices could not be used because the label is missing or invalid. There are insufficient replicas for the pool to continue functioning. action: Destroy and re-create the pool from a backup source. see: http://www.sun.com/msg/ZFS-8000-5E scrub: none requested config: NAME STATE READ WRITE CKSUM myPool UNAVAIL 0 0 0 insufficient replicas mirror UNAVAIL 0 0 0 insufficient replicas c12t0d0p0 OFFLINE 0 0 0 c9t0d0p0 FAULTED 0 0 0 corrupted data pool: rpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 c5t0d0s0 ONLINE 0 0 0 errors: No known data errors ------------------------------------------------------------------- I was expecting that only one of the files was corrupted, not the all the filesystem. Thanks & Regards Paulo -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080601/379f717c/attachment.html>
Paulo Soeiro wrote:> Greetings, > > I was experimenting with zfs, and i made the following test, i shutdown > the computer during a write operation > in a mirrored usb storage filesystem. > > Here is my configuration > > NGS USB 2.0 Minihub 4 > 3 USB Silicom Power Storage Pens 1 GB each > > These are the ports: > > hub devices > /-------------------------------------------\ > | port 2 | port 1 | > | c10t0d0p0 | c9t0d0p0 | > --------------------------------------------- > | port 4 | port 4 | > | c12t0d0p0 | c11t0d0p0 | > \________________________/ > > Here is the problem: > > 1)First i create a mirror with port2 and port1 devices > > zpool create myPool mirror c10t0d0p0 c9t0d0p0 > -bash-3.2# zpool status > pool: myPool > state: ONLINE > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > myPool ONLINE 0 0 0 > mirror ONLINE 0 0 0 > c10t0d0p0 ONLINE 0 0 0 > c9t0d0p0 ONLINE 0 0 0 > > errors: No known data errors > > pool: rpool > state: ONLINE > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > rpool ONLINE 0 0 0 > c5t0d0s0 ONLINE 0 0 0 > > errors: No known data errors > > 2)zfs create myPool/myfs > > 3)created a random file (file.txt - more or less 100MB size) > > digest -a md5 file.txt > 3f9d17531d6103ec75ba9762cb250b4c > > 4)While making a second copy of the file: > > cp file.txt test & > > I''ve shutdown the computer while the file was being copied. And > restarted the computer again. And here is the result: > > > -bash-3.2# zpool status > pool: myPool > state: UNAVAIL > status: One or more devices could not be used because the label is missing > or invalid. There are insufficient replicas for the pool to continue > functioning. > action: Destroy and re-create the pool from a backup source. > see: http://www.sun.com/msg/ZFS-8000-5E > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > myPool UNAVAIL 0 0 0 insufficient replicas > mirror UNAVAIL 0 0 0 insufficient replicas > c12t0d0p0 OFFLINE 0 0 0 > c9t0d0p0 FAULTED 0 0 0 corrupted data > > pool: rpool > state: ONLINE > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > rpool ONLINE 0 0 0 > c5t0d0s0 ONLINE 0 0 0 > > errors: No known data errors > > ------------------------------------------------------------------- > > I was expecting that only one of the files was corrupted, not the all > the filesystem.This looks exactly like the problem I had (thread "USB stick unavailable after restart") and the answer I got was that you can''t relay on the HUB ... I haven''t tried another HUB yet but will eventually test the Adaptec XHub 4 (AUH-4000) which is on the HCL list...
Thommy, If I read correctly your post stated that the pools did not automount on startup, not that they would go corrupt. It seems to me that Paulo is actually experiencing a corrupt fs -----Original Message----- From: zfs-discuss-bounces at opensolaris.org [mailto:zfs-discuss-bounces at opensolaris.org] On Behalf Of Thommy M. Sent: 02 June 2008 13:19 To: zfs-discuss at opensolaris.org Subject: Re: [zfs-discuss] ZFS problems with USB Storage devices Paulo Soeiro wrote:> Greetings, > > I was experimenting with zfs, and i made the following test, i shutdown > the computer during a write operation > in a mirrored usb storage filesystem. > > Here is my configuration > > NGS USB 2.0 Minihub 4 > 3 USB Silicom Power Storage Pens 1 GB each > > These are the ports: > > hub devices > /-------------------------------------------\ > | port 2 | port 1 | > | c10t0d0p0 | c9t0d0p0 | > --------------------------------------------- > | port 4 | port 4 | > | c12t0d0p0 | c11t0d0p0 | > \________________________/ > > Here is the problem: > > 1)First i create a mirror with port2 and port1 devices > > zpool create myPool mirror c10t0d0p0 c9t0d0p0 > -bash-3.2# zpool status > pool: myPool > state: ONLINE > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > myPool ONLINE 0 0 0 > mirror ONLINE 0 0 0 > c10t0d0p0 ONLINE 0 0 0 > c9t0d0p0 ONLINE 0 0 0 > > errors: No known data errors > > pool: rpool > state: ONLINE > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > rpool ONLINE 0 0 0 > c5t0d0s0 ONLINE 0 0 0 > > errors: No known data errors > > 2)zfs create myPool/myfs > > 3)created a random file (file.txt - more or less 100MB size) > > digest -a md5 file.txt > 3f9d17531d6103ec75ba9762cb250b4c > > 4)While making a second copy of the file: > > cp file.txt test & > > I''ve shutdown the computer while the file was being copied. And > restarted the computer again. And here is the result: > > > -bash-3.2# zpool status > pool: myPool > state: UNAVAIL > status: One or more devices could not be used because the label is missing > or invalid. There are insufficient replicas for the pool to continue > functioning. > action: Destroy and re-create the pool from a backup source. > see: http://www.sun.com/msg/ZFS-8000-5E > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > myPool UNAVAIL 0 0 0 insufficient replicas > mirror UNAVAIL 0 0 0 insufficient replicas > c12t0d0p0 OFFLINE 0 0 0 > c9t0d0p0 FAULTED 0 0 0 corrupted data > > pool: rpool > state: ONLINE > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > rpool ONLINE 0 0 0 > c5t0d0s0 ONLINE 0 0 0 > > errors: No known data errors > > ------------------------------------------------------------------- > > I was expecting that only one of the files was corrupted, not the all > the filesystem.This looks exactly like the problem I had (thread "USB stick unavailable after restart") and the answer I got was that you can''t relay on the HUB ... I haven''t tried another HUB yet but will eventually test the Adaptec XHub 4 (AUH-4000) which is on the HCL list... _______________________________________________ zfs-discuss mailing list zfs-discuss at opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3361 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080602/5a1ad872/attachment.bin>
Justin Vassallo wrote:> Thommy, > > If I read correctly your post stated that the pools did not automount on > startup, not that they would go corrupt. It seems to me that Paulo is > actually experiencing a corrupt fsNah, I also had indications of "corrupted data" if you read my posts. But the data was there after I fiddled with the sticks and exported/imported the pool.
Did the same test again and here is the result: 1) zpool create myPool mirror c6t0d0p0 c7t0d0p0 2) -bash-3.2# zfs create myPool/myfs -bash-3.2# zpool status pool: myPool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM myPool ONLINE 0 0 0 mirror ONLINE 0 0 0 c6t0d0p0 ONLINE 0 0 0 c7t0d0p0 ONLINE 0 0 0 errors: No known data errors pool: rpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 c5t0d0s0 ONLINE 0 0 0 errors: No known data errors 3)Copy a file to /myPool/myfs ls -ltrh total 369687 -rwxr-xr-x 1 root root 184M Jun 3 22:38 test.bin 4)Copy a second file cp test.bin test2.bin & And shutdown Startup 5) -bash-3.2# zpool status pool: myPool 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 myPool UNAVAIL 0 0 0 insufficient replicas mirror UNAVAIL 0 0 0 insufficient replicas c6t0d0p0 UNAVAIL 0 0 0 cannot open c7t0d0p0 UNAVAIL 0 0 0 cannot open pool: rpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 c5t0d0s0 ONLINE 0 0 0 errors: No known data errors 6)Remove and attached the usb sticks: zpool status pool: myPool state: UNAVAIL status: One or more devices could not be used because the label is missing or invalid. There are insufficient replicas for the pool to continue functioning. action: Destroy and re-create the pool from a backup source. see: http://www.sun.com/msg/ZFS-8000-5E scrub: none requested config: NAME STATE READ WRITE CKSUM myPool UNAVAIL 0 0 0 insufficient replicas mirror UNAVAIL 0 0 0 insufficient replicas c6t0d0p0 FAULTED 0 0 0 corrupted data c7t0d0p0 FAULTED 0 0 0 corrupted data pool: rpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 c5t0d0s0 ONLINE 0 0 0 errors: No known data errors ----------- So it''s not a hub problem, but it seems to be a zfs & usb storage problem. I just hope zfs works fine on hardisks. Because it''s not working on usb sticks. It would be nice somebody from SUN could fix this problem... Thanks & Regards Paulo On Tue, Jun 3, 2008 at 8:19 PM, Paulo Soeiro <pcsoeiro at gmail.com> wrote:> I''ll try the same without the hub. > > Thanks & Regards > Paulo > > > > > On 6/2/08, Thommy M. <thommym at at-hardeberga.com> wrote: >> >> Paulo Soeiro wrote: >> > Greetings, >> > >> > I was experimenting with zfs, and i made the following test, i shutdown >> > the computer during a write operation >> > in a mirrored usb storage filesystem. >> > >> > Here is my configuration >> > >> > NGS USB 2.0 Minihub 4 >> > 3 USB Silicom Power Storage Pens 1 GB each >> > >> > These are the ports: >> > >> > hub devices >> > /-------------------------------------------\ >> > | port 2 | port 1 | >> > | c10t0d0p0 | c9t0d0p0 | >> > --------------------------------------------- >> > | port 4 | port 4 | >> > | c12t0d0p0 | c11t0d0p0 | >> > \________________________/ >> > >> > Here is the problem: >> > >> > 1)First i create a mirror with port2 and port1 devices >> > >> > zpool create myPool mirror c10t0d0p0 c9t0d0p0 >> > -bash-3.2# zpool status >> > pool: myPool >> > state: ONLINE >> > scrub: none requested >> > config: >> > >> > NAME STATE READ WRITE CKSUM >> > myPool ONLINE 0 0 0 >> > mirror ONLINE 0 0 0 >> > c10t0d0p0 ONLINE 0 0 0 >> > c9t0d0p0 ONLINE 0 0 0 >> > >> > errors: No known data errors >> > >> > pool: rpool >> > state: ONLINE >> > scrub: none requested >> > config: >> > >> > NAME STATE READ WRITE CKSUM >> > rpool ONLINE 0 0 0 >> > c5t0d0s0 ONLINE 0 0 0 >> > >> > errors: No known data errors >> > >> > 2)zfs create myPool/myfs >> > >> > 3)created a random file (file.txt - more or less 100MB size) >> > >> > digest -a md5 file.txt >> > 3f9d17531d6103ec75ba9762cb250b4c >> > >> > 4)While making a second copy of the file: >> > >> > cp file.txt test & >> > >> > I''ve shutdown the computer while the file was being copied. And >> > restarted the computer again. And here is the result: >> > >> > >> > -bash-3.2# zpool status >> > pool: myPool >> > state: UNAVAIL >> > status: One or more devices could not be used because the label is >> missing >> > or invalid. There are insufficient replicas for the pool to >> continue >> > functioning. >> > action: Destroy and re-create the pool from a backup source. >> > see: http://www.sun.com/msg/ZFS-8000-5E >> > scrub: none requested >> > config: >> > >> > NAME STATE READ WRITE CKSUM >> > myPool UNAVAIL 0 0 0 insufficient replicas >> > mirror UNAVAIL 0 0 0 insufficient replicas >> > c12t0d0p0 OFFLINE 0 0 0 >> > c9t0d0p0 FAULTED 0 0 0 corrupted data >> > >> > pool: rpool >> > state: ONLINE >> > scrub: none requested >> > config: >> > >> > NAME STATE READ WRITE CKSUM >> > rpool ONLINE 0 0 0 >> > c5t0d0s0 ONLINE 0 0 0 >> > >> > errors: No known data errors >> > >> > ------------------------------------------------------------------- >> > >> > I was expecting that only one of the files was corrupted, not the all >> > the filesystem. >> >> This looks exactly like the problem I had (thread "USB stick unavailable >> after restart") and the answer I got was that you can''t relay on the HUB >> ... >> >> I haven''t tried another HUB yet but will eventually test the Adaptec >> XHub 4 (AUH-4000) which is on the HCL list... >> >> >> >> >> _______________________________________________ >> zfs-discuss mailing list >> zfs-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >> > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080603/cb73a956/attachment.html>
This test was done without the hub: On Tue, Jun 3, 2008 at 11:33 PM, Paulo Soeiro <pcsoeiro at gmail.com> wrote:> Did the same test again and here is the result: > > 1) > > zpool create myPool mirror c6t0d0p0 c7t0d0p0 > > 2) > > -bash-3.2# zfs create myPool/myfs > > -bash-3.2# zpool status > > pool: myPool > > state: ONLINE > > scrub: none requested > > config: > > NAME STATE READ WRITE CKSUM > > myPool ONLINE 0 0 0 > > mirror ONLINE 0 0 0 > > c6t0d0p0 ONLINE 0 0 0 > > c7t0d0p0 ONLINE 0 0 0 > > errors: No known data errors > > pool: rpool > > state: ONLINE > > scrub: none requested > > config: > > NAME STATE READ WRITE CKSUM > > rpool ONLINE 0 0 0 > > c5t0d0s0 ONLINE 0 0 0 > > errors: No known data errors > > 3)Copy a file to /myPool/myfs > > ls -ltrh > > total 369687 > > -rwxr-xr-x 1 root root 184M Jun 3 22:38 test.bin > > 4)Copy a second file > > cp test.bin test2.bin & > > And shutdown > > Startup > > 5) > > -bash-3.2# zpool status > > pool: myPool > > 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 > > myPool UNAVAIL 0 0 0 insufficient replicas > > mirror UNAVAIL 0 0 0 insufficient replicas > > c6t0d0p0 UNAVAIL 0 0 0 cannot open > > c7t0d0p0 UNAVAIL 0 0 0 cannot open > > pool: rpool > > state: ONLINE > > scrub: none requested > > config: > > NAME STATE READ WRITE CKSUM > > rpool ONLINE 0 0 0 > > c5t0d0s0 ONLINE 0 0 0 > > errors: No known data errors > > 6)Remove and attached the usb sticks: > > zpool status > > pool: myPool > > state: UNAVAIL > > status: One or more devices could not be used because the label is missing > > or invalid. There are insufficient replicas for the pool to continue > > functioning. > > action: Destroy and re-create the pool from a backup source. > > see: http://www.sun.com/msg/ZFS-8000-5E > > scrub: none requested > > config: > > NAME STATE READ WRITE CKSUM > > myPool UNAVAIL 0 0 0 insufficient replicas > > mirror UNAVAIL 0 0 0 insufficient replicas > > c6t0d0p0 FAULTED 0 0 0 corrupted data > > c7t0d0p0 FAULTED 0 0 0 corrupted data > > pool: rpool > > state: ONLINE > > scrub: none requested > > config: > > NAME STATE READ WRITE CKSUM > > rpool ONLINE 0 0 0 > > c5t0d0s0 ONLINE 0 0 0 > > errors: No known data errors > > ----------- > > So it''s not a hub problem, but it seems to be a zfs & usb storage problem. > I just hope zfs works fine on hardisks. Because it''s not working on usb > sticks. It would be nice somebody from SUN could fix this problem... > > > > Thanks & Regards > > Paulo > > > On Tue, Jun 3, 2008 at 8:19 PM, Paulo Soeiro <pcsoeiro at gmail.com> wrote: > >> I''ll try the same without the hub. >> >> Thanks & Regards >> Paulo >> >> >> >> >> On 6/2/08, Thommy M. <thommym at at-hardeberga.com> wrote: >>> >>> Paulo Soeiro wrote: >>> > Greetings, >>> > >>> > I was experimenting with zfs, and i made the following test, i shutdown >>> > the computer during a write operation >>> > in a mirrored usb storage filesystem. >>> > >>> > Here is my configuration >>> > >>> > NGS USB 2.0 Minihub 4 >>> > 3 USB Silicom Power Storage Pens 1 GB each >>> > >>> > These are the ports: >>> > >>> > hub devices >>> > /-------------------------------------------\ >>> > | port 2 | port 1 | >>> > | c10t0d0p0 | c9t0d0p0 | >>> > --------------------------------------------- >>> > | port 4 | port 4 | >>> > | c12t0d0p0 | c11t0d0p0 | >>> > \________________________/ >>> > >>> > Here is the problem: >>> > >>> > 1)First i create a mirror with port2 and port1 devices >>> > >>> > zpool create myPool mirror c10t0d0p0 c9t0d0p0 >>> > -bash-3.2# zpool status >>> > pool: myPool >>> > state: ONLINE >>> > scrub: none requested >>> > config: >>> > >>> > NAME STATE READ WRITE CKSUM >>> > myPool ONLINE 0 0 0 >>> > mirror ONLINE 0 0 0 >>> > c10t0d0p0 ONLINE 0 0 0 >>> > c9t0d0p0 ONLINE 0 0 0 >>> > >>> > errors: No known data errors >>> > >>> > pool: rpool >>> > state: ONLINE >>> > scrub: none requested >>> > config: >>> > >>> > NAME STATE READ WRITE CKSUM >>> > rpool ONLINE 0 0 0 >>> > c5t0d0s0 ONLINE 0 0 0 >>> > >>> > errors: No known data errors >>> > >>> > 2)zfs create myPool/myfs >>> > >>> > 3)created a random file (file.txt - more or less 100MB size) >>> > >>> > digest -a md5 file.txt >>> > 3f9d17531d6103ec75ba9762cb250b4c >>> > >>> > 4)While making a second copy of the file: >>> > >>> > cp file.txt test & >>> > >>> > I''ve shutdown the computer while the file was being copied. And >>> > restarted the computer again. And here is the result: >>> > >>> > >>> > -bash-3.2# zpool status >>> > pool: myPool >>> > state: UNAVAIL >>> > status: One or more devices could not be used because the label is >>> missing >>> > or invalid. There are insufficient replicas for the pool to >>> continue >>> > functioning. >>> > action: Destroy and re-create the pool from a backup source. >>> > see: http://www.sun.com/msg/ZFS-8000-5E >>> > scrub: none requested >>> > config: >>> > >>> > NAME STATE READ WRITE CKSUM >>> > myPool UNAVAIL 0 0 0 insufficient replicas >>> > mirror UNAVAIL 0 0 0 insufficient replicas >>> > c12t0d0p0 OFFLINE 0 0 0 >>> > c9t0d0p0 FAULTED 0 0 0 corrupted data >>> > >>> > pool: rpool >>> > state: ONLINE >>> > scrub: none requested >>> > config: >>> > >>> > NAME STATE READ WRITE CKSUM >>> > rpool ONLINE 0 0 0 >>> > c5t0d0s0 ONLINE 0 0 0 >>> > >>> > errors: No known data errors >>> > >>> > ------------------------------------------------------------------- >>> > >>> > I was expecting that only one of the files was corrupted, not the all >>> > the filesystem. >>> >>> This looks exactly like the problem I had (thread "USB stick unavailable >>> after restart") and the answer I got was that you can''t relay on the HUB >>> ... >>> >>> I haven''t tried another HUB yet but will eventually test the Adaptec >>> XHub 4 (AUH-4000) which is on the HCL list... >>> >>> >>> >>> >>> _______________________________________________ >>> zfs-discuss mailing list >>> zfs-discuss at opensolaris.org >>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >>> >> >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080603/585ada31/attachment.html>
On Jun 3, 2008, at 18:34, Paulo Soeiro wrote:> This test was done without the hub:FWIW, I bought 9 microSD''s and 9 USB controller units for them from NewEgg to replicate the famous ZFS demo video, and I had problems getting them working with OpenSolaris (on VMWare on OSX, in this case). After getting frustrated and thinking about it for a while, I decided to test each MicroSD card and controller independently (using dd) and one of the adapters turned out to be flakey at just writing zeros. It also happened to be the #0 adapter which through me off for a while, since that''s where I started. So, then I was still having problems (but I had tested the remaining units), so I went home for the weekend, and left them plugged into their hubs (i-rocks brand seems OK so far), and came back to a system log full of a second adapter dropping out several times over the weekend (though it survived a quick dd). Taking it off the hub, it did the same thing for me if I waited long enough (10 minutes or so - I assume it was getting warmed up). I''ve also had to replace a server mobo which had a faulty USB implementation (Compaq brand, one of the early USB2.0 chips). Just food for thought - there''s a lot to go wrong before ZFS sees it and USB gear isn''t always well-made. -Bill ----- Bill McGonigle, Owner Work: 603.448.4440 BFC Computing, LLC Home: 603.448.1668 bill at bfccomputing.com Cell: 603.252.2606 http://www.bfccomputing.com/ Page: 603.442.1833 Blog: http://blog.bfccomputing.com/ VCard: http://bfccomputing.com/vcard/bill.vcf
Ricardo M. Correia
2008-Jun-04 23:31 UTC
[zfs-discuss] ZFS problems with USB Storage devices
On Ter, 2008-06-03 at 23:33 +0100, Paulo Soeiro wrote:> 6)Remove and attached the usb sticks: > > zpool status > pool: myPool > state: UNAVAIL > status: One or more devices could not be used because the label is > missing > or invalid. There are insufficient replicas for the pool to continue > functioning. > action: Destroy and re-create the pool from a backup source. > see: http://www.sun.com/msg/ZFS-8000-5E > scrub: none requested > config: > NAME STATE READ WRITE CKSUM > myPool UNAVAIL 0 0 0 insufficient replicas > mirror UNAVAIL 0 0 0 insufficient replicas > c6t0d0p0 FAULTED 0 0 0 corrupted data > c7t0d0p0 FAULTED 0 0 0 corrupted dataThis could be a problem of USB devices getting renumbered (or something to that effect). Try doing "zpool export myPool" and "zpool import myPool" at this point, it should work fine and you should be able to get your data back. Cheers, Ricardo -- Ricardo Manuel Correia Lustre Engineering Sun Microsystems, Inc. Portugal Phone +351.214134023 / x58723 Mobile +351.912590825 Email Ricardo.M.Correia at Sun.COM -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080605/42f9dc6c/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: 6g_top.gif Type: image/gif Size: 1257 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080605/42f9dc6c/attachment.gif>
Hi Ricardo, I''ll try that. Thanks (Obrigado) Paulo Soeiro On 6/5/08, Ricardo M. Correia <Ricardo.M.Correia at sun.com> wrote:> > On Ter, 2008-06-03 at 23:33 +0100, Paulo Soeiro wrote: > > 6)Remove and attached the usb sticks: > > zpool status > pool: myPool > state: UNAVAIL > status: One or more devices could not be used because the label is missing > or invalid. There are insufficient replicas for the pool to continue > functioning. > action: Destroy and re-create the pool from a backup source. > see: http://www.sun.com/msg/ZFS-8000-5E > scrub: none requested > config: > NAME STATE READ WRITE CKSUM > myPool UNAVAIL 0 0 0 insufficient replicas > mirror UNAVAIL 0 0 0 insufficient replicas > c6t0d0p0 FAULTED 0 0 0 corrupted data > c7t0d0p0 FAULTED 0 0 0 corrupted data > > > This could be a problem of USB devices getting renumbered (or something to > that effect). > Try doing "zpool export myPool" and "zpool import myPool" at this point, it > should work fine and you should be able to get your data back. > > Cheers, > Ricardo > -- > *Ricardo Manuel Correia* > Lustre Engineering > > *Sun Microsystems, Inc.* > Portugal > Phone +351.214134023 / x58723 > Mobile +351.912590825 > Email Ricardo.M.Correia at Sun.COM >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080606/1d9c2230/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1257 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080606/1d9c2230/attachment.gif>