[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Lost files...can they be recovered?



This is what I see when I look in the following folder, when it is
unmounted:

[neil laptop neil]$ pwd
/home/neil/mnt/redhat/neil
[neil laptop neil]$ ls -la
total 8
drwxr-xr-x    2 neil     neil         4096 Dec 18 20:56 .
drwxr-xr-x    3 neil     neil         4096 Dec 18 20:56 ..

But I can't seem to cd into either of the neil folders?  Or am I
misreading this?  I see it as two different folders both called neil? 
Is this correct or am I missing something?  If they are there this could
be where the missing folders are?

Thanks again,

Neil.

On Fri, 2002-12-27 at 19:23, Ed Wilts wrote:
> On Fri, Dec 27, 2002 at 05:42:09PM +0000, Neil Loffhagen wrote:
> > This must be one of the most stupid mistakes to b made...
> 
> Nope - it's the fun that's caused by having /mnt/neil be valid if the
> mount point is not really mounted.  I've usually done the reverse -
> tried to backup to /mnt/backups and discovered that my nfs server wasn't
> mounted.  This typically results in filling the root file system :-(.
> 
> > I have a redhat 8 laptop and a redhat 8 server.  The server has samba
> > shares on.  I had just rebooted the laptop and went to the mnt/neil
> > folder and did a drag and drop of files on the local laptop to the
> > share.  But the share was not actually mounted.  I should have realised
> > this, as could see the share name, but no folders underneath.  Once I'd
> > done the drag and drop the various folders disappeared from the local
> > drive?  Guess this was doing a move rather than a copy?  Of course the
> > folders never actually appeared on the server.  It all went too quickly
> > as well.  So now the folders seem to have all disappeared completely? 
> > They are not on the laptop or the server?  Is there any where they could
> > be?  Looked in the trash. It's my whole Evolution setup, so I've lost
> > all previous mail!  And here I was trying to back everything up, so
> > could trash the machine and build it from scratch.  Now I seem to have
> > lost all the files I was trying to make sure were safe :(
> 
> The most likely thing that I see is that you moved the files to the
> *directory* /mnt/neil, not the share.  /mnt/neil is a directory and is
> valid even if nothing is mounted.  If you subsequently mounted the share
> on /mnt/neil, then it looks like your files are gone even if they
> aren't.  umount /mnt/neil and then look in /mnt/neil again.  Move the
> files somewhere else, and the remount /mnt/neil and move the files to
> where they should have gone.
> 
> -- 
> Ed Wilts, Mounds View, MN, USA
> mailto:ewilts ewilts org
> Member #1, Red Hat Community Ambassador Program
> 
> 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]