phantom snapshots

Volodymyr Kostyrko arcade at b1t.name
Fri Sep 2 20:16:43 UTC 2016


Linda Kateley wrote:
>
>
> On 9/2/16 2:24 PM, Volodymyr Kostyrko wrote:
>> Linda Kateley wrote:
>>> So I think I have isolated this to a phantom snapshot. At the end of
>>> this zpool status although the names change everytime I run scrub, it
>>> show unrecoverable error of files in a snapshot that doesn't exit.
>>>
>>> It also has in that zfs dataset it has a .zfs directory with a name of
>>> old snaps.
>>>
>>> Anyone know how to view or clear these phantom snaps? I tried to remove
>>> the files in the snapshot directory, but it is read-only.
>>
>> This looks like pointers to files that were already deleted/purged. I
>> once faced this errors but that was on bad controller, I don't think
>> this can be caused by bad memory/errors. When that happened I scrubbed
>> pool, removed all files noted, cleaned zpool errors (they are
>> persistent, even the file was removed and snapshots doen't exist they
>> are still shown) and scrubbed the pool again.
> How did you remove the files in the snapshot? I keep trying but it is
> read-only? Can I remount it read-write?

I just removed snapshots. Snapshot can't be remounted r/w. Snapshot can 
be cloned to obtain writable FS access, but after that snapshots become 
indestructible until only one snapshot successor remains.

-- 
Sphinx of black quartz judge my vow.


More information about the freebsd-fs mailing list