Unix/Linux Go Back    


UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

Rsync Can I delete .NFS and .fuse files

UNIX for Dummies Questions & Answers


Tags
.fuse files, .nfs files, rsync

 
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 08-25-2013   -   Original Discussion by ajayram
ajayram's Unix or Linux Image
ajayram ajayram is offline
Registered User
 
Join Date: May 2011
Last Activity: 11 September 2015, 9:30 AM EDT
Posts: 38
Thanks: 3
Thanked 0 Times in 0 Posts
Rsync Can I delete .NFS and .fuse files

Hello,

I have some files in a local directory and perform an rsync command with the files in a remote directory, Now when I checked the files in the local and the remote directory, I found some strange filetypes such as this: .nfs0000000001d0c8e000002ff2 , .fuse_hidden000014da00000001 etc etc, also some files ending in a ~ like filename.m~ or filename~

What is the use of these files ?
It is safe to delete these files from both local and remote directory ?
Sponsored Links
    #2  
Old Unix and Linux 08-25-2013   -   Original Discussion by ajayram
vbe's Unix or Linux Image
vbe vbe is online now Forum Staff  
Moderator
 
Join Date: Sep 2005
Last Activity: 27 May 2018, 1:29 PM EDT
Location: Switzerland - GE
Posts: 6,541
Thanks: 307
Thanked 563 Times in 525 Posts
Without seeing the perms (and type) all we know is what you say you have files...
Usually files hidden are hidden purposely and so when you dont know what they are, you should not touch them...
Knowing your OS and the attributes of the files can help us, in telling you more...
Sponsored Links
    #3  
Old Unix and Linux 08-26-2013   -   Original Discussion by ajayram
ajayram's Unix or Linux Image
ajayram ajayram is offline
Registered User
 
Join Date: May 2011
Last Activity: 11 September 2015, 9:30 AM EDT
Posts: 38
Thanks: 3
Thanked 0 Times in 0 Posts
RE : File types

Hello,

Ok I ran an ls -lat command and this is what I get

This is the output for filenames beginning with ,fuse


Code:
 
Output of ls -lt .fuse*
-rw-------. 1 milli milli 657199 Aug 21 12:37 .fuse_hidden000008ea00000001
-rw-------. 1 milli milli 901745 Aug  5 13:50 .fuse_hidden0000063300000001
-rw-------. 1 milli milli 900080 Aug  5 13:42 .fuse_hidden0000099500000001
-rw-------. 1 milli milli 845958 May  5 17:42 .fuse_hidden0000180400000007
-rw-------. 1 milli milli 848917 May  5 15:47 .fuse_hidden000016ac00000004
-rw-------. 1 milli milli 849547 May  5 15:33 .fuse_hidden0000162100000002
-rw-------. 1 milli milli 849400 May  5 15:24 .fuse_hidden000014da00000001

Then the other file type is .nfs


Code:
Output of ls -lt *.nfs
-rw-------. 1 milli milli 36278 Apr  5 14:03 .nfs0000000001d0c8e000002ff2

Btw the OS is Ubuntu 12.10
    #4  
Old Unix and Linux 08-26-2013   -   Original Discussion by ajayram
vbe's Unix or Linux Image
vbe vbe is online now Forum Staff  
Moderator
 
Join Date: Sep 2005
Last Activity: 27 May 2018, 1:29 PM EDT
Location: Switzerland - GE
Posts: 6,541
Thanks: 307
Thanked 563 Times in 525 Posts
These files seemed to be generated when removing files while some processes have still those files open... You will need to investigate a little more in order to explain what/why they are and after, decide to remove them, are you the NFS server?

Instead of actually deleting the file, it is renamed to '.fuse_hidden...' until the last reference is released by fuse:
Filesystem in Userspace (FUSE) is an operating system mechanism for Unix-like computer operating systems that lets non-privileged users create their own file systems without editing kernel code.

Last edited by vbe; 08-26-2013 at 09:39 AM..
Sponsored Links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Is rsync --delete on some files without write permission possible? freddie50 Shell Programming and Scripting 3 07-12-2013 01:55 AM
rsync delete specific files - from different target folder MVEERA Shell Programming and Scripting 0 11-22-2011 08:49 AM
RHEL 5.6 Slow rsync to NFS array general_lee Red Hat 2 03-05-2011 09:52 AM
rsync --delete sarahslagstedt Fedora 7 10-03-2010 03:06 PM



All times are GMT -4. The time now is 01:40 PM.