mksnap_ffs, snapshot issues, again
Branko F. Gračnar
bfg at noviforum.si
Mon Aug 18 13:39:01 PDT 2003
I have 900G array on a promise sx6000 controller
This is freshly formatted filesystem (newfs -L export -O 2 -U -g 48000 -i 2048 -m 0 -o space /dev/pst0s2d)
# df -i /export
/dev/pst0s2d 778742004 216194 778525810 0% 2 445159292 0% /export
# mount | grep export
/dev/pst0s2d on /export (ufs, local, soft-updates)
let's try to create a snapshot of empty filesystem
# cd /export
# mksnap_ffs /export aaa.snap
... after 30 minutes ... snapshot was not created (!!! On a empty filesystem !!!)... Ok, long snapshot creation would be fine if it would not hang all processes, which would like to do something on /export (ls /export for example.). Filesystem cannot be unmounted. mksnap_ffs process cannot be killed. Reboot and foreground fsck helps.
This is 5.1-RELEASE (without patches, with custom kernel -> just picked up generic kernel and removed uneeded stuff.)....
Any ideas, why is this happening? As i mentioned before, this prevents background fsck to make his job done (machine hangs.)
I would really like to solve this issue....
Brane
More information about the freebsd-current
mailing list