Page 1 of 1

(ZFS RAIDZ2) Missing around 1TB in files!

Posted: 13 Feb 2016 13:11
by Pheoxy
So I've had a zfs raidz2 pool running for a while but due to work I haven't been using it in a while. As in I get home go to sleep and then work again.

So I've come back to my NAS and was about to watch some TV shows and every few episodes are coming up 0 bytes. I know these files were fine before and also checked around the NAS and its heeps of files that have the same problem.

Does anyone know what I can do to fix this and what caused it?

Re: (ZFS RAIDZ2) Missing around 1TB in files!

Posted: 13 Feb 2016 14:07
by b0ssman
post the status of the zpool,
if its says no errors then its not zfs.

Re: (ZFS RAIDZ2) Missing around 1TB in files!

Posted: 14 Feb 2016 03:05
by Pheoxy
I'm assuming this is what you meant.

Code: Select all

Pool Information & Status
               capacity     operations    bandwidth
pool        alloc   free   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
pheoxynas1  4.96T  5.91T      2     33  61.0K   172K
  raidz2    4.96T  5.91T      2     33  61.0K   172K
    ada0p1      -      -      0      8  10.8K  79.9K
    ada1p1      -      -      1      8  13.8K  78.3K
    ada2p1      -      -      0      7  7.20K  77.2K
    ada3p1      -      -      0      8  5.46K  79.9K
    ada4p1      -      -      1      7  13.1K  78.7K
    ada5p1      -      -      0      6  11.8K  77.5K
----------  -----  -----  -----  -----  -----  -----

Code: Select all

tatus|Disks

Device	Size	Device Model	Description	Serial Number	Filesystem	I/O Statistics	Temperature	Status
ada0	1907730MB	WDC WD20EFRX-68EUZN0 	Western Digital Red 	WD-WCC4M0TEL9R2 	ZFS Storage Pool 	9.53 KiB/t, 10 tps, 0.09 MiB/s 	32 °C 	ONLINE 
ada1	1907730MB	WDC WD20EZRX-00D8PB0 	Western Digital Green 	WD-WCC4NJFU67VE 	ZFS Storage Pool 	9.13 KiB/t, 10 tps, 0.09 MiB/s 	41 °C 	ONLINE 
ada2	1907730MB	ST2000DM001-1CH164 	Seagate Barracuda 7200.14 (AF) 	Z1E8V5JC 	ZFS Storage Pool 	10.12 KiB/t, 8 tps, 0.08 MiB/s 	34 °C 	ONLINE 
ada3	1907726MB	WDC WD20EARX-00ZUDB0 	Western Digital Green 	WD-WMC1H0115785 	ZFS Storage Pool 	9.53 KiB/t, 9 tps, 0.08 MiB/s 	37 °C 	ONLINE 
ada4	1907730MB	ST2000DL003-9VT166 	Seagate Barracuda Green (AF) 	5YD1CW0E 	ZFS Storage Pool 	10.62 KiB/t, 9 tps, 0.09 MiB/s 	43 °C 	ONLINE 
ada5	1907730MB	ST2000DM001-1CH164 	Seagate Barracuda 7200.14 (AF) 	Z340MHYP 	ZFS Storage Pool 	11.99 KiB/t, 7 tps, 0.09 MiB/s 	44 °C 	ONLINE 

Re: (ZFS RAIDZ2) Missing around 1TB in files!

Posted: 14 Feb 2016 09:29
by b0ssman

Re: (ZFS RAIDZ2) Missing around 1TB in files!

Posted: 14 Feb 2016 09:32
by Pheoxy
Ah right, I'll check when get back home tomorrow.

Re: (ZFS RAIDZ2) Missing around 1TB in files!

Posted: 27 Feb 2016 08:34
by Pheoxy
Sorry about the late reply finally got to it. It's on the list but RL is busy at the moment.

Code: Select all

Welcome to PheoxyNAS!pheoxynas ~/ root~$ zpool status -x
  pool: pheoxynas1
 state: DEGRADED
status: One or more devices could not be opened.  Sufficient replicas exist for
        the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
   see: http://illumos.org/msg/ZFS-8000-2Q
  scan: resilvered 6.43G in 0h7m with 0 errors on Sat Jan  2 11:32:55 2016
config:

        NAME                      STATE     READ WRITE CKSUM
        pheoxynas1                DEGRADED     0     0     0
          raidz2-0                DEGRADED     0     0     0
            ada0p1                ONLINE       0     0     0
            ada1p1                ONLINE       0     0     0
            ada2p1                ONLINE       0     0     0
            ada3p1                ONLINE       0     0     0
            ada4p1                ONLINE       0     0     0
            16482232428516941944  UNAVAIL      3     1     0  was /dev/ada5p1

errors: No known data errors

Re: (ZFS RAIDZ2) Missing around 1TB in files!

Posted: 27 Feb 2016 10:08
by b0ssman
so one of your drives failed? you should look into that.

but zfs did not report any file system errors. so it must be something you have done.

Re: (ZFS RAIDZ2) Missing around 1TB in files!

Posted: 27 Feb 2016 10:39
by Pheoxy
I'll set everything to 777 on my shares and copy it all off. Would it be skipping files if it doesn't have the permissions to copy? It should at least come up I'm sure.