Good evening, I've got a question, in our production system there is an application called Intermediate which ftp service is the core to to send back and forth from/to diferent destinations
Gradually FS / was ruuning out space and we took a long time to figure out what precesses were eating up this FS /
our SA found a folder called /dcs/data13 taking up 5.4 GB of space located 0n FS / (root)
to checku up /dcs/data13 is not a FS but a folder mounted in FS /,
I've got a couple of questions:
1 why i cant see the path when execute the command df -h
2 why the application let me create /dcs/data13 asuming it was a path? it shoud have yield an error if filesytem /dcs/data13 didnt exist
3 is true if FS / get 100 % full is probably the server shut itself down ?
I appreciate your help in advanved, here is the scrren of FS mounted
Last edited by jim mcnamara; 03-08-2016 at 12:10 AM..
This will run a while, but will show you a path for each directory, it chops off the list with the 20 largest directories. By largest I mean how much space the directory uses, this includes subdirectories. So with one subdirectory using lots of space each of the parent directories of the biggie will also show up in the list. Hence look for more than just one, I guessed 20, so one of them will likely be the bad guy directory itself.
If you are having problems with processes silently using space, consider implementing quotas on file systems you need to protect. Also, consider NOT having "ordinary applications" access to writable directories on the / FS. Put the directories somewhere else.
Last edited by jim mcnamara; 03-08-2016 at 12:23 AM..
You must restrict find to the file system
Or restrict du ---------- Post updated at 08:23 AM ---------- Previous update was at 08:14 AM ----------
A folder mounted on /dcs/data13 is another file system.
The df shows all currently mounted file systems. I suspect that /dcs/data13 is not permanently mounted via fstab, but on-demand via automounter.
why the application let me create /dcs/data13 asuming it was a path? it shoud have yield an error if filesytem /dcs/data13 didnt exist
Why??? If it were a file system /dcs/data13 would be a mount point no? So it needs to exist for the FS can be mounted, yet if the FS is not mounted then its just a directory and what is stopping you to write in it?...
I think but do not know for sure: you exceeded some limit, likely the number of arguments
- in other words du is finding zillions of files. du -s gives a summary
This will work in that case:
I see this when tried to create a dir using root
fstab entries are pretty normal
tried to remount with rw but it is still the same
block device /dev/sda2 is write-protected
---------- Post updated at 04:57 PM ---------- Previous update was at 03:51 PM ----------
fstab entry ... (4 Replies)
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Hi all.
New to the forum and new to Unix admin... / filesystem filled up and I can't find where the large files are. Any help will be apppreciated:
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c1t0d0s0 8063580 7941745 41200 100% /
/proc ... (4 Replies)
hi
i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help
Thanks (5 Replies)
In my Solaris 10 based server, I have noticed the following mounts when a use DF -K
/dev/dsk/c0t0d0s0 5062414 3213876 1797914 65% /
/ 5062414 3213876 1797914 65% /net/se420
I understand the first mount because it appears in my vfstab file and is the mount of root that I would expect.... (1 Reply)
Dear Buddies,
Plz Help me out ,,,,,, the Unix Servers i m working on ,,,Somes times run out of space in root ,,,due the generation of a file named STA ....which causes the system to crash ,,,,,
plz hlp me !!!!!!!!!!!!!!!!!!!!!!
how to find out the file ....generation causes ......
... (6 Replies)
All,
I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)