missing files

All your general support questions for OpenZFS on OS X.

missing files

Postby stumble » Tue Jul 18, 2017 6:35 pm

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.
stumble
 
Posts: 37
Joined: Thu May 15, 2014 7:05 pm

Re: missing files

Postby stumble » Wed Jul 19, 2017 5:03 am

P.S. It's passed a scrub with no errors.
stumble
 
Posts: 37
Joined: Thu May 15, 2014 7:05 pm

Re: missing files

Postby stumble » Wed Jul 19, 2017 4:07 pm

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. :-(
stumble
 
Posts: 37
Joined: Thu May 15, 2014 7:05 pm

Re: missing files

Postby lundman » Wed Jul 19, 2017 4:26 pm

Have you checked if it is mounted? Ie , zfs mount POOL/dataset
User avatar
lundman
 
Posts: 1337
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: missing files

Postby stumble » Wed Jul 19, 2017 8:32 pm

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.
stumble
 
Posts: 37
Joined: Thu May 15, 2014 7:05 pm


Return to General Help

Who is online

Users browsing this forum: No registered users and 19 guests