Date: Tue, 29 Jan 2002 19:36:26 -0800 From: "Hans Christensen" <hansc@escape.com> To: <freebsd-questions@freebsd.org> Subject: Incorrect du and df info woes... Message-ID: <001901c1a93f$4ef99da0$6539a8c0@datamatrix.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi,
I'm having a problem with the filesystem as far as I can tell.
I have several large files in the /smb/muir/vol1/backup directory that do not seem to show up when du or df is queried. I've fsck'ed and rebooted and looked at the pertinent info and all to no avail. I'm stumped!
I'm running FreeBSD 4.4-Stable (FreeBSD 4.4-STABLE #0: Mon Dec 10 03:31:26 PST 2001) and I'm running Samba Version 3.0-alpha13 - I found out that Samba 2.2.2 had problems... I have a Win2K box dropping 11+GB MSSQL backups into a samba share.
I've looked to see if I have any processes open that might keep the filesystem from seeing these .BAK files, but I figure that once I reboot, any lock should be gone.
Any other info that might be helpful I would be happy to provide. Has anybody got a clue for me?
-Hans Christensen
hansc@datamatrix.com
root@muirmon /smb/muir/vol1/backup -># df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s1a 1016303 39000 895999 4% /
/dev/ad0s1f 33712507 1364256 29651251 4% /usr
/dev/ad0s1e 3048942 5199 2799828 0% /var
/dev/ad1s1e 75746877 212570 69474557 0% /smb/muir/vol1
procfs 4 4 0 100% /proc
root@muirmon /smb/muir/vol1/backup -># ll
total 212570
drwxrwxrwx 2 administrator muir - 512 Jan 29 15:01 ./
drwxrwx--- 3 root muir - 512 Jan 11 19:20 ../
-rwxrwx--- 1 nobody muir - 11401780736 Jan 28 09:58 Paradigm_db_200201280213.BAK*
-rwxrwx--- 1 nobody muir - 11416977920 Jan 29 08:10 Paradigm_db_200201290016.BAK*
-rwxrwx--- 1 nobody muir - 40387072 Jan 27 02:08 drconnolly_db_200201270200.BAK*
-rwxrwx--- 1 nobody muir - 40387072 Jan 28 02:07 drconnolly_db_200201280200.BAK*
-rwxrwx--- 1 nobody muir - 40387072 Jan 29 02:09 drconnolly_db_200201290200.BAK*
-rw-rw---- 1 nobody muir - 40845824 Jan 29 15:03 drconnolly_db_200201291455.BAK
root@muirmon /smb/muir/vol1/backup -># df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1a 992M 38M 875M 4% /
/dev/ad0s1f 32G 1.3G 28G 4% /usr
/dev/ad0s1e 2.9G 5.1M 2.7G 0% /var
/dev/ad1s1e 72G 208M 66G 0% /smb/muir/vol1
procfs 4.0K 4.0K 0B 100% /proc
root@muirmon /smb/muir/vol1/backup -># mount
/dev/ad0s1a on / (ufs, local)
/dev/ad0s1f on /usr (ufs, local)
/dev/ad0s1e on /var (ufs, local)
/dev/ad1s1e on /smb/muir/vol1 (ufs, local)
procfs on /proc (procfs, local)
root@muirmon /smb/muir/vol1/backup -># cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/ad0s1b none swap sw 0 0
/dev/ad0s1a / ufs rw 1 1
/dev/ad0s1f /usr ufs rw 2 2
/dev/ad0s1e /var ufs rw 2 2
/dev/ad1s1e /smb/muir/vol1 ufs rw 2 2
/dev/acd0c /cdrom cd9660 ro,noauto 0 0
proc /proc procfs rw 0 0
root@muirmon /smb/muir/vol1/backup -># ps aux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 716 0.0 0.1 428 244 p0 R+ 6:39PM 0:00.00 ps aux
root 1 0.0 0.1 544 316 ?? ILs 9:46AM 0:00.01 /sbin/init --
root 2 0.0 0.0 0 0 ?? DL 9:46AM 0:00.00 (pagedaemon)
root 3 0.0 0.0 0 0 ?? DL 9:46AM 0:00.00 (vmdaemon)
root 4 0.0 0.0 0 0 ?? DL 9:46AM 0:00.02 (bufdaemon)
root 5 0.0 0.0 0 0 ?? DL 9:46AM 0:00.15 (syncer)
root 30 0.0 0.0 208 92 ?? Is 9:46AM 0:00.00 adjkerntz -i
root 144 0.0 0.3 948 644 ?? Ss 5:46PM 0:00.03 /usr/sbin/syslogd -s
root 165 0.0 0.3 1056 764 ?? Is 5:46PM 0:00.00 /usr/sbin/inetd -wW
root 167 0.0 0.3 976 712 ?? Is 5:46PM 0:00.02 /usr/sbin/cron
root 170 0.0 0.6 2216 1608 ?? Is 5:46PM 0:00.33 /usr/sbin/sshd
root 172 0.0 0.2 908 596 ?? Ss 5:46PM 0:00.01 /usr/sbin/usbd
root 175 0.0 0.8 2504 2008 ?? Ss 5:46PM 0:00.08 sendmail: accepting connections (sendmail)
root 209 0.0 0.7 2104 1740 ?? Ss 5:46PM 0:00.08 /usr/local/sbin/httpd
root 218 0.0 0.7 2992 1664 ?? Is 5:46PM 0:00.02 /usr/local/sbin/smbd -D -d2
root 220 0.0 0.6 2096 1584 ?? Ss 5:46PM 0:00.13 /usr/local/sbin/nmbd -D -d2
root 228 0.0 1.0 3240 2500 con- I 5:46PM 0:00.06 /usr/local/sbin/snmpd
root 231 0.0 0.3 948 644 v0 Is+ 5:46PM 0:00.00 /usr/libexec/getty Pc ttyv0
root 232 0.0 0.3 948 644 v1 Is+ 5:46PM 0:00.00 /usr/libexec/getty Pc ttyv1
root 233 0.0 0.3 948 644 v2 Is+ 5:46PM 0:00.00 /usr/libexec/getty Pc ttyv2
root 234 0.0 0.3 948 644 v3 Is+ 5:46PM 0:00.00 /usr/libexec/getty Pc ttyv3
root 235 0.0 0.3 948 644 v4 Is+ 5:46PM 0:00.00 /usr/libexec/getty Pc ttyv4
root 236 0.0 0.3 948 644 v5 Is+ 5:46PM 0:00.00 /usr/libexec/getty Pc ttyv5
root 237 0.0 0.3 948 644 v6 Is+ 5:46PM 0:00.00 /usr/libexec/getty Pc ttyv6
root 238 0.0 0.3 948 644 v7 Is+ 5:46PM 0:00.00 /usr/libexec/getty Pc ttyv7
www 239 0.0 0.7 2128 1740 ?? I 5:46PM 0:00.00 /usr/local/sbin/httpd
www 240 0.0 0.7 2128 1740 ?? I 5:46PM 0:00.00 /usr/local/sbin/httpd
www 241 0.0 0.7 2128 1740 ?? I 5:46PM 0:00.00 /usr/local/sbin/httpd
www 242 0.0 0.7 2128 1740 ?? I 5:46PM 0:00.00 /usr/local/sbin/httpd
www 243 0.0 0.7 2128 1740 ?? I 5:46PM 0:00.00 /usr/local/sbin/httpd
root 246 0.0 0.9 2608 2256 ?? S 5:48PM 0:00.12 sshd: hansc@ttyp0 (sshd)
hansc 247 0.0 0.3 1060 836 p0 Is 5:48PM 0:00.05 -bash (bash)
root 310 0.0 0.4 1068 916 p0 S 5:50PM 0:00.05 /usr/local/bin/bash
root 0 0.0 0.0 0
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4207.2601" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2> I'm having a problem with the
filesystem as far as I can tell. </FONT></DIV>
<DIV><FONT face=Arial size=2> I have several large files in
the /smb/muir/vol1/backup directory that do not seem to show up when du or df is
queried. I've fsck'ed and rebooted and looked at the pertinent info and all to
no avail. </FONT><FONT face=Arial size=2>I'm stumped! </FONT></DIV>
<DIV><FONT face=Arial size=2> I'm running FreeBSD 4.4-Stable
(FreeBSD 4.4-STABLE #0: Mon Dec 10 03:31:26 PST 2001) and I'm running Samba
Version 3.0-alpha13 - I found out that Samba 2.2.2 had problems... I
have a Win2K box dropping 11+GB MSSQL backups into a samba
share. </FONT></DIV>
<DIV><FONT face=Arial size=2> I've looked to see if I have any
processes open that might keep the filesystem from seeing these .BAK files, but
I figure that once I reboot, any lock should be gone.</FONT></DIV>
<DIV><FONT face=Arial size=2> Any other info that might be
helpful I would be happy to provide. Has anybody got a clue for me?</FONT></DIV>
<DIV><FONT face=Arial size=2>-Hans Christensen</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:hansc@datamatrix.com">hansc@datamatrix.com</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><A href="mailto:root@muirmon">root@muirmon</A>
/smb/muir/vol1/backup -># df<BR>Filesystem
1K-blocks Used Avail Capacity
Mounted on<BR>/dev/ad0s1a 1016303
39000 895999 4%
/<BR>/dev/ad0s1f 33712507 1364256 29651251
4% /usr<BR>/dev/ad0s1e
3048942 5199 2799828
0% /var<BR>/dev/ad1s1e 75746877 212570
69474557 0%
/smb/muir/vol1<BR>procfs
4
4 0 100%
/proc<BR><A href="mailto:root@muirmon">root@muirmon</A> /smb/muir/vol1/backup
-># ll<BR>total 212570<BR>drwxrwxrwx 2 administrator muir
- 512 Jan 29 15:01
./<BR>drwxrwx--- 3
root muir
- 512 Jan 11 19:20
../<BR>-rwxrwx--- 1 nobody
muir - 11401780736 Jan 28 09:58
Paradigm_db_200201280213.BAK*<BR>-rwxrwx--- 1
nobody muir - 11416977920
Jan 29 08:10 Paradigm_db_200201290016.BAK*<BR>-rwxrwx--- 1
nobody muir
- 40387072 Jan 27 02:08
drconnolly_db_200201270200.BAK*<BR>-rwxrwx--- 1
nobody muir
- 40387072 Jan 28 02:07
drconnolly_db_200201280200.BAK*<BR>-rwxrwx--- 1
nobody muir
- 40387072 Jan 29 02:09
drconnolly_db_200201290200.BAK*<BR>-rw-rw---- 1
nobody muir
- 40845824 Jan 29 15:03 drconnolly_db_200201291455.BAK<BR><A
href="mailto:root@muirmon">root@muirmon</A> /smb/muir/vol1/backup -># df
-h<BR>Filesystem Size Used Avail
Capacity Mounted on<BR>/dev/ad0s1a 992M
38M 875M 4%
/<BR>/dev/ad0s1f 32G 1.3G
28G 4% /usr<BR>/dev/ad0s1e
2.9G 5.1M 2.7G
0% /var<BR>/dev/ad1s1e 72G
208M 66G 0%
/smb/muir/vol1<BR>procfs
4.0K 4.0K 0B
100% /proc<BR><A href="mailto:root@muirmon">root@muirmon</A>
/smb/muir/vol1/backup -># mount<BR>/dev/ad0s1a on / (ufs,
local)<BR>/dev/ad0s1f on /usr (ufs, local)<BR>/dev/ad0s1e on /var (ufs,
local)<BR>/dev/ad1s1e on /smb/muir/vol1 (ufs, local)<BR>procfs on /proc (procfs,
local)<BR><A href="mailto:root@muirmon">root@muirmon</A> /smb/muir/vol1/backup
-># cat /etc/fstab <BR>#
Device
Mountpoint FStype
Options Dump
Pass#<BR>/dev/ad0s1b
none
swap
sw
0
0<BR>/dev/ad0s1a
/
ufs
rw
1
1<BR>/dev/ad0s1f
/usr
ufs
rw
2
2<BR>/dev/ad0s1e
/var
ufs
rw
2
2<BR>/dev/ad1s1e
/smb/muir/vol1 ufs
rw
2
2<BR>/dev/acd0c
/cdrom cd9660
ro,noauto
0
0<BR>proc
/proc procfs
rw
0 0</FONT></DIV>
<DIV><FONT face=Arial size=2><A href="mailto:root@muirmon">root@muirmon</A>
/smb/muir/vol1/backup -># ps aux<BR>USER PID %CPU
%MEM VSZ RSS TT STAT
STARTED TIME COMMAND<BR>root
716 0.0 0.1 428 244 p0
R+ 6:39PM 0:00.00 ps
aux<BR>root 1 0.0 0.1
544 316 ?? ILs 9:46AM 0:00.01
/sbin/init --<BR>root 2 0.0
0.0 0 0 ??
DL 9:46AM 0:00.00
(pagedaemon)<BR>root 3 0.0
0.0 0 0 ??
DL 9:46AM 0:00.00
(vmdaemon)<BR>root 4 0.0
0.0 0 0 ??
DL 9:46AM 0:00.02
(bufdaemon)<BR>root 5 0.0
0.0 0 0 ??
DL 9:46AM 0:00.15
(syncer)<BR>root 30 0.0 0.0
208 92 ?? Is 9:46AM
0:00.00 adjkerntz -i<BR>root 144 0.0
0.3 948 644 ?? Ss
5:46PM 0:00.03 /usr/sbin/syslogd -s<BR>root
165 0.0 0.3 1056 764 ?? Is
5:46PM 0:00.00 /usr/sbin/inetd -wW<BR>root
167 0.0 0.3 976 712 ??
Is 5:46PM 0:00.02
/usr/sbin/cron<BR>root 170 0.0 0.6 2216
1608 ?? Is 5:46PM 0:00.33
/usr/sbin/sshd<BR>root 172 0.0 0.2
908 596 ?? Ss 5:46PM 0:00.01
/usr/sbin/usbd<BR>root 175 0.0 0.8 2504
2008 ?? Ss 5:46PM 0:00.08 sendmail:
accepting connections (sendmail)<BR>root 209 0.0
0.7 2104 1740 ?? Ss 5:46PM
0:00.08 /usr/local/sbin/httpd<BR>root 218 0.0
0.7 2992 1664 ?? Is 5:46PM
0:00.02 /usr/local/sbin/smbd -D -d2<BR>root 220
0.0 0.6 2096 1584 ?? Ss
5:46PM 0:00.13 /usr/local/sbin/nmbd -D -d2<BR>root
228 0.0 1.0 3240 2500 con- I
5:46PM 0:00.06 /usr/local/sbin/snmpd<BR>root
231 0.0 0.3 948 644 v0 Is+
5:46PM 0:00.00 /usr/libexec/getty Pc ttyv0<BR>root
232 0.0 0.3 948 644 v1 Is+
5:46PM 0:00.00 /usr/libexec/getty Pc ttyv1<BR>root
233 0.0 0.3 948 644 v2 Is+
5:46PM 0:00.00 /usr/libexec/getty Pc ttyv2<BR>root
234 0.0 0.3 948 644 v3 Is+
5:46PM 0:00.00 /usr/libexec/getty Pc ttyv3<BR>root
235 0.0 0.3 948 644 v4 Is+
5:46PM 0:00.00 /usr/libexec/getty Pc ttyv4<BR>root
236 0.0 0.3 948 644 v5 Is+
5:46PM 0:00.00 /usr/libexec/getty Pc ttyv5<BR>root
237 0.0 0.3 948 644 v6 Is+
5:46PM 0:00.00 /usr/libexec/getty Pc ttyv6<BR>root
238 0.0 0.3 948 644 v7 Is+
5:46PM 0:00.00 /usr/libexec/getty Pc
ttyv7<BR>www 239 0.0 0.7 2128
1740 ?? I 5:46PM 0:00.00
/usr/local/sbin/httpd<BR>www 240 0.0
0.7 2128 1740 ?? I 5:46PM
0:00.00 /usr/local/sbin/httpd<BR>www 241 0.0
0.7 2128 1740 ?? I 5:46PM
0:00.00 /usr/local/sbin/httpd<BR>www 242 0.0
0.7 2128 1740 ?? I 5:46PM
0:00.00 /usr/local/sbin/httpd<BR>www 243 0.0
0.7 2128 1740 ?? I 5:46PM
0:00.00 /usr/local/sbin/httpd<BR>root 246 0.0
0.9 2608 2256 ?? S 5:48PM
0:00.12 sshd: <A href="mailto:hansc@ttyp0">hansc@ttyp0</A>
(sshd)<BR>hansc 247 0.0 0.3 1060 836
p0 Is 5:48PM 0:00.05 -bash
(bash)<BR>root 310 0.0 0.4 1068
916 p0 S 5:50PM 0:00.05
/usr/local/bin/bash<BR>root 0 0.0
0.0 0
</FONT></DIV></FONT></DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001901c1a93f$4ef99da0$6539a8c0>
