Rsync Can I delete .NFS and .fuse files


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Rsync Can I delete .NFS and .fuse files
# 1  
Old 08-25-2013
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 ?
# 2  
Old 08-25-2013
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...
# 3  
Old 08-26-2013
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 08-26-2013
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 10:39 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Rsync - delete extra files in Destination without synchronising directories

I have a script that synchronises a directory to a DR server, but to improve the time, I actually use rsync to transfer files * in one batch and also * in another batch - both batches run from the same script and run in the background. My problem is that there isn't much space on the... (1 Reply)
Discussion started by: Catullus
1 Replies

2. UNIX for Advanced & Expert Users

Rsync with --delete but do not delete peer dirs on target

rsync with --delete won't honor the delete if the source is something/*. I want the delete to work, but not to delete directories on the target that are peer to the intended directory. For example, using these source and target file structures: Source on desktop: ~/ Money/ ... (4 Replies)
Discussion started by: JavaMeister
4 Replies

3. Shell Programming and Scripting

Is rsync --delete on some files without write permission possible?

Hello all, I have a problem with rsync command. From a backup server, I use a command like the one below: rsync -av --delete user@host:/home/user/ /home/backup_user/daily_rotating_backup/ In some folders of the user there are some files on which he has removed his write permission on... (3 Replies)
Discussion started by: freddie50
3 Replies

4. Shell Programming and Scripting

rsync delete specific files - from different target folder

Hi, I need to use rsync to delete multiple files(only specified files not all) using --delete option, these files are located in different target folders. Instead of running rsync command multiple times for each file, can we achieve this with one time execution? your help is much... (0 Replies)
Discussion started by: MVEERA
0 Replies

5. Red Hat

RHEL 5.6 Slow rsync to NFS array

Hi All, I have RHEL 5.6 with a 70GB local directory of Web content. Images, PHP scripts etc. I need to copy all this content to an NFS array thats mounted on the RHEL server. I did a baseline cp to copy the content one week ago. Since my baseline copy the local directory has grown by 8GB.... (2 Replies)
Discussion started by: general_lee
2 Replies

6. Fedora

rsync --delete

When I try to back up my libraries with rsync -azv --delete -e ssh /home/sarah/ saga:/home/sarah/bupembladaily/ I get error message rsync: readlink_stat("/home/sarah/.gvfs") failed: Permission denied (13) FATAL I/O ERROR: dying to avoid a --delete-during issue with a pre-3.0.7 receiver.... (7 Replies)
Discussion started by: sarahslagstedt
7 Replies

7. Shell Programming and Scripting

rsync question (regarding --delete)

Hi there Does anybody know of a way that i can, instead of issuing a --delete when syncing one directory to another, I can instead somehow receive a list of what would be deleted, but not actually delete it ? basically, people are occasionally putting files into one of synced folders, but... (2 Replies)
Discussion started by: rethink
2 Replies

8. UNIX for Dummies Questions & Answers

rsync with the --delete option

Tell me this - set me straight! The --delete option says "delete files that don't exist on the sending side" Does this mean and only mean that it will delete files from the DESTINATION that DON'T EXIST on the sending side? :confused: (1 Reply)
Discussion started by: sallender
1 Replies

9. UNIX for Advanced & Expert Users

rsync with the --delete option.

Tell me this - set me straight! the --delete option says "delete files that don't exist on the sending side" Does this mean and only mean that it will delete files from the DESTINATION that DON'T EXIST on the sending side? :confused: (2 Replies)
Discussion started by: sallender
2 Replies
Login or Register to Ask a Question