zpool not degraded, but certain files cause transfers to hang

Discussion in 'FreeBSD and FreeNAS' started by AveryFreeman, May 16, 2018.

  1. AveryFreeman

    AveryFreeman ESXi + ( BSD / ZFS ) = HAPPY

    Joined:
    Mar 17, 2017
    Messages:
    104
    Likes Received:
    9
    Hello,

    I have a pool on a general file server with 6 x 2TB drives configured in a three-group mirror that are very old. The system, for all intensive purposes, appears to be working normally. The pool does not report as degraded.

    However, I have been trying to move certain files using rsync and every time it gets to a certain folder it hangs. It's always transferring the same, or near the same (same folder), file every time it hangs.

    Also du command hangs when gets to folder.

    I have scrubbed the pool several times now and it does not appear to improve the behavior. I also have tested the drives individually using smartmontools and also taken them all out and individually tested each surface using HDDtools on a wintel machine. They all come back basically OK (just old).

    Does anyone have any ideas for what I should do?
     
    #1
  2. MiniKnight

    MiniKnight Well-Known Member

    Joined:
    Mar 30, 2012
    Messages:
    2,760
    Likes Received:
    780
    Are you just trying to move the files once? I wonder if you can scp that folder over, verify the copied version works, then delete the source.
     
    #2
  3. Linda Kateley

    Linda Kateley New Member

    Joined:
    Apr 25, 2017
    Messages:
    21
    Likes Received:
    5
    So if you think they are sitting in “rusty” block then just copy them, zfs will assign the files new blocks. Also you can replace in place the disks
     
    #3
  4. Terry Kennedy

    Terry Kennedy Well-Known Member

    Joined:
    Jun 25, 2015
    Messages:
    955
    Likes Received:
    422
    If the drives are old, how old is the operating system installation? What FreeBSD version is it running ("uname -a")?

    You might want to try downloading a recent FreeBSD ISO or USB stick image and try booting that (in "live cd" mode) and seeing if it has the same problem or not. Caution: Do not use any commands that would modify the ZFS pool (like "upgrade") when running the newer image, or you may no longer be able to access the pool from your old system.
     
    #4
  5. Terry Kennedy

    Terry Kennedy Well-Known Member

    Joined:
    Jun 25, 2015
    Messages:
    955
    Likes Received:
    422
    Note to anyone else replying: This is also being discussed (with more replies) over at the FreeBSD forums.
     
    #5
Similar Threads: zpool degraded
Forum Title Date
FreeBSD and FreeNAS FreeNAS server...will this hardware suffice? Multiple zpools? Feb 21, 2017
FreeBSD and FreeNAS ZFS storage space maximization in large zpools May 24, 2015
FreeBSD and FreeNAS Exanding zpool help Apr 15, 2015
FreeBSD and FreeNAS camcontrol device spindown/spinup scripts for zpools Jan 6, 2011
FreeBSD and FreeNAS Degraded Volume,discuss before I replace disk Jul 28, 2015

Share This Page