Monday, August 31, 2015

FreeBSD panic ffs_valloc dup alloc for samba4

After setup samba4 on FreeBSD10, starting samba cause panic.

 panic: ffs_valloc: dup alloc

UFS journaling and soft updates seemed to crash at  some duplication found.
Setting disable the journaling option works.

Boot at single user mode.

# tunefs -p /
# tunefs -n disable /
# tunefs -j disable /
# mount -u -o rw,noacls /
# rm /.sujournal
# reboot -n

After repaired, system works well and then set journaling again with no errors.

No comments:

Post a Comment