Page 1 of 1

missing files

PostPosted: Tue Jul 18, 2017 6:35 pm
by stumble
Hi all.

I have a two-disk mirror which has suddenly stopped having any files, according to `ls -a`. In every other way it seems fine.

According to `df -h` and similar tools it's fine, and has 490 GB of files. `zpool status`, `zfs mount` and `zfs list` show what I'd expect.

Any advice on how to diagnose the problem?

This is using 1.6.1.

Thank you.

Re: missing files

PostPosted: Wed Jul 19, 2017 5:03 am
by stumble
P.S. It's passed a scrub with no errors.

Re: missing files

PostPosted: Wed Jul 19, 2017 4:07 pm
by stumble
I would be very grateful for advice on how to diagnose this problem.

Note that I have — apparently, at least — LOST DATA on two HEALTHY drives, something which I thought ZFS was good at avoiding. :-(

Re: missing files

PostPosted: Wed Jul 19, 2017 4:26 pm
by lundman
Have you checked if it is mounted? Ie , zfs mount POOL/dataset

Re: missing files

PostPosted: Wed Jul 19, 2017 8:32 pm
by stumble
lundman wrote:Have you checked if it is mounted? Ie , zfs mount POOL/dataset


Ha.

That was the very first thing I checked. But I must have checked incompetently. It turns out that there was a problem with one of the mountpoints. I've fixed that and now everything's fine.

So it wasn't a ZFS problem at all. The reason I thought it was is that I thought I'd checked the mountpoints. I suck. :-)

Thanks for your help.