Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   Mounting issues (http://www.linux-archive.org/fedora-user/535287-mounting-issues.html)

Ed Greshko 06-05-2011 09:52 AM

Mounting issues
 
Christopher Svanefalk <christopher.svanefalk@gmail.com> wrote:

>Hey guys,
>
>alright, I have the following issue: I was experimenting with mounting
>SMB
>shares on my machine lately, and mounted a remote share to a local
>folder
>(no special commands passed, just a standard mount). What I did not
>know was
>that mount seems to remove all files resident in the mount-folder prior
>to
>the mount.
>
>My question is: is there any way to get the files I had in the folder
>prior
>to the mount back? Or will I have to use a recovery tool? If so, which
>one
>would you recommend?
>

Unmount and you'll see the files are still there.



--
Sent from my Android tablet with K-9 Mail.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

"n2xssvv.g02gfr12930" 06-05-2011 09:54 AM

Mounting issues
 
On 05/06/11 10:27, Christopher Svanefalk wrote:
> Hey guys,
>
> alright, I have the following issue: I was experimenting with mounting
> SMB shares on my machine lately, and mounted a remote share to a local
> folder (no special commands passed, just a standard mount). What I did
> not know was that mount seems to remove all files resident in the
> mount-folder prior to the mount.
>
> My question is: is there any way to get the files I had in the folder
> prior to the mount back? Or will I have to use a recovery tool? If so,
> which one would you recommend?
>
> Thanks in advance!
>
> Chris
>

Chris, I thing you'll find that when you mount a directory to another
location, you don't actually lose what was originally there, but
effectively hide it. Hence it is best to mount to an empty directory.

HTH

cpp4ever

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

David 06-05-2011 09:56 AM

Mounting issues
 
On 5 June 2011 19:27, Christopher Svanefalk
<christopher.svanefalk@gmail.com> wrote:
> Hey guys,
> alright, I have the following issue: I was experimenting with mounting SMB
> shares on my machine lately, and mounted a remote share to a local folder
> (no special commands passed, just a standard mount). What I did not know was
> that mount seems to remove all files resident in the mount-folder prior to
> the mount.
> My question is: is there any way to get the files I had in the folder prior
> to the mount back? Or will I have to use a recovery tool? If so, which one
> would you recommend?

The usual behaviour of a mountpoint is that the previous contents if
any become invisible during the mount, and become visible again when
you unmount. I'm not sure about SMB though. Did you try umount yet?
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Christopher Svanefalk 06-05-2011 10:14 AM

Mounting issues
 
You are all right, I had to reboot my system due to a crash, but after that I could see everything again. Thanks!
On Sun, Jun 5, 2011 at 11:56 AM, David <bouncingcats@gmail.com> wrote:

On 5 June 2011 19:27, Christopher Svanefalk

<christopher.svanefalk@gmail.com> wrote:

> Hey guys,

> alright, I have the following issue: I was experimenting with mounting SMB

> shares on my machine lately, and mounted a remote share to a local folder

> (no special commands passed, just a standard mount). What I did not know was

> that mount seems to remove all files resident in the mount-folder prior to

> the mount.

> My question is: is there any way to get the files I had in the folder prior

> to the mount back? Or will I have to use a recovery tool? If so, which one

> would you recommend?



The usual behaviour of a mountpoint is that the previous contents if

any become invisible during the mount, and become visible again when

you unmount. I'm not sure about SMB though. Did you try umount yet?

--

users mailing list

users@lists.fedoraproject.org

To unsubscribe or change subscription options:

https://admin.fedoraproject.org/mailman/listinfo/users

Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Christopher Svanefalk 06-05-2011 10:17 AM

Mounting issues
 
in other words: it would appear that the files never dissapeared, and that an unmount reverted the visibility of the folder to what was there before. Quite a relief! Thanks again :)

On Sun, Jun 5, 2011 at 12:14 PM, Christopher Svanefalk <christopher.svanefalk@gmail.com> wrote:

You are all right, I had to reboot my system due to a crash, but after that I could see everything again. Thanks!

On Sun, Jun 5, 2011 at 11:56 AM, David <bouncingcats@gmail.com> wrote:


On 5 June 2011 19:27, Christopher Svanefalk

<christopher.svanefalk@gmail.com> wrote:

> Hey guys,

> alright, I have the following issue: I was experimenting with mounting SMB

> shares on my machine lately, and mounted a remote share to a local folder

> (no special commands passed, just a standard mount). What I did not know was

> that mount seems to remove all files resident in the mount-folder prior to

> the mount.

> My question is: is there any way to get the files I had in the folder prior

> to the mount back? Or will I have to use a recovery tool? If so, which one

> would you recommend?



The usual behaviour of a mountpoint is that the previous contents if

any become invisible during the mount, and become visible again when

you unmount. I'm not sure about SMB though. Did you try umount yet?

--

users mailing list

users@lists.fedoraproject.org

To unsubscribe or change subscription options:

https://admin.fedoraproject.org/mailman/listinfo/users

Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines





--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


All times are GMT. The time now is 02:41 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.