Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2013 20:10:55 +0200
From:      =?ISO-8859-1?Q?=D6zkan_KIRIK?= <ozkan.kirik@gmail.com>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   stable/10 r258317 - UFS lock problem
Message-ID:  <CAAcX-AHM6WXmWM1aTmaRETJFSMvAGqXsrCHo9a3nxhU9%2BHQhSQ@mail.gmail.com>

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

I am using FreeBSD 10.0-BETA3 r258317 GENERIC kernel.

I run "portsnap fetch extract".
While extracting files, extracting operation hangs, and i cant kill process.

Output of : "ps ax | grep D+"  ( uninterruptable process list )
% ps ax | grep D+
28933  0  D+    0:00.01 tar -xz --numeric-owner -f
/var/db/portsnap/files/77d41f10d2832f8450e4e02a4db5c0a6131c97d15076ed0c76e761c9ce58338d.gz
-C /usr/ports/emulators/qemu/ (bsdtar)
29051  1  S+    0:00.00 grep D+
%


Because of D flag, process cannot be interrupted even by SIGKILL.
I cannot remove usr/ports folder while this process on D+ state.
If I run rm -r /usr/ports, rm process is flagged as D+ also.

I tested this situation on both vmware workstation and different real
hardware installations. ( Sun Fire X4150, HP DL380G4, Sun X3 servers. )

Problem is repeatable. If you install FreeBSD on ZFS root, problem doesn't
occur.


# mount
/dev/da0p2 on / (ufs, local, journaled soft-updates)
devfs on /dev (devfs, local, multilabel)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAcX-AHM6WXmWM1aTmaRETJFSMvAGqXsrCHo9a3nxhU9%2BHQhSQ>