On Sun, 27 Jan 2002, Paul Copeland wrote:

> Hi All,
> 
> I am a little confused at present.  Lately everytime I boot into Linux (SuSE 
> 7.3 Personal), nearly all the time now, my boot messages tell me that hdb3 
> (the / partition) was not unmounted cleanly, so it scans the disk.
> 
> Now when it shuts down, it tells me that is unmounting all the disks and hdb3 
> is supposedly unmounted.  But the next time I boot in it tells me it is not 
> cleanly unmounted.  I have checked all the included docs and have been to the 
> SuSe website, but I haven't found an answer.  
> 
> The only thing I can think is I recently dleted Wine from my hardrive and 
> since then the problems have started.  Does anyone have any ideas, or has 
> this happened to anyone else?

I sympathise, this isn't going to be an easy one to debug. Basically 
something probably is locking the filesystem and it fails to unmount. This 
could be something as simple as a shell sitting in the directory or more 
likely some program holding a file open that doesen't kill easily. Your 
log doesen't say where the filesystem is mounted, this may help, as will 
any output you can capture as you shutdown, know any shorthand :-)

Try shutting down your system step by step manually, start with the GUI -
shut it down & login at the text console as root, basically kill off
processes that are non-essential - networking, cron, apache, mail, leave
syslog till last (it may catch some info), possibly unmounting the
filesystem in question (eg if it's /home you can do this, but not if it's
/ . For that you'd have to use "mount -o remount,ro /" which will make the
root partition read only.  Further mounting/unmounting will result in
warnings that /etc/mtab could not be updated which is OK under the
circumstances. Finally you should end up with less than a dozen processes 
running, the system should shutdown without stuffing up the filesystem.

> 
> Regards
> Paul
> 
> See part of boot log messages below,
> 
> Kernel logging (ksyslog) stopped.
> Kernel log daemon terminating.
> Boot logging started on /dev/tty1(/dev/console) at Mon Jan 28 10:01:56 2002
> fbmngplay: no process killed
> Run file system check on root for LVM activation
> doneRemounting root file system (/) read/write for vgscan...
> Scanning for LVM volume groups...
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
> vgscan -- WARNING: This program does not do a VGDA backup of your volume group
> 
> Activating LVM volume groups...
> vgchange -- no volume groups found
> 
> Activating swap-devices in /etc/fstab...
> doneChecking file systems...
> fsck 1.24a (02-Sep-2001)
> /dev/hdb3 was not cleanly unmounted, check forced.
> /dev/hdb3: |=                                                       |  1.2%   
> [snipped] |========================================================| 100.0%   
>                                                                               
>  /dev/hdb3: 116909/948416 files (0.5% non-contiguous), 953591/1895670 blocks
> /dev/hdb1: clean, 32/5664 files, 4193/22648 blocks
> doneMounting local file systems...
> proc on /proc type proc (rw)
> devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
> /dev/hdb1 on /boot type ext2 (rw)
> doneActivating remaining swap-devices in /etc/fstab...
> doneSetting up the CMOS clockdone
> Setting up timezone datadone
> Setting up loopback devicedone
> Setting up hostnamedone
> Mount SHM FS on /dev/shmdone
> Configuring serial ports...
> ttyS0 at 0x03f8 (irq = 4) is a 16550A
> Configured serial ports
> doneRunning /etc/init.d/boot.local
> doneCreating /var/log/boot.msg
> done<notice>killproc: kill(23,29)
> Enabling syn flood protectiondone
> Disabling IP forwardingdone
> <notice>killproc: kill(23,3)
> INIT: Entering runlevel: 5
> Boot logging started on /dev/tty1(/dev/console) at Sun Jan 27 23:03:34 2002
> Master Resource Control: previous runlevel: N, switching to runlevel: 5
> 
> 

-- 
---<GRiP>--- 
Web: www.arcadia.au.com/gripz 
Phone/fax: 02 4950 1194   
Mobile: 0408 686 201

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to