example of multiple problems where hardware is imperfect

Moderators: jhartley, MSR734, nola

example of multiple problems where hardware is imperfect

Post by grahamperrin » Sun Nov 25, 2012 4:35 am

For reference only, unless developers of ZEVO or ZFS find anything of interest

An incident on 2012-11-24 around 23:57: multiple problems where hardware is imperfect – storage for a sparse bundle disk image is not mounted whilst Time Machine attempts writes to that image

A visual overview of that point in time:

Image

Critically: whilst Time Machine tried to work with an attached sparse bundle disk image, the ZFS file system where that image was stored was no longer mounted.

Other points of interest:

  • a crash of zfs, unsurprising given the situation
  • following a forced restart of the computer, another unexpected split of the LaCie – instead of one ~500 GB device, the operating system found two ~250 GB devices
  • disconnection from FireWire was followed by USB connection and recognition of one larger device.

The 500 GB LaCie Big Disk Extreme (300794EK) and/or its power supply is known to be problematic so I don't seek help, but I set aside a collection of logs.

Considering the most recent output from Terminal (below) I doubt that an import with force will succeed. But I'll try. If I can't force things with zpool then I might try an undocumented feature of zdb.

My aim is to get history with zdb then abandon the hardware (but not throw it away – it's useful for test cases such as this).

Code: Select all
bash-3.2$ sudo zpool import
  pool: winterLaCieBDE
    id: 7505624727452478219
 state: FAULTED
status: One or more devices contains corrupted data.
action: The pool cannot be imported due to damaged devices or data.
   The pool may be active on another system, but can be imported using
   the '-f' flag.
config:

   winterLaCieBDE                               FAULTED  corrupted data
     GPTE_EBE84E4F-017F-4D9A-898E-45AA635579E3  UNAVAIL  corrupted data
bash-3.2$ clear





bash-3.2$ sudo gpt -r show /dev/disk2
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34          6         
         40     409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
     409640  976122400      2  GPT part - 6A898CC3-1DD2-11B2-99A6-080020736631
  976532040     262072         
bash-3.2$ sudo zdb -hvvvvv winterLaCieBDE > ~/Desktop/zdb.txt
zdb: can't open 'winterLaCieBDE': Device not configured
bash-3.2$ zpool list
NAME     SIZE   ALLOC    FREE     CAP  HEALTH  ALTROOT
gjp22   572Gi   406Gi   166Gi     71%  ONLINE  -
bash-3.2$ zpool status
  pool: gjp22
 state: ONLINE
 scan: scrub repaired 0 in 13h7m with 0 errors on Mon Nov 19 23:08:04 2012
config:

   NAME                                         STATE     READ WRITE CKSUM
   gjp22                                        ONLINE       0     0     0
     GPTE_71B8BDA2-3EBA-4B91-9E1C-2AE2B1DAAD06  ONLINE       0     0     0  at disk9s2

errors: No known data errors
bash-3.2$ sudo zpool import -f 7505624727452478219
cannot import 'winterLaCieBDE': one or more devices is currently unavailable
bash-3.2$ exit
exit
macbookpro08-centrim:~ hello$ exit
logout

[Process completed]
Last edited by grahamperrin on Fri Mar 29, 2013 11:50 am, edited 1 time in total.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

link

Post by grahamperrin » Sun Nov 25, 2012 6:26 am

I doubt that an import with force will succeed. But I'll try. If I can't force things with zpool then I might try an undocumented feature of zdb.

My aim is to get history with zdb then abandon the hardware (but not throw it away – it's useful for test cases such as this).


Before I could attempt an import with force, something more interesting happened … with FireWire:


Postscript, correction: the undocumented option -X that I had in mind is not of zdb, it's of zpool import …
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom


Return to General Discussion

Who is online

Users browsing this forum: GoldPn and 1 guest

cron