Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Feb 2012 12:50:31 -0500
From:      Derek Tattersall <dlt@mebtel.net>
To:        Gary Jennejohn <gljennjohn@googlemail.com>
Cc:        Ryan Stone <rysto32@gmail.com>, current@freebsd.org
Subject:   Re: Can't umount a formerly mounted drive
Message-ID:  <20120204175031.GA1995@oriental.arm.org>
In-Reply-To: <20120204045839.05be4572@ernst.jennejohn.org>
References:  <20120203143438.GA2798@oriental.arm.org> <CAFMmRNy1o8RExje3hsGSrhXNPx1jEVbBZ=rnv=fmZV%2BuUBPqhA@mail.gmail.com> <20120203185053.GA11019@oriental.arm.org> <20120204045839.05be4572@ernst.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Gary Jennejohn <gljennjohn@googlemail.com> [120204 06:24]:
> On Fri, 3 Feb 2012 13:50:53 -0500
> Derek Tattersall <dlt@mebtel.net> wrote:
> 
> > * Ryan Stone <rysto32@gmail.com> [120203 13:41]:
> > > On Fri, Feb 3, 2012 at 9:34 AM, Derek Tattersall <dlt@mebtel.net> wrote:
> > > > I have two drives in a x86-64 machine. ?Drive ada2 has current on it, and
> > > > drive ada1 has 9-stable on it. ?At some point, while running current, I
> > > > mounted the /home partition from stable to copy some files and re-ipled
> > > > the system into stable. ?every thing worked properly. ?Some time later I
> > > > ipled current again. ?I then noticed that the stable /home was mounted
> > > > on /mnt. ?I tried to umount it but the operation failed as /dev/ada1p7
> > > > was not considered mounted. ?Yet with out mounting I could access all
> > > > the files on stable's /home, I could create and delete files.
> > > >
> > > > The current system was cvsup'ed on Wednesday this week, while the stable
> > > > system was cvsup'ed last Sunday. ?Neither system has exhibited any
> > > > hiccups. ?Can somebody explain what has happened her on the current
> > > > system and how it should be corrected?
> > > 
> > > Does "mount" list anything as being mounted on /mnt?  If not, are you
> > > sure that /mnt isn't a symlink to somewhere else?  Or maybe the
> > > contents of the home directory were copied to /mnt by accident?
> > mount command on the current system does not list anything under /mnt.
> > ls /mnt on the current system list the top level directories on ada1p7,
> > the stable /home.  It lists them as soon as a user logs in on a newly
> > booted current system.  It's really frustrating.
> >
> 
> Well, it certainly looks like Ryan's suggestion that files from /home were
> copied to /mnt (with nothing mounted on it) is correct.
> 
> Try mounting /home to a different location, like /mnt1, and compare the
> dates on the suspicious files.  Wouldn't surprise me to find that they
> differ.
> 
> -- 
> Gary Jennejohn
You and Ryan are absolutely right - the problem was my looking for a
complicated answer.  I can't quite figure how I copied the whole file
system but that's what I did.  Thanks for pointing out my incorrect
direction.
-- 
Best regards,
Derek Tattersall
dlt@mebtel.net		dlt666@yahoo.com		 dtatters@gmail.com



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