random st_birthtime
Andy Christianson
achristianson at orases.com
Thu Mar 20 20:43:09 UTC 2008
Hello,
I am running FreeBSD 7.0-RELEASE AMD64 on a dual dual-core xeon system,
and I am having an odd problem with non-UFS filesystems. Any mounted
filesystem that is not UFS will return a random, negative st_birthtime.
Also, each time I stat the file I get a different value.
The two mounted filesystems with this problem are ext2fs and smbfs.
Here's my output from uname -a:
[root at zeta /mnt/autoboxes/achristianson]# uname -a
FreeBSD zeta.orases.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24
10:35:36 UTC 2008
root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
Here is some example ls -lU output:
[root at zeta /mnt/autoboxes/achristianson]# ls -lU
total 15750
drwxrwxrwx 1 www www 16384 Dec 26 1929 boonshaft
-rwxrwxrwx 1 www www 15964062 Dec 26 1929 cachegrind.out.17937
drwxrwxrwx 1 www www 16384 Dec 26 1929 catgenie
drwxrwxrwx 1 www www 16384 Dec 26 1929 cedarbrook
drwxrwxrwx 1 www www 16384 Dec 26 1929 gams
drwxrwxrwx 1 www www 16384 Dec 26 1929 gamsreview
drwxrwxrwx 1 www www 16384 Dec 26 1929 gamsspec
-rwxrwxrwx 1 www www 0 Dec 26 1929 jesus
drwxrwxrwx 1 www www 16384 Dec 26 1929 lib24watch
-rwxrwxrwx 1 www www 0 Dec 26 1929 newfile
drwxrwxrwx 1 www www 16384 Dec 26 1929 test
-rwxrwxrwx 1 www www 78 Dec 26 1929 testfile
-rwxrwxrwx 1 www www 78 Dec 26 1929 testfile~
drwxrwxrwx 1 www www 16384 Dec 26 1929 usaf2008-impl
drwxrwxrwx 1 www www 16384 Dec 26 1929 yff
[root at zeta /mnt/autoboxes/achristianson]# ls -lU
total 15750
drwxrwxrwx 1 www www 16384 Jan 14 1930 boonshaft
-rwxrwxrwx 1 www www 15964062 Jan 14 1930 cachegrind.out.17937
drwxrwxrwx 1 www www 16384 Jan 14 1930 catgenie
drwxrwxrwx 1 www www 16384 Jan 14 1930 cedarbrook
drwxrwxrwx 1 www www 16384 Jan 14 1930 gams
drwxrwxrwx 1 www www 16384 Jan 14 1930 gamsreview
drwxrwxrwx 1 www www 16384 Jan 14 1930 gamsspec
-rwxrwxrwx 1 www www 0 Jan 14 1930 jesus
drwxrwxrwx 1 www www 16384 Jan 14 1930 lib24watch
-rwxrwxrwx 1 www www 0 Jan 14 1930 newfile
drwxrwxrwx 1 www www 16384 Jan 14 1930 test
-rwxrwxrwx 1 www www 78 Jan 14 1930 testfile
-rwxrwxrwx 1 www www 78 Jan 14 1930 testfile~
drwxrwxrwx 1 www www 16384 Jan 14 1930 usaf2008-impl
drwxrwxrwx 1 www www 16384 Jan 14 1930 yff
Here's some output from mount, so that you can see how things are
mounted. Note that the problem occurs with or without the noatime
option:
[root at zeta /mnt/autoboxes/achristianson]# mount
/dev/mfid0s1a on / (ufs, local, noatime)
devfs on /dev (devfs, local)
/dev/mfid0s1e on /tmp (ufs, local, noatime, soft-updates)
/dev/mfid0s1f on /usr (ufs, local, noatime, soft-updates)
/dev/mfid0s1d on /var (ufs, local, soft-updates)
/dev/da0s1 on /mnt/usb (ext2fs, local, noatime)
//SVN at CHEWBACCA/SANDBOX on /mnt/autoboxes/rpeters (smbfs, noatime)
//SVN at GREEDO/SANDBOX on /mnt/autoboxes/koboyle (smbfs, noatime)
//SVN at VADER/SANDBOX on /mnt/autoboxes/mloss (smbfs, noatime)
//SVN at MACMINI/SANDBOX on /mnt/autoboxes/macmini (smbfs, noatime)
//SVN at R2D2/SANDBOX on /mnt/autoboxes/achristianson (smbfs, noatime)
//SVN at BOBAFETT/SANDBOX on /mnt/autoboxes/rgriffin (smbfs, noatime)
//SVN at YODA/SANDBOX on /mnt/autoboxes/vpolyanov (smbfs, noatime)
//SVN at DARTHMAUL/SANDBOX on /mnt/autoboxes/dmercer (smbfs, noatime)
//ADMINISTRATOR at TITAN/BACKUP on /mnt/backup (smbfs, noatime)
//SVN at JANGOFETT/SANDBOX on /mnt/autoboxes/mtomasello (smbfs, noatime)
//SVN at GRIEVOUS/SANDBOX on /mnt/autoboxes/atalabac (smbfs, noatime)
I do not think this is an SMBFS problem, because it happens exactly the
same on /dev/da0s1 (ext2fs).
Any ideas? Thanks in advance for any help!
More information about the freebsd-bugs
mailing list