Date: Fri, 31 Jul 1998 15:18:57 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> To: Jason McNew <jase@clearsail.net> Cc: questions@FreeBSD.ORG Subject: Re: mounts in limbo! Message-ID: <Pine.BSF.4.00.9807311515580.14321-100000@resnet.uoregon.edu> In-Reply-To: <35C1FCA3.416B46EA@clearsail.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 31 Jul 1998, Jason McNew wrote: > Hello, I'm running 2.2.6-release. > My /var/mail and /var/log mounts appear to be in limbo. df shows them > mounted, but I don't see any files in the directory. I'd like to check > the logs, but I can't mount /var/log to look at them. /var and > /var/spool are different slices off of the same scsi drive, and they > appear to be mounting fine. Tried agin after rebooting with no luck. I > could be blind but I diden't find anything about this in the FAQ. Any > ideas how I can resolve this, or at least a pointer to the correct > manual? > > mail# umount /var/mail > umount: /var/mail: Invalid argument > mail# mount /var/mail > /dev/sd0f on /var/mail: Device busy > mail# df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/wd0s1a 31775 17180 12053 59% / > /dev/sd1e 8626063 254762 7681216 3% /home > /dev/sd0e 2980238 22 2741797 0% /var/spool > /dev/sd0f 2980238 198257 2543562 7% /var/mail > /dev/sd0g 1986495 68062 1759514 4% /var/log > /dev/sd0h 678067 5709 618113 1% /var > /dev/wd0s1e 29727 2 27347 0% /tmp > /dev/wd0s1f 1674879 235672 1305217 15% /usr > procfs 4 4 0 100% /proc > mail# fsck /dev/sd0f Don't do this. You risk serious filesystem damage by fsck'ing an active mount. > mail# cd /var/mail > mail# ls -l What does ``ls -l /var'' report? > mail# cd /var/log > mail# ls -l > mail# fstat -f /var/mail > USER CMD PID FD MOUNT INUM MODE SZ|DV R/W > root fstat 351 wd /var 23040 drwxr-xr-x 512 r > root fstat 351 6 /var 92169 -rw-r--r-- 339968 r > jason tcsh 286 wd /var 7680 drwxr-xr-x 512 r > root tcsh 203 wd /var 23040 drwxr-xr-x 512 r > jase tcsh 192 wd /var 76806 drwxr-xr-x 512 r > root sendmail 146 wd /var 69127 drwxr-xr-x 512 r > root cron 142 wd /var 76800 drwxr-x--- 512 r > root cron 142 3 /var 115213 -rw-r--r-- 4 rw > root rpc.statd 123 5 /var 92168 -rw-r--r-- 4096 rw > root syslogd 90 8 /var 76801 -rw------- 68893 w > > and here is my fstab if it helps: > > # Device Mountpoint FStype Options Dump > Pass# > /dev/sd1e /home ufs rw 1 > /dev/sd0e /var/spool ufs rw 0 > /dev/sd0f /var/mail ufs rw 0 > /dev/sd0g /var/log ufs rw 0 > /dev/sd0h /var ufs rw 1 > /dev/wd0s1b none swap sw 0 > /dev/wd0s1a / ufs rw 1 > /dev/wd0s1e /tmp ufs rw 2 > /dev/wd0s1f /usr ufs rw 2 > proc /proc procfs rw 0 > /dev/wcd0c /cdrom cd9660 ro,noauto 0 What version of freebsd is this? Is sd0 a `dangerously dedicated' disk? Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major 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?Pine.BSF.4.00.9807311515580.14321-100000>