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