Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2012 11:27:17 GMT
From:      Dmitry Afanasiev <KOT@MATPOCKuH.Ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/164370: zfs destroy for snapshot fails on i386
Message-ID:  <201201221127.q0MBRH5j024500@red.freebsd.org>
Resent-Message-ID: <201201221130.q0MBUC41038429@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         164370
>Category:       misc
>Synopsis:       zfs destroy for snapshot fails on i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 22 11:30:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Afanasiev
>Release:        FreeBSD 9.0-STABLE i386
>Organization:
>Environment:
FreeBSD kot 9.0-STABLE FreeBSD 9.0-STABLE #55: Fri Jan  6 16:07:09 MSK 2012     root@kot:/usr/obj/usr/src/sys/kot  i386

>Description:
zfs destroy without -R options fails for any snapshot on _i386_ systems.
I have no this problem on my amd64 and sparc64 systems with same source code level.

>How-To-Repeat:
# zpool create tank `mdconfig -a -t swap -s 64m`
# zfs snapshot tank@snap
# zfs destroy -v tank@snap
will destroy tank@snap
will reclaim 0
# echo $?
1
# zfs destroy -rv tank@snap
will destroy tank@snap
will reclaim 0
# echo $?
1
# zfs destroy -Rv tank@snap
will destroy tank@snap
will reclaim 0
# echo $?
0

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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