Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Apr 2005 12:56:35 +0400
From:      Diomidis Spinellis <dds@aueb.gr>
To:        Mike Harding <mvh@ix.netcom.com>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Mounting a powered-down HDD renders system unusable
Message-ID:  <4253A443.5010704@aueb.gr>
In-Reply-To: <1112401017.46421.8.camel@bsd.mvh>
References:  <1112401017.46421.8.camel@bsd.mvh>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Harding wrote:
> On a 5.4-pre system as of the last few days, If I mount a spun down hard
> disk (one I am using only for backup):

This does not answer your question, but may help you solve the problem.
  Try detaching the disk after you are done using it, and attaching it
again before you mount it.  I use this procedure for my backup disk.  It
has the advantage of allowing me to physically isolate the disk from the
computer.  The disk lives on a detachable disk drawer-style cabinet; by
pulling the disk drawer out an inch I severe the electrical connections
between the disk and the computer.  The idea is that even if the
computer gets electrically fried by lightning, the disk will survive.

Thus, the procedure I use is:

atacontrol attach 0
mount /backup
# Perform backup
umount /backup
atacontrol detach 0

-- 
Diomidis Spinellis - http://www.spinellis.gr




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4253A443.5010704>