SOLVED How do I know which disk is causing slow i/o performance?

YamiFrankc

Dabbler
Joined
Feb 20, 2018
Messages
11
Hello,
So I recently got a warning from TrueNAS: "WARNING Device /dev/gptid/472b0daa-282e-11e8-8752-002590a63a4f.eli is causing slow I/O on pool SengokuNadeko"

So from a similar thread on the forum I can tell that its probably because one of my disks is SMR, but how do I translate that message to know which drive I need to replace?

I've been looking around but I do not see that device(?) id anywhere else, I've never done much on TrueNAS other than setting shares and pools so maybe the answer is rally obvious, but I cant find it.

Thanks!
 

YamiFrankc

Dabbler
Joined
Feb 20, 2018
Messages
11
Code:
root@Hanekawa:~ # zpool status -v
  pool: SengokuNadeko
 state: ONLINE
status: One or more devices has experienced an unrecoverable error.  An
        attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
        using 'zpool clear' or replace the device with 'zpool replace'.
   see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-9P
  scan: scrub repaired 896K in 08:34:06 with 0 errors on Sun Apr 11 17:34:13 2021
config:

        NAME                                                STATE     READ WRITE CKSUM
        SengokuNadeko                                       ONLINE       0     0     0
          raidz2-0                                          ONLINE       0     0     0
            gptid/4208438c-282e-11e8-8752-002590a63a4f.eli  ONLINE       0     0     0
            gptid/7bf40605-0216-11eb-af57-002590a63a4f.eli  ONLINE       0     0     0
            gptid/43f0a04b-282e-11e8-8752-002590a63a4f.eli  ONLINE       0     0     0
            gptid/282e45d0-629e-11ea-9b59-002590a63a4f.eli  ONLINE       0     0     0
            gptid/ddfc0ece-6301-11e8-ae86-002590a63a4f.eli  ONLINE      29     0     0
            gptid/472b0daa-282e-11e8-8752-002590a63a4f.eli  ONLINE       0     0     0

errors: No known data errors

  pool: freenas-boot
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not support
        the features. See zpool-features(5) for details.
  scan: scrub repaired 0B in 00:00:42 with 0 errors on Wed Apr 14 03:45:42 2021
config:

        NAME          STATE     READ WRITE CKSUM
        freenas-boot  ONLINE       0     0     0
          ada0p2      ONLINE       0     0     0

errors: No known data errors

Code:
root@Hanekawa:~ # glabel status
                                      Name  Status  Components
gptid/b4d0995f-2807-11e8-87f5-002590a63a4f     N/A  ada0p1
gptid/7bf40605-0216-11eb-af57-002590a63a4f     N/A  ada1p2
gptid/4208438c-282e-11e8-8752-002590a63a4f     N/A  ada2p2
gptid/43f0a04b-282e-11e8-8752-002590a63a4f     N/A  da0p2
gptid/472b0daa-282e-11e8-8752-002590a63a4f     N/A  da1p2
gptid/ddfc0ece-6301-11e8-ae86-002590a63a4f     N/A  da2p2
gptid/282e45d0-629e-11ea-9b59-002590a63a4f     N/A  da3p2


Ok, I found how to know what disk it is.
However, it now seems like I should replace da1 to fix the slow I/O, and I must replace da2 because it has 29 read errors?

I think I only have one drive available to replace at the moment, which one should I replace first?
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
My view
Any rebuild involving SMR will run like a dead snail (in theory) - so replace that one now.
Whilst replacing that one, buy a new drive and once the build completes then replace the disk with errors

I am assuming RaidZ
If mirrored then you ay be able to replace both at the same time (assuming different vdevs)
 

YamiFrankc

Dabbler
Joined
Feb 20, 2018
Messages
11
Thanks.
I have it set up so I can lose up to two drives, I think its called Raid-Z2?

So then I will replace the SMR one first while I wait for a second one to replace the one with errors
 
Top