kern/150544: Panic, when viewing the list of ZFS snapshots
jhell
jhell at DataIX.net
Tue Sep 14 08:30:09 UTC 2010
The following reply was made to PR kern/150544; it has been noted by GNATS.
From: jhell <jhell at DataIX.net>
To: Martin Matuska <mm at freebsd.org>
Cc: Pawel Jakub Dawidek <pjd at freebsd.org>, Andriy Gapon <avg at freebsd.org>,
"Vladislav V. Prodan" <universite at ukr.net>,
bug-followup at freebsd.org
Subject: Re: kern/150544: Panic, when viewing the list of ZFS snapshots
Date: Tue, 14 Sep 2010 04:26:20 -0400
On 09/14/2010 04:15, Martin Matuska wrote:
> There was one important line missing from the merge from pjd's p4 branch.
>
> Please confirm if this patch works and I will commit it ASAP.
>
> DÅa 14. 9. 2010 10:06, jhell wrote / napÃsal(a):
>> On 09/14/2010 03:45, Pawel Jakub Dawidek wrote:
>>> On Tue, Sep 14, 2010 at 10:25:36AM +0300, Andriy Gapon wrote:
>>>> on 14/09/2010 09:35 Andriy Gapon said the following:
>>>>>
>>>>> Maybe this happens because we don't really support .zfs/shares, but create (or
>>>>> try to create) that directory for some reason?
>>>>>
>>>>
>>>> Could you please test this patch?
>>
>>> The problem was introduced AFAIK by Martin's import of v15. I think it
>>> is handled in my v28 properly, but would need to double check. All in
>>> all, I'd prefer if Martin could handle the problem, as I wasn't involved
>>> in v15 and it is hard to say for me in what shape it is and what bits
>>> are missing (Martin CCed).
>>
>>>> --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c
>>>> +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c
>>>> @@ -128,7 +128,6 @@ static int zfsctl_unmount_snap
>>>> */
>>>> static gfs_dirent_t zfsctl_root_entries[] = {
>>>> { "snapshot", zfsctl_mknode_snapdir, GFS_CACHE_VNODE },
>>>> - { "shares", zfsctl_mknode_shares, GFS_CACHE_VNODE },
>>>> { NULL }
>>>> };
>>
>>
>> Andriy,
>> That patch-up did solve it. As for what those shares directories are
>> good for I am not sure. Do they effect the sharenfs properties at all ?.
>> If so then I know to not apply this and to just not ls(1) or cd(1) that
>> directory until a more proper fix has been applied.
>>
>>
>> Pawel,
>> Alright future replies if I am reading into it correctly, you will be
>> removed from CC. Thank you for listening && looking in.
>>
>>
>> Regards & Thanks again,
>>
Alright patching up right now, get back to you in a moment.
--
jhell,v
More information about the freebsd-bugs
mailing list