- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root full
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2005 10:13 PM
тАО02-04-2005 10:13 PM
root full
My root of size 2gb is full and the space taken by the data is in /var/adm/sw/save/* which are some patch names. can i delete the directories or they are important .
pls let me know as the performance is degraded
thanks in advance
Mangesh Khatav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2005 12:08 AM
тАО02-05-2005 12:08 AM
Re: root full
You may wish to clean out all the save patches, but then you will not be able to remove the current patches in case of issues. So, my advice will be to take a backup of your /var/adm/sw directory before you touch anything.
Proper way to remove patches is to use "cleanup" utility. Cleanup will allow you to remove patches that were superceded atleast "n" times that you specify.
E.g. cleanup -c 2 will remove (commit) the patches there were superceded atleast 2 times. It is less harmful.
You can also preview it with -p option to see how much disk space you can gain. clean -c 1 will be the last option.
hope this helps!
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2005 07:20 AM
тАО02-05-2005 07:20 AM
Re: root full
a couple of things to consider here;
root filesystem doesn't need to be large
is /var/adm/sw/save/* part of the root file system?
if it is then you will experience problems as /var is used to write log files, system dumps etc. It should not be part of the root file system.
do this;
# cd /
# find . -xdev |xargs ls -ld |sort -rnk 5 |more
This will list all files on the root filesystem only, it will put the file using most disk usage first then list in a decending order.
try this and post back what you find, what is your output from bdf? as mentioned previously other file system should be seperate from root ie.
/usr
/var/
/opt
/home
/stand
/tmp
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2005 06:06 AM
тАО02-06-2005 06:06 AM
Re: root full
Hi,
Run the following script and find out the large file in your system. You can then delete them one by one.
#########################################################################
#This script finds recenty created large files
#
#Syam
#26/01/2005
#
#
rm -f find.out
echo
echo "Enter directory to search"
read DIRNAME
if [ ! -d $DIRNAME ]
then
echo "Error: directory $DIRNAME does not exist"
exit 1
fi
echo
echo "How large a file do you want to look for ? (in Kbytes)"
read SIZE
echo
echo "How many days since the file was created ?"
read DAYS
echo
echo "Searching..."
find $DIRNAME -type f -size +$SIZE -mtime -$DAYS -exec ls -ls {} \; | sort -n -r | tee find.out
echo
echo "Done"
echo
echo "Note: output in find.out"
echo
#######################################################################
regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2005 06:18 AM
тАО02-06-2005 06:18 AM
Re: root full
root of 2GB full & space taken by /var/adm/sw/save?
Ain't /var a separate filesystem?
find / -xdev -size +5000000c -exec ll {} \;
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2005 01:30 AM
тАО02-07-2005 01:30 AM
Re: root full
check file size on your /var/adm/wtmp
this file will grow for ever if not trimmed periodically.
also clean up your logs, either clearing them or trimming them.
clean up mail in the /var/mail directory..
check for dead print jobs
#lpstat -u
I had problems a while again when an NFS mount failed and a backup script was loading to a mount point off root that didn't exist, check your mount points.
This should at least get some space back for you.
Rex M - Omaha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2005 03:17 AM
тАО02-07-2005 03:17 AM
Re: root full
It's more likely to be /dev that's causing you the problem. The common fault is to mistype a tape device name: e.g.
cat largefile > /dev/rmt0m
This will create a file called /dev/rmt0m which will be a copy of largefile.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2005 03:26 AM
тАО02-07-2005 03:26 AM
Re: root full
The following works as a temporary fix, until you create bigger partitions or take another filesystem cq. partition layout:
You could make the directory /var/adm/sw into another partition with more space and then softlink it.
#cd /var/adm
#move sw /opt/
# ln -s /opt/sw /var/adm/sw
As a temp solution. :)
Regards,
Bob