- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: file system 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
Forums
Discussions
Discussions
Discussions
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
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
11-12-2005 09:11 PM
11-12-2005 09:11 PM
my root file system / is getting full what files should I delete to reduce it...?
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2005 09:26 PM
11-12-2005 09:26 PM
Re: file system full
du -k | sort -rn | more
This will list files largest to smallest.
You've got a big one most probably and you need to delete it.
In practice no files should be stored on / only mountpoints to other filesystems.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2005 09:30 PM
11-12-2005 09:30 PM
Re: file system full
Do this (delete core file):
#find / -name "core" -exec rm {} \;
and (listing of the largest directories first):
#du / | sort -r -n | grep ^....[0-9]
or (list any files in / (or files in directories below /) that have been accessed in less than 4 days)
#find / -atime -4 -exec ll {} \;
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2005 09:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2005 09:37 PM
11-12-2005 09:37 PM
Re: file system full
but after sorting out the list, it is showing me that the biggest directory is the current one which is root /
what is next...?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2005 09:59 PM
11-12-2005 09:59 PM
Re: file system full
#cd /
#du -k / | sort -r -n | grep ^....[0-9]|head -n 50
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2005 10:08 PM
11-12-2005 10:08 PM
Re: file system full
#bdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2005 10:28 PM
11-12-2005 10:28 PM
Re: file system full
4590765 /
1837482 /opt
1297460 /usr
841357 /opt/oracle
821834 /patch
686656 /usr/dacscan
672917 /opt/iona
543176 /opt/oracle/bin
479148 /opt/iona/shlib
395324 /usr/dacscan/bin
390869 /var
355494 /var/adm
305449 /patch/save
300100 /var/adm/sw
274071 /var/adm/sw/save
218115 /usr/lib
200059 /usr/dacscan/ui
173774 /tmp
151975 /usr/dacscan/ui/jui
134266 /var/adm/sw/save/PHLU_00013
131809 /opt/iona/shlib/pa20_64
102996 /usr/sbin
98420 /opt/ignite
91791 /patch/save/PHLU_00001
86454 /tmp/auto_disc
78144 /usr/dacscan/ui/jui/jnm
77817 /patch/save/PHLU_00031
70309 /opt/oracle/lib
68891 /usr/dacscan/ui/jui/jnm/itm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2005 10:50 PM
11-12-2005 10:50 PM
Re: file system full
#cleanup -c 1
will delete patches that have been superseded at least once (directory /var/adm/sw, /var file system)
Post the bdf result
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2005 10:55 PM
11-12-2005 10:55 PM
Re: file system full
You were absolutely right; I found a big file under /dev/rmt
problem solved
Thanks a lot for everyone for their help
especially LiPEns
Mazen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2005 10:58 PM
11-12-2005 10:58 PM
Re: file system full
created with a typing mistake that was causing the file system to be full.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2005 11:00 PM
11-12-2005 11:00 PM
Re: file system full
I would recommend you to move put the /var out of the root vg and mount it in another dedicated VG. Mostly people follow this. What is the size of the root VG. If it has sufficient free space, u can increase the size of /var filesystem.
Post o/p of these commands
#vgdisplay vg00
#bdf
#ioscan -fnC disk
#vgdisplay
You can even have automised script which takes care of log purging in a regular interval.
Regards,
Sunil
Regards,
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2005 11:03 PM
11-12-2005 11:03 PM
Re: file system full
# swlist <
# swremove
-Arun