Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2017 09:35:02 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Panic on external HD disconnection
Message-ID:  <e547f8ef-8bbb-1526-dad5-0e648475571d@netfence.it>
In-Reply-To: <20170608204740.9ad9b1c3.freebsd@edvax.de>
References:  <929de353-94c4-cbf2-9b33-67f60b007a71@netfence.it> <20170608204740.9ad9b1c3.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/08/17 20:47, Polytropon wrote:

> So the disk was mounted at that specific point in time?

Yes, as I said I was taking a backup, so that disk was mounted and was 
being written to.



> Partially understandable. The system will somehow react
> to a mass media device surprisingly removed when it is
> writing to it...

Yes, *partially* understandable.
I just like to know to what extent that "partially" goes.
If I am to expect a full panic, it's ok.
If, somehow, I could get a partial failure, then something is wrong in 
my setup and I'll have to investigate.





> In case of accidental UFS disconnect, reconnect the drive,
> do _not_ attempt to mount it right away, but instead perform
> a full fsck ("fsck -yf /dev/da0", for example) of the file
> system on that disk. In best case, fsck will repair any
> damages that did appear, and then return the file system into
> a consistent state, ready for mounting.

That's what I did after the system came up again.



  bye & Thanks
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e547f8ef-8bbb-1526-dad5-0e648475571d>