[Bug 195278] gjournal UFS: svn update /usr/ports panics with corrupt directory emulators/aqemu/files missing `.' and `..'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 22 12:12:04 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195278

--- Comment #2 from Kenneth Salerno <kennethsalerno at yahoo.com> ---
STEPS TO REPRODUCE:

1. From a clean and consistent file system
   # rm -fr /usr/ports
   # mount -u -o ro /
   # fsck -fy /
   # fsck -fy /
   # mount -u -o rw,noatime,async

2. Checkout ports subversion tree
   # svn checkout http://svn0.us-east.freebsd.org/ports/head /usr/ports

3. Update ports subversion tree
   # svn update /usr/ports <=== kernel panic, reboot

4. UFS file system is now corrupt with directory missing `.' and `..'
   # mount -u -o ro /
   # fssck -fy / <=== fails to write block
   # fsck -fy / <=== fails to write block
   # fsck -fy / <=== fails to write block
   # fsck -fy / <=== must fix manually
   # fsdb /dev/label/rootfs <=== marked dirty
   # fsck -fy / <=== marked clean

5. Glutton for punishment
   # mount -u -o rw,noatime,async
   # svn update /usr/ports <==== another kernel panic

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list