Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-19-2010, 07:46 AM   #1
Registered: Jun 2009
Location: Spain
Distribution: Various, Ubuntu, Fedora, Open Solaris, Solaris, RHEL, CentOS
Posts: 64

Rep: Reputation: 16
.snapshot filling nfs disk

Hi All

I'm not sure if anyone can help with my odd question.

I have a lot of data on a nfs store external to an Ubuntu machine. I've had problems with the storage becoming full and have spent a very long time deleting files to get absolutely nowhere! Over 25GB of deletions on the 80GB disk has only cleared 1.5GB of space...

You can see below the hidden .snapshot directory, the disk usage for the nfs-store is coming out at 97GB when the disk is only 80GB in size, and the two directories I want on the disk are about 22GB in size.

The .snapshot directory appears to have been made on Friday, I'd like to know if I can:

1) find out what command ran to create/update it
2) re-run the command to update the directory or remove the directory

I'm afraid this goes a bit beyond my capability.

ideasadmin@ideasadmin-desktop:/nfs-store$ ls -la
total 20
drwxr-xr-x  5        500        500 4096 2010-07-16 17:35 .
drwxr-xr-x 22 root       root       4096 2009-07-22 12:18 ..
drwxrwxrwx 18 ideasadmin ideasadmin 4096 2010-07-13 16:04 ASAR_Data
drwxrwxr-x  7 ideasadmin ideasadmin 4096 2009-05-18 16:08 ASAR_Out
drwxrwxrwx  3 root       root       4096 2010-07-15 11:21 .snapshot
ideasadmin@ideasadmin-desktop:/nfs-store$ du -sh .
97G	.
ideasadmin@ideasadmin-desktop:/nfs-store$ du -sh ASAR_Data/ ASAR_Out/ .snapshot/
4.7G	ASAR_Data/
17G	ASAR_Out/
76G	.snapshot/
Thanks in advance.

Old 07-20-2010, 02:17 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

1. I honestly don't know what could be creating your ".snapshot" directory. AFAIK, it's not "standard" - it sounds like it might be some kind of third party program.

2. For example, "" runs on Linux and creates ".snapshot" subdirectories:

3. OK: how to identify the culprit?

One good way is to run "lsof":

'Hope that helps .. PSM
Old 07-21-2010, 05:53 AM   #3
Registered: Jun 2009
Location: Spain
Distribution: Various, Ubuntu, Fedora, Open Solaris, Solaris, RHEL, CentOS
Posts: 64

Original Poster
Rep: Reputation: 16

Thank you very much. I'm afraid I couldn't work out how to get lsof to provide the necessary information, nothing obvious stands out if it is just run, but it looks like a good tool to remember for the future!

I have my suspicions that one of two things has happened:

1) The network admin has recently set something up on a different machine as a "helpful" back up for me. This maybe the case as if I try to do anything (inclusing chown, chmod from root shell) to the information in the .snapshot directory it tells me it is a read only file system.

2) On the day the file was created I was messing around setting up a public/private DSA key and testing the use of rsync to automate the transfer data between two machines. I know rsync can be used to create backups, but I don't think that at any time I gave a command which could have done this and a thorough check of all the logs (syslog and auth.log) and the .bash-history, reveals nothing at all which occured at the time, or could have created the directory - I think this supports theory 1.

It looks like I'm going to have to keep deleting the scraps of data from the machine on a daily basis until the network admin is back from holiday in 2 weeks!

Thanks for your help though.
Old 09-08-2010, 09:04 AM   #4
Registered: Jun 2009
Location: Spain
Distribution: Various, Ubuntu, Fedora, Open Solaris, Solaris, RHEL, CentOS
Posts: 64

Original Poster
Rep: Reputation: 16
Well, I didn have to delete the data for 2 weeks until the network admin got back and fixed the problem!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Something's filling up my disk, but I don't know what it is. Daravon Linux - Newbie 19 03-09-2018 07:27 AM
[SOLVED] Disk filling up. What is the best way to track down rogue files? mintybadger Linux - Server 2 02-07-2010 04:31 AM
Why do we need a portage snapshot on disk? coffeecoffee Gentoo 4 12-15-2009 07:01 PM
ClamAV files filling up disk space noir911 Linux - Server 5 10-10-2008 06:04 AM
ksymoops log filling disk to 100% lobo78 Linux - General 0 06-26-2004 01:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration