Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
zfsvdevs [2017/04/15 05:26] matti.kzfsvdevs [2017/04/15 05:29] (current) matti.k
Line 46: Line 46:
  
 The following is referenced from [[http://www.ctyme.com/intr/rb-0606.htm#Table234|External Link]] The following is referenced from [[http://www.ctyme.com/intr/rb-0606.htm#Table234|External Link]]
 +<code>
 00h    successful completion 00h    successful completion
 01h    invalid function in AH or invalid parameter 01h    invalid function in AH or invalid parameter
Line 82: Line 83:
 E0h    status register error (hard disk) E0h    status register error (hard disk)
 FFh    sense operation failed (hard disk) FFh    sense operation failed (hard disk)
 +</code>
 So  So 
 10h    uncorrectable CRC or ECC error on read 10h    uncorrectable CRC or ECC error on read
Line 89: Line 90:
  
 So going back to my original zpool status output So going back to my original zpool status output
 +<code>
 config: config:
  
Line 99: Line 100:
      ada2p3  ONLINE               0      ada2p3  ONLINE               0
      ada3p3  ONLINE               0      ada3p3  ONLINE               0
 +</code>
 If the faulty disk is still running then do this first If the faulty disk is still running then do this first
  
Line 105: Line 106:
  
 Shutdown the system and replace the faulty disk drive, power on the system Shutdown the system and replace the faulty disk drive, power on the system
 +<code>
 # zpool status # zpool status
  
Line 117: Line 118:
      ada2p3  ONLINE               0      ada2p3  ONLINE               0
      ada3p3  ONLINE               0      ada3p3  ONLINE               0
 +</code>
 # zpool online zroot 15788859347225537330 # zpool online zroot 15788859347225537330
  
Line 125: Line 126:
  
 # zpool offline zroot 15788859347225537330 # zpool offline zroot 15788859347225537330
 +<code>
 # ls /dev/ada* # ls /dev/ada*
 /dev/ada0      /dev/ada1p3    /dev/ada2p3    /dev/ada3p3 /dev/ada0      /dev/ada1p3    /dev/ada2p3    /dev/ada3p3
Line 169: Line 170:
 # gpart add -a 4k -l zfs0 -t freebsd-zfs ada0 # gpart add -a 4k -l zfs0 -t freebsd-zfs ada0
 # gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0 # gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0
- +</code>
 # zpool online zroot 15788859347225537330 # zpool online zroot 15788859347225537330
  
Line 177: Line 178:
  
 Note: if you stuff up the 'gpart add' partitioning then can delete as follows Note: if you stuff up the 'gpart add' partitioning then can delete as follows
 +<code>
 # gpart delete -i 3 ada0 # gpart delete -i 3 ada0
 # gpart delete -i 2 ada0 # gpart delete -i 2 ada0
 # gpart delete -i 1 ada0 # gpart delete -i 1 ada0
 +</code>
  
zfsvdevs.txt · Last modified: 2017/04/15 05:29 by matti.k
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki