Thanks for your reply DukeNuke2. If the proc file system is dynamically generated, will it still effect the size of the / file system? My / file system now reports 100% full. Do I need to reboot in order to clear down the /proc file system?
No. If you check the output of mount, you'll see that /proc is treated as a separate mount point, and as such does not add to the usage of the root filesystem.
Also, the files in /proc only represent current processes, so the big files should vanish as soon as the associated process ends.
Quote:
Originally Posted by sparcman
Also this doesn't explain why the file system with the Oracle Temp file read 64GB and the 20GB file system reported 7GB free? Any ideas?
Could be that that was a sparse file.
Example that creates a 100M file on a 10M filesystem(uses Linux Loopback device)
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Dear ALL
Today I faced one problem in the file system, during invoking the command #df -k , I saw /usr reached to 95% Used, could any one give advice ?
thanks & regarded (7 Replies)
I have the next code, and the output is incosistent, what is the problem:
free blocks: 1201595
block size: 4096
total size(free blocks * block size): 626765824
1201595 * 4096 not is 626765824, what's the problem???
#include <sys/statvfs.h>
#include <stdio.h>
int main(){
... (1 Reply)
Hello. I do have a problem.
The statement sounds like this: Given a directory, find all subdirectories (regardless of depth) which contain a file that has more than a half of the size of the respective subdirectory.
I've tried to solve this in many ways, but all I came up with is half... (1 Reply)
#!/bin/sh
##########################################################################################################
#This script is being used for AOK application for cleaning up the .out files and zip it under logs directory.
# IBM
# Created
#For pdocap201/pdoca202 .out files for AOK
#1.... (0 Replies)
Hi Experts,
I have a script like
$ORACLE_HOME/bin/sqlplus username/password # << ENDSQL
set pagesize 0 trim on feedback off verify off echo off newp none timing off
set serveroutput on
set heading off
spool Schemaerrtmp.txt
select ' TIMESTAMP COMPUTER NAME ... (5 Replies)
To find the whole size of a particular directory i use "du -sk /dirname".. but after finding the direcory's size how do i make conditions like if the size of the dir is more than 1 GB i hav to delete some of the files inside the dir (0 Replies)
I have been searching both on Unix.com and Google and have not been able to find the answer to my question. I think it is partly because I can't come up with the right search terms.
Recently, my virtual server switched storage devices and I think the problem may be related to that change.... (2 Replies)
Hello,
Here is my code:
:~$ truncate -s 16M MyTestFile.txt
:~$ du -h MyTestFile.txt
4,0K MyTestFile.txt
Q1: Please why du -h does not work in this case ?
Q2: Other than "du -h", how can i get the size of a directory (using linux command)
Thanks a lot.
Best Regards. (2 Replies)
I am new at developing EXPECT scripts. I'm trying to create a script that will automatically connect to a several UNIX (sun solaris and HPUX) database server via FTP and pull the sizes of the listener/alert log files from specified server directory on the remote machines.
1. I want the script... (7 Replies)
Discussion started by: mikebantor
7 Replies
LEARN ABOUT NETBSD
rump_ext2fs
RUMP_EXT2FS(8) BSD System Manager's Manual RUMP_EXT2FS(8)NAME
rump_ext2fs -- mount a ext2fs image with a userspace server
SYNOPSIS
file-system PUFFS
pseudo-device putter
rump_ext2fs [options] image mountpoint
DESCRIPTION
NOTE! This manual page describes features specific to the rump(3) file server. Please see mount_ext2fs(8) for a full description of the
available command line options.
The rump_ext2fs utility can be used to mount ext2fs file systems. It uses rump(3) and p2k(3) to facilitate running the file system as a
server in userspace. As opposed to mount_ext2fs(8), rump_ext2fs does not use file system code within the kernel and therefore does not
require kernel support except puffs(4). Apart from a minor speed penalty there is no downside with respect to in-kernel code.
rump_ext2fs does not require using vnconfig(8) for mounts from regular files and the file path can be passed directly as the image parameter.
In fact, the use of vnconfig(8) is discouraged, since it is unable to properly deal with images on sparse files.
In case the image contains multiple partitions, the desired partition must be indicated by appending the token ``%DISKLABEL:p%'' to the image
path. The letter ``p'' specifies the partition as obtained via disklabel(8). For example, to mount partition ``e'' from image /tmp/wd0.img,
use ``/tmp/wd0.img%DISKLABEL:e%''.
It is recommended that untrusted file system images be mounted with rump_ext2fs instead of mount_ext2fs(8). Corrupt file system images com-
monly cause the file system to crash the entire kernel, but with rump_ext2fs only the userspace server process will dump core.
To use rump_ext2fs via mount(8), the flags -o rump and -t ext2fs should be given. Similarly, rump_ext2fs is used instead of mount_ext2fs(8)
if ``rump'' is added to the options field of fstab(5).
SEE ALSO p2k(3), puffs(3), rump(3), mount_ext2fs(8)HISTORY
The rump_ext2fs utility first appeared in NetBSD 5.0.
BSD November 21, 2010 BSD