Sponsored Content
Top Forums UNIX for Dummies Questions & Answers free some space in file system Post 302184269 by wempy on Friday 11th of April 2008 04:27:01 AM
Old 04-11-2008
if du -k /var gives a different result to du -xk /var then you may have some data being left behind at the mount point /var/run. How you get to it will be OS dependent, but you will probably want to bring the machine to single user mode, and turn off as many services as you can. Then try umount /var/run. If it unmounts then have a look at the mount point to see if there is any data there (ls -l /var/run). If so, delete it and remount the partition.

Though, it is very strange that du gives a different usage result to df.

btw the -x switch to du keeps it on the starting filesystem, so it shouldn't go off into the mounted /var/run.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Free size for File System

How to find the free size currently FileSystem has, on the disk mounted? I know 'df' lists all the mounted disks, but I am interested to know details for the filesystem, in which currently I am working. (7 Replies)
Discussion started by: videsh77
7 Replies

2. Solaris

Lost space on file system

Hi everybody, I got a problem on my SUN server in Solaris 9. I'll try to explain, if somebody could help me. I have mounted some volumes in RAID 0+1, that is stripped slices and then mirror. To be clear the result of metastat d80 is as follow : d80: Mirror Submirror 0: d81 State:... (2 Replies)
Discussion started by: aribault
2 Replies

3. Programming

How to get free disk space size in C/C++ program( Solaris system)

How to get free disk space size in C/C++ program( Solaris system)? Is there any standard function or system function? Just like "df" or "getdfree" in Linux. (4 Replies)
Discussion started by: yidu
4 Replies

4. UNIX for Dummies Questions & Answers

free space, used space in ftp

Is possible to see how much available space there is on a ftp server and how much is used through ftp ? how ? free space: used space: thanks (1 Reply)
Discussion started by: aneuryzma
1 Replies

5. Shell Programming and Scripting

Calculate total space, total used space and total free space in filesystem names matching keyword

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)
Discussion started by: bigben1220
4 Replies

6. Shell Programming and Scripting

Get free space of file system

Hi guys, I'm trying to get free space in GB of file system into parameter. I have the following code: > cat get_free_space_FS.ksh #! /bin/ksh FS=/dw/mar FreeSpace=`df -h | grep $FS | awk '{print $4}'` echo $FreeSpace > ./get_free_space_FS.ksh 362G My question is ,how can I cut in... (4 Replies)
Discussion started by: nir_s
4 Replies

7. Solaris

No space left on device but free space and inodes are available...

hi guys, me again ;) i recently opened a thread about physical to zone migration. My zone is mounted over a "bigger" LUN (500GB) and step is now to move the old files, from the physical server, to my zone. We are talking about 22mio of files. i used rsync to do that and every time at... (8 Replies)
Discussion started by: beta17
8 Replies

8. Fedora

Need to incrwase PHYSICAL VOLUME space on hard drive with free space on it

Hi, I run Fedora 17. I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group. I need to add the 30GB of free space... (1 Reply)
Discussion started by: mojoman
1 Replies

9. HP-UX

Increasing space in file system

Hi Friends, I want to cut space from one file system and add in another file system. For example I have 100 gb space in /oracle/TST/oraarch I wnat to cut 50 gb from this file system and add 50 in /oracle/TST/sapdata1. Please hel, How I can do it. Regards, Bhagawati Pandey (3 Replies)
Discussion started by: BPANDEY
3 Replies

10. AIX

No space in the file system

A file system has reached 100%. I have tried adding space using chfs -a size=+100 command to that file system. However, the % used is not decreasing from 100%. Is there a way to add more space? Also, can someone suggest a script to send a mail alert when a file system is reaching 90%. G (4 Replies)
Discussion started by: ggayathri
4 Replies
umount.davfs(8) 						       1.4.6							   umount.davfs(8)

NAME
umount.davfs - Umount-helper to unmount a davfs2 file system SYNOPSIS
umount.davfs [-h | --help] [-V | --version] umount dir SYNOPSIS (root only) umount.davfs dir DESCRIPTION
umount.davfs is a umount helper program. It is called by the umount(8) command. Its purpose is to prevent the umount command from returning unless mount.davfs has synchronized all its cached files with the webdav server. dir is the mountpoint where the WebDAV resource is mounted on. It may be an absolute or relative path. While for local file systems umount(8) will only return when all cached data have been written to disk, this is not automatically true for a mounted davfs2 file system. With this umount helper the user can rely on the familiar behaviour of umount(8). To inform the operating system that the file system uses a network connection, you should always use the _netdev option, when mounting as davfs2 file system. Depending on the amount of data and the quality of the connection, unmounting a davfs2 file system may take some seconds up to some hours. If the mount.davfs daemon encountered serious errors, umount.davfs may return an error instead of unmounting the file system. In this case try umount -i. The -i option will prevent umount(8) from calling umount.davfs. OPTIONS
-V --version Output version. -h --help Print a help message. -f -l -n -r -v This options are ignored. They are only recognized for compatibility with umount(8). FILES
/var/run/mount.davfs PID-files of running umount.davfs processes are looked up here. BUGS
No known bugs. AUTHORS
This man page was written by Werner Baumann <werner.baumann@onlinehome.de>. DAVFS2 HOME http://savannah.nongnu.org/projects/davfs2 SEE ALSO
mount.davfs(8), umount(8), davfs2.conf(5), fstab(5) davfs2 2009-04-13 umount.davfs(8)
All times are GMT -4. The time now is 12:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy