Skip to content

Instantly share code, notes, and snippets.

@dlangille
Created March 16, 2022 17:31
Show Gist options
  • Save dlangille/b1dd4a0f0fcf8ee68c7d8b92ebdad8e8 to your computer and use it in GitHub Desktop.
Save dlangille/b1dd4a0f0fcf8ee68c7d8b92ebdad8e8 to your computer and use it in GitHub Desktop.
zpool status - degraded
Mar 15 13:36:02 r720-01 kernel: mps1: mpssas_prepare_remove: Sending reset for target ID 22
Mar 15 13:36:02 r720-01 kernel: da13 at mps1 bus 0 scbus8 target 22 lun 0
Mar 15 13:36:02 r720-01 kernel: da13: <ATA Samsung SSD 850 3B6Q> s/n S3PTNF0JA11513Y detached
Mar 15 13:36:02 r720-01 kernel: mps1: No pending commands: starting remove_device
Mar 15 13:36:02 r720-01 kernel: mps1: Unfreezing devq for target ID 22
Mar 15 13:36:03 r720-01 kernel: (da13:mps1:0:22:0): Periph destroyed
Mar 15 13:36:03 r720-01 ZFS[76470]: vdev state changed, pool_guid=1975810868733347630 vdev_guid=11376585178559251170
Mar 15 13:36:03 r720-01 ZFS[76474]: vdev is removed, pool_guid=1975810868733347630 vdev_guid=11376585178559251170
Mar 15 13:36:04 r720-01 kernel: da13 at mps1 bus 0 scbus8 target 22 lun 0
Mar 15 13:36:04 r720-01 kernel: da13: <ATA Samsung SSD 850 3B6Q> Fixed Direct Access SPC-4 SCSI device
Mar 15 13:36:04 r720-01 kernel: da13: Serial Number S3PTNF0JA11513Y
Mar 15 13:36:04 r720-01 kernel: da13: 600.000MB/s transfers
Mar 15 13:36:04 r720-01 kernel: da13: Command Queueing enabled
Mar 15 13:36:04 r720-01 kernel: da13: 476940MB (976773168 512 byte sectors)
Mar 15 13:36:04 r720-01 kernel: da13: quirks=0x8<4K>
@dlangille
Copy link
Author

[r720-01 dan ~] % sudo zpool online tank_fast da13p1
[r720-01 dan ~] % zpool status tank_fast
  pool: tank_fast
 state: ONLINE
  scan: resilvered 607M in 00:00:05 with 0 errors on Wed Mar 16 17:37:56 2022
config:

	NAME        STATE     READ WRITE CKSUM
	tank_fast   ONLINE       0     0     0
	  mirror-0  ONLINE       0     0     0
	    da14p1  ONLINE       0     0     0
	    da13p1  ONLINE       0     0     0
	  mirror-1  ONLINE       0     0     0
	    da11p1  ONLINE       0     0     0
	    da12p1  ONLINE       0     0     0

errors: No known data errors
[r720-01 dan ~] % 

@dlangille
Copy link
Author

It is lovely how zfs status tells you want commands to run.

@dlangille
Copy link
Author

dlangille commented Mar 16, 2022

Right after the above, this showed up in the logs:

Mar 16 17:37:51 r720-01 ZFS[64034]: vdev state changed, pool_guid=1975810868733347630 vdev_guid=11376585178559251170

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment