Date: Tue, 2 Aug 2005 17:09:05 +0000 From: Bryan Maynard <bryan.maynard@reallm.com> To: freebsd-questions@freebsd.org Subject: Re: hard drive not properly dismounted Message-ID: <200508021709.05608.bryan.maynard@reallm.com> In-Reply-To: <080220052008.22881.42EFD2C2000192A70000596121602813029C9B9C0704D39D0A020207990B@att.net> References: <080220052008.22881.42EFD2C2000192A70000596121602813029C9B9C0704D39D0A020207990B@att.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 02 August 2005 08:08 pm, dwinner-lists@att.net wrote: >Hello, > >I have a second hard drive in my docking station that gets mounted at > each boot as /hd2. > >For the past few weeks, everytime I boot, I get the message > >"/hd2 not properly dismounted" > >I have a script in /usr/local/etc/rc.d that automatically mounts and > unmounts /hd2 at boot and shutdown. > >Also, if I just unmount /hd2 manually, I still get that message. > >I've run fsck on it, can still access when booted, and don't see > anything wrong. > >Why am I getting that message? If the laptop (or docking station) lost power or was forcably powered off the drive will be left in an inconsistant state - causing the error message you're seeing. I have had this happen to me a few times. I booted into single-user mode by entering "boot -s" at the boot countdown (after pressing "space"). Once the system is up (and before I mount any drives) I run "fsck -y". This runs fsck and answers "yes" to all questions. Check the man-page for all availible options. If you want to run fsck interactively, leave "-y" off. >Any ideas? Hope that helps :-D >Thanks, >DW Thanks, Bryan -- Open Source: by the people, for the people.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508021709.05608.bryan.maynard>