Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Sep 2016 23:16:39 +0300
From:      Volodymyr Kostyrko <arcade@b1t.name>
To:        freebsd-fs@freebsd.org
Subject:   Re: phantom snapshots
Message-ID:  <57C9DE27.8020806@b1t.name>
In-Reply-To: <bbb97a59-df1c-4ffc-f41b-953b0018c903@kateley.com>
References:  <58816ff0-3ab2-cbae-3d50-c4d5e89d9773@kateley.com> <57C9D1FB.6040904@b1t.name> <bbb97a59-df1c-4ffc-f41b-953b0018c903@kateley.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57C9DE27.8020806>