Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2005 02:53:35 -0800
From:      Xin LI <delphij@gmail.com>
To:        Jeremie Le Hen <jeremie@le-hen.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: unmount pending error on 6.0
Message-ID:  <a78074950511100253s400c09a6v8755687dcaaec7e4@mail.gmail.com>
In-Reply-To: <20051110102132.GB17299@obiwan.tataz.chchile.org>
References:  <20051110102132.GB17299@obiwan.tataz.chchile.org>

index | next in thread | previous in thread | raw e-mail

On 11/10/05, Jeremie Le Hen <jeremie@le-hen.org> wrote:
> I run a recent RELENG_6 from three days ago.  This is my file server
> and all my drives are doubled.  I made a small script that mounts the
> mirror disk, rsync all files to it and finally unmount it.
>
> While testing this script, I interrupted the rsync and the script's trap
> tried to unmount the filesystem.  umount(8) seemed to stall for a couple
> of minutes (I didn't mesure precisely) and finally I get the following
> error message :
>
> % /mnt/mp3-mirror: unmount pending error: blocks 0 files 10
>
> What is this ?  How can I debug it ?

My suggestion is that you re-mount the volume read-only, and then do a
"fsck -fy" over it.  Another thing to bet is to do "fsck -Bfy" over
the volume, which does a background fsck (in cases that you want the
volume to be read-write at the moment).

Cheers,

help

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