07-26-2009
reducing to root file size
My root file size has reached 80% and I am looking where all i can reduce the file size . Here is the output of top directories in / . To me none of this looks useful but not sure . We use an appplication and email. Which all can be deleted . Please advise .
2016989
989445 /var
930059 /usr
751870 /var/tmp
298876 /usr/openwin
212598 /usr/openwin/lib
176250 /var/sadm
173481 /usr/lib
142358 /var/sadm/pkg
131112 /var/tmp/Exu9aaWs
131112 /var/tmp/Extma4Kb
131112 /var/tmp/ExjuaOLS
131112 /var/tmp/Exh9ayoP
131112 /var/tmp/Exa3a4v4
118303 /usr/dt
118228 /usr/openwin/lib/locale
65833 /usr/dt/appconfig
51012 /usr/j2se
50470 /usr/share
44680 /usr/share/man
43240 /var/tmp/ExAraaZo
39720 /usr/j2se/jre
38733 /usr/j2se/jre/lib
37986 /usr/sadm
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a script which includes an FTP. The filename is too long for my target area. The filename is HD012_ABCD_EFGH_061004_F_300_40. I need to the filename to be HD012_ABCD_EFGH_061004_F_. Any ideas. (5 Replies)
Discussion started by: paul1s
5 Replies
2. Solaris
Hi frnz,
Need an urgent help...
I have installed solaris 8 in a sunblade workstation with 136GB hdd.
While installation it has taken a default filesystem size as 1.37GB for root.
AFtr completing the installation i have extended the root partition to 130GB.
But still df output shows... (4 Replies)
Discussion started by: sriram.s
4 Replies
3. Programming
Hi,
Could any one tell me how to reduce the size of an executable file of C under
Unix.
thanks (2 Replies)
Discussion started by: useless79
2 Replies
4. Solaris
Dear all,
I am very new to solaris,
I have installed solaris 10,
i tried installing few softwares into file system, unfortunately system failed to install stating "No space left on device "
i searched few threads and it says, we have to increase root size. where my root size is... (2 Replies)
Discussion started by: radhnki
2 Replies
5. Solaris
Hi all,
I'm working on Solaris and quite often I receive the alert message of file system at 90%.
I'd like to find which files caused this happens (at least the biggest files) with the following command:
find . -size +10000000c -exec ls -larth {} \;
This looks for every file in every fs... (4 Replies)
Discussion started by: Evan
4 Replies
6. Red Hat
can we increase root size ? (redhat 5.4)
my df -h is
#df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 7.8G 6.8G 621M 92% /
/dev/sda1 2.0G 50M 1.8G 3% /boot
tmpfs 3.8G 0 3.8G 0% /dev/shm
/dev/sdc1 99G ... (3 Replies)
Discussion started by: reply.ravi
3 Replies
7. Red Hat
Hello Admins,
I am running a redhat linux 5 on vmware workstation.
I need to increase or add some more space to my root (/) partition. I don't have any LVM configured..
Please suggest.
# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 3.8G 3.1G ... (4 Replies)
Discussion started by: snchaudhari2
4 Replies
8. Shell Programming and Scripting
Hi,
Here i have to check first record $3 $4 with second record $1 $2 respectively. If match found, then check first record $2 == second record $4 , if it equals , then reduce two records to single record like as desired output.
Input_file
1 1 2 1
2 1 3 1
3 1 4 1
3 1 3 2
desired... (3 Replies)
Discussion started by: vasanth.vadalur
3 Replies
9. Shell Programming and Scripting
Hello,
I am a java programmer but want to try unix for a purpose where I need to reduce a file using its first field.. Here is the sample data:
admin;2;0;;
admission;8;0;;
aman;1;0;;
caroline;0;4;;
cook;0;4;;
cook;2;0;;
far;0;3;;
far;1;5;;
I am explaining the dataset first. There... (5 Replies)
Discussion started by: shekhar2010us
5 Replies
10. UNIX for Beginners Questions & Answers
I have a very large file with millions of entries identified by @M. I am using the following script to "extract" entries based on specific strings/patterns:
#!/bin/bash
if ]
then
file=$1
else
echo "Input_file passed as an argument $1 is NOT found."
exit;
fi
MID=(NULL "string-1"... (10 Replies)
Discussion started by: Xterra
10 Replies
NBDST(8) BSD System Manager's Manual NBDST(8)
NAME
nbdst -- NetBoot deferred shadow tool
SYNOPSIS
nbdst [-recycle | -preallocate size] devnode shadowfile
DESCRIPTION
nbdst is used during NetBoot to associate a shadow file with the disk image being used as the root device. After the shadow file is attached,
subsequent writes to the root device will be redirected to the shadow file, which normally resides on local storage. nbdst is invoked by
/etc/rc.netboot
ARGUMENTS
The following arguments must be specified:
devnode The device node of the root device, in the form "disk0"
shadowfile Path to a shadow file which will be created and associated with the NetBoot root device
OPTIONS
-recycle If a shadow file already exists, reset it and use it again. Otherwise, information written to an existing shadow file will reap-
pear. Reusing a previous shadow file without resetting it requires that the shadow file be created with the same base image.
-preallocate size
Set the shadow file to the given size up front. This forces a reset of the shadow file (like -recycle).
NOTE
nbdst can only be run as root.
SEE ALSO
hdiutil(1), hdik(8)
macOS 29 Apr 2003 macOS