Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2008 12:28:40 -0500
From:      "Andy Christianson" <achristianson@orases.com>
To:        <freebsd-bugs@freebsd.org>
Subject:   random st_birthtime
Message-ID:  <776B93361B7BEE4FAD9E720FFBC746B6BDDB63@34093-EVS4C2.exchange.rackspace.com>

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

=20

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.

=20

The two mounted filesystems with this problem are ext2fs and smbfs.

=20

Here's my output from uname -a:

[root@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@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

=20

Here is some example ls -lU output:

=20

=20

[root@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@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

=20

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:

=20

[root@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@CHEWBACCA/SANDBOX on /mnt/autoboxes/rpeters (smbfs, noatime)

//SVN@GREEDO/SANDBOX on /mnt/autoboxes/koboyle (smbfs, noatime)

//SVN@VADER/SANDBOX on /mnt/autoboxes/mloss (smbfs, noatime)

//SVN@MACMINI/SANDBOX on /mnt/autoboxes/macmini (smbfs, noatime)

//SVN@R2D2/SANDBOX on /mnt/autoboxes/achristianson (smbfs, noatime)

//SVN@BOBAFETT/SANDBOX on /mnt/autoboxes/rgriffin (smbfs, noatime)

//SVN@YODA/SANDBOX on /mnt/autoboxes/vpolyanov (smbfs, noatime)

//SVN@DARTHMAUL/SANDBOX on /mnt/autoboxes/dmercer (smbfs, noatime)

//ADMINISTRATOR@TITAN/BACKUP on /mnt/backup (smbfs, noatime)

//SVN@JANGOFETT/SANDBOX on /mnt/autoboxes/mtomasello (smbfs, noatime)

//SVN@GRIEVOUS/SANDBOX on /mnt/autoboxes/atalabac (smbfs, noatime)

=20

I do not think this is an SMBFS problem, because it happens exactly the
same on /dev/da0s1 (ext2fs).

=20

Any ideas? Thanks in advance for any help!

=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?776B93361B7BEE4FAD9E720FFBC746B6BDDB63>