- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- root 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
05-06-2004 02:50 AM
05-06-2004 02:50 AM
root file system full
I have an AS4100 running Tru64 UNIX V 4.0G that has root file system full at 102%.
I tried everything that is mentioned in the forums to delete unwanted files, but it is still full, I can't get it to decrese the space used.
Any thoughts...ideas...things I missed?
MO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 03:04 AM
05-06-2004 03:04 AM
Re: root file system full
please post:
showfdmn -k root_domain
du -kxs /
df -k
thanks,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 03:09 AM
05-06-2004 03:09 AM
Re: root file system full
Attached is the outputs you wanted
MO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 04:56 PM
05-06-2004 04:56 PM
Re: root file system full
find / -mount -size +500k -exec ls -g {} \;
-mount
will find files on the same file system as the current starting path name so it will NOT go down /usr and so on.
-size +2000k
Start out looking at the somewhat bigger (2MB) files.
It may find a stray tar/dump or core file.
Perhaps a few too many vmunix versions?
- exec ls -f {} \;
show details for matching files.
Once you explained the biggies, take it a step down like:
find / -mount -size -2000k -size +500k
(any file on /rz8a between 1/2MB and 2MB)
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 06:02 PM
05-06-2004 06:02 PM
Re: root file system full
rebooting the m/c once will release some space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 06:43 PM
05-06-2004 06:43 PM
Re: root file system full
1. Is there a reason, you use ufs?
2. / is quite small, you should increase it.
3. There is more than 50mb difference between du and df. Boot machine in single user mode and look for files in the mount points, which are now hidden by the mounted file systems.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 08:20 PM
05-06-2004 08:20 PM
Re: root file system full
delete old kernels lying around and use
du -k /. Have a closer look to the /tmp and /dev directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2004 12:04 AM
05-07-2004 12:04 AM
Re: root file system full
I think maybe rebooting the machine will release some space, I will do this during the weekend, but why??
MO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2004 12:39 AM
05-07-2004 12:39 AM
Re: root file system full
when you delete a file, that is opened by a process, the space is not released. du is fooled by the absence of the file and does not count the space. Please boot the machine into single user mode and look into the mount directories for files.
hth,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2004 12:51 AM
05-07-2004 12:51 AM
Re: root file system full
Yeah, good point. I forgot to mention that.
Let's say you had /tmp with a few file in it.
No you create a new device and mount on /tmp.
The old files there will be 'hidden'.
But you do not APPEAR to have a mountpoint that qualifies for that. Still...
The 'big' file list shows nothing excessive really. It suggestes some moving/cleanup in /sys/binary.
but really, as others wrote, maybe / was just made too small.
next step would be
find -s /* -mount
or
find -s /*/* -mount
That will point you to the directories that have enough block to worry about.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2004 12:54 AM
05-07-2004 12:54 AM
Re: root file system full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2004 11:04 PM
05-09-2004 11:04 PM
Re: root file system full
how did it work out?
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 08:26 AM
05-10-2004 08:26 AM
Re: root file system full
I have another question, In the /etc directory, there are a set of files that starts with #.mrg.. and another set starts with .new.. and a third set starts with .proto..
Can I delete the files starting with #.mrg..?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 03:50 PM
05-10-2004 03:50 PM
Re: root file system full
Time to check the doc!
At any rate. Do NOT just delete.
At the very least make a parallel structure under /usr, maybe called /usr/backup_root and load that with say
cp -pR /etc /usr/backup_root
cp -pR /dev /usr/backup_root
and so on...
But you 'owe' us much more feedback.
Many more concrete question were asked.
We believe that as you try to answer them you will stumble into the rigth solution eventually.
Cheers,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 08:18 PM
05-10-2004 08:18 PM
Re: root file system full
cp is not a valid choice, use vdump, vrestore instead (as described within the admin guide).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 10:46 PM
05-10-2004 10:46 PM
Re: root file system full
I would not fiddle with the system files and delete what you suggested. I wonder, if you could save much space with that?
Could you post
du -kx /
please.
thanks,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 10:47 PM
05-10-2004 10:47 PM
Re: root file system full
forgot to say that.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 11:15 PM
05-10-2004 11:15 PM
Re: root file system full
du counts the real filelength not the minimum space reserved (e.g. file with 900 bytes will use 1024 bytes on disk as minimum, but du counts 900).
df uses the allocated size (1024 bytes).
so you have a difference. If the disklabel size differ from df size there must be a "hidden" file somewhere (as explained by other forum members). So killing the process or reboot with single user mode is the only chance to get rid of it.
If disklabel and df have equal sizes look for unnecessary file or new files created. /dev is a good starter....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 02:27 AM
05-11-2004 02:27 AM
Re: root file system full
I will post a summary at the end, when I solve this problem.
I am starting to believe that whe I reboot, this will clear the problem, but I would like to go to the end to find out what made it happened and where is the big files (if there is any)
tell me what do you think regarding the outputs attached
MO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 03:11 AM
05-11-2004 03:11 AM
Re: root file system full
if it still takes time for a shutdown and reboot, there is one thing, you may do.
move /sys/binary to antother place and replace it with a link to that place.
Ralf, correct me, but I think this dir is only used for kernel built.
hth,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 03:15 AM
05-11-2004 03:15 AM
Re: root file system full
does the link has to be setup in a certain way or permissions? or link it as it is now?
will moving this directoyry change the dates of the files or cause any problems in the future?
MO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 06:37 AM
05-11-2004 06:37 AM
Re: root file system full
read my postings again! Do not delete any system files!!!!!!
du and df is useless if problem occures from a "hidden" file. This was written before and I don't believe you really understand my previous postings!
Reboot is not the only option, due to the fact that every application returns open file handles, resources etc. to the os if it will be terminated the simples solution is to restart the application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 06:42 AM
05-11-2004 06:42 AM
Re: root file system full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 06:47 AM
05-11-2004 06:47 AM
Re: root file system full
Why not using the simple "ps" command and restart your applications? It could be only one of your private applications....
But be sure partition size and df does not match! If so your filesystem is really full and you must delete one of the other files.
(PS: be sure no mountpoint overlays existing files e.g. /mnt contains files but is now mounted to /dev/rz5c)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 07:13 AM
05-11-2004 07:13 AM
Re: root file system full
The disklabel partition size on rz8a is 128.351 MB
The df -k reports total size 129.110 and used is 128.586
Do you think that the root partition is getting smaller or is full and now I need to enlarge the partition somehow??