Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2003 16:26:43 +0400 (MSD)
From:      Dmitry Sivachenko <mitya@cavia.pp.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/52110: FS corruption when using unionfs
Message-ID:  <200305121226.h4CCQhpg000630@tear.demos.su>
Resent-Message-ID: <200305121230.h4CCUECn018635@freefall.freebsd.org>

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

>Number:         52110
>Category:       kern
>Synopsis:       FS corruption when using unionfs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 12 05:30:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Sivachenko
>Release:        FreeBSD 5.1-BETA i386
>Organization:
>Environment:
System: FreeBSD tear.demos.su 5.1-BETA FreeBSD 5.1-BETA #0: Mon May 12 15:23:41 MSD 2003 mitya@tear.demos.su:/usr/obj/usr/src/sys/TEAR i386


	
>Description:

See how-to-repeat.

>How-To-Repeat:

{tear}/home/mitya# mount_unionfs -b /usr/ports /mnt
{tear}/home/mitya# rmdir /mnt/misc

Thus, non-empty directory was removed.  Bug #1.

{tear}/home/mitya# umount /mnt
{tear}/home/mitya# ls -laW /mnt
ls: misc: Bad file descriptor
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
total 2
drwxr-xr-x  2 root  wheel  512 12 อมส 16:24 .
w---------  0 root  wheel    0  1 ัฮื  1970 ..
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Whiteout DOT-DOT directory appeared.  Filesystem corruption.


>Fix:

	


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



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