Sponsored Content
Full Discussion: remove .nfs and .swp files
Top Forums Shell Programming and Scripting remove .nfs and .swp files Post 302356172 by northwest on Thursday 24th of September 2009 06:47:45 PM
Old 09-24-2009
remove .nfs and .swp files

Hi,

I'm very new to Unix and trying to work on a file. But when I try to close the file, a .swp file is being created. And when I try to delete the .swp file, a new .nfs file is created.
drwxr-xr-x 7 r226124 xyzAPP 1024 2009-09-24 18:19 ./
drwxr-xr-x 4 r226124 xyzAPP 1024 2009-09-24 18:38 ../
drwxr-xr-x 2 r226124 xyzAPP 80 2009-09-24 15:42 bad/
drwxr-xr-x 2 r226124 xyzAPP 1024 2009-09-24 16:00 ctl/
drwxr-xr-x 2 r226124 xyzAPP 1024 2009-09-24 17:47 data/
drwxr-xr-x 2 r226124 xyzAPP 80 2009-09-24 15:43 discard/
drwxr-xr-x 2 r226124 xyzAPP 80 2009-09-24 15:43 logs/
-rw------- 1 r226124 xyzAPP 12288 2009-09-24 17:51 .nfs00000000005037b900000004
-rw-rw-r-- 1 r226124 xyzAPP 12288 2009-09-24 17:52 .nfs0000000000642e1b00000005
-rw------- 1 r226124 xyzAPP 12288 2009-09-24 18:06 .nfs0000000000644e4c00000007
-rw------- 1 r226124 xyzAPP 12288 2009-09-24 17:56 .nfs00000000007de6da00000006
-rw-rw-r-- 1 r226124 xyzAPP 2519 2009-09-24 17:50 Split.ctl
-rw------- 1 r226124 xyzAPP 4096 2009-09-24 18:02 .Split.ctl.swp
-rw-rw-r-- 1 r226124 xyzAPP 11002 2009-09-24 17:50 Split.log

What could be the issue?

I'm unable to work on the original file (ie Split.ctl).

when trying to edit the file, I'm getting the following message
/home/r226124/Split1
r226124@<host>:266> vi Split.ctl
[6] + Stopped vi Split.ctl

How can I delete the .swp files and the .nfs files.

Thanks.
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

How to manage the .nfs files generated by the system

I'm running a UNIX application on HP-UX which generated logs files every few seconds. Now at times these log files are replicated as .nfs files and sometimes cannot be deleted. Now it reaches a point that i'm not even able to list any files on the logs directory. Normally i restart that server... (0 Replies)
Discussion started by: dowell
0 Replies

2. High Performance Computing

sharing web files via NFS mount

I'm planning to load balance 2 web servers. I'm considering mounting an NFS share between the 2 servers so they can share the data. My question is: does this setup offset some of the benefits of load balancing? although there are 2 web servers, they both still access a single NFS server. Wouldn't... (2 Replies)
Discussion started by: gaspol
2 Replies

3. Linux

/var/tmp/slapd.log.swp delete?

Hi All, Can I delete the above file? It's big, about 1G. It's on a redhat ent 4 with ldap on it. Is that safe to delete? It wasn't been used for already a month and it's in the backup storage. Thanks for any comment you may add. (1 Reply)
Discussion started by: itik
1 Replies

4. UNIX for Advanced & Expert Users

NFS Files system and df command

How can I get the available file system in a given box. Example : When I give df -kh * from /apps I get this out megatron% df -kh * Filesystem Size Used Avail Use% Mounted on fltrinfs1:/fltrinfs1/triapps1/subversion/Linuxx86_64/CollabNet_Subversion ... (1 Reply)
Discussion started by: dashok.83
1 Replies

5. Solaris

NFS mounted files

If I am not a system admin. How can I tell where a particular mounted file is mounted from. (12 Replies)
Discussion started by: Harleyrci
12 Replies

6. AIX

NFS files after reboot

i Have a mount point from NAS and i mount it My AIX manually the system get rebooted by its self and it did not get mounted , how can i make it mounted with the system up in automated way ? (1 Reply)
Discussion started by: thecobra151
1 Replies

7. UNIX for Dummies Questions & Answers

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,... (3 Replies)
Discussion started by: ajayram
3 Replies

8. UNIX for Dummies Questions & Answers

Unable to obtain lock on NFS files

Hello , I am creating a controlfile of database in linux and below is the error coming: SQL> CREATE CONTROLFILE REUSE set DATABASE "newdbcln" RESETLOGS NOARCHIVELOG 2 MAXLOGFILES 5 3 MAXLOGMEMBERS 5 MAXDATAFILES 100 4 5 MAXINSTANCES 1 6 MAXLOGHISTORY... (2 Replies)
Discussion started by: admin_db
2 Replies

9. SCO

Backup of files using NFS a faster way

Hi All! i am trying to copy files from a SCO Openserver 5.0.6 to a NAS Server using NFS. I have a cron job that takes 1.5 hours to run and most of the data is static. I would like to find a faster way. In the event I needed to running manually or avoid an issue with taking down the servers... (9 Replies)
Discussion started by: trolley
9 Replies
UMOUNT.NFS(8)						      System Manager's Manual						     UMOUNT.NFS(8)

NAME
umount.nfs, umount.nfs4 - unmount a Network File System SYNOPSIS
umount.nfs dir [-fvnrlh ] DESCRIPTION
umount.nfs and umount.nfs4 are a part of nfs(5) utilities package, which provides NFS client functionality. umount.nfs4 and umount.nfs are meant to be used by the umount(8) command for unmounting NFS shares. This subcommand, however, can also be used as a standalone command with limited functionality. dir is the directory on which the file system is mounted. OPTIONS
-f Force unmount the file system in case of unreachable NFS system. -v Be verbose. -n Do not update /etc/mtab. By default, an entry is created in /etc/mtab for every mounted file system. Use this option to skip delet- ing an entry. -r In case unmounting fails, try to mount read-only. -l Lazy unmount. Detach the file system from the file system hierarchy now, and cleanup all references to the file system as soon as it is not busy anymore. -h Print help message. NOTE
For further information please refer nfs(5) and umount(8) manual pages. FILES
/etc/fstab file system table /etc/mtab table of mounted file systems SEE ALSO
nfs(5), umount(8), AUTHOR
Amit Gud <agud@redhat.com> 6 Jun 2006 UMOUNT.NFS(8)
All times are GMT -4. The time now is 07:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy