- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- extending filesystem problems
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
08-12-2005 02:03 AM
08-12-2005 02:03 AM
extending filesystem problems
I have extended a filesystem (lvol4 mounted on /opt as it was 100% full) on one of our boxes, by putting the system in single user mode, umount /opt and using lvextend -L (size) /dev/vg00/lvol4
I increased the size by 200mb. I then typed extendfs /dev/vg00/rlvol4 re-mounted the file and reebooted the machine. The /opt filesystem is now bigger but the /
filesystem is now full. Prior to extending /opt it was 400mb in total size with 190mb free. when I try to logon to the box I get an error stating the desktop messaging system could not be started. I tried to umount / with the system in single user mode but was unable to. the system said / was busy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 02:08 AM
08-12-2005 02:08 AM
Re: extending filesystem problems
# touch 12080000 /tmp/thismorning
# find / -xdev -newer /tmp/thismorning -exec ls -ld {} \;
This will list all files touched since 00:00 on 12th august, then see if there are any large files. Possible culprits are core files etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 02:11 AM
08-12-2005 02:11 AM
Re: extending filesystem problems
You would be better off to find out what is filling /. Try running "du -sk /* |sort -n". This will give you a list in ascending size order of all the things in /. You will need to ignore the mounted file systems - you can tell these from "bdf" output. Look for core files, logs, any large files which don't belong in / and get rid of them.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 02:22 AM
08-12-2005 02:22 AM
Re: extending filesystem problems
one more thing, since you said you are new, I would run:
# swlist -l patch |grep -i JFS
If you have that product loaded you can extend filesystems while the box is running.
also, id look for any core files in / as well...
also, read your "dmesg" output... to find any errors also, look in syslog... just type dmesg at the prompt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 03:10 AM
08-12-2005 03:10 AM
Re: extending filesystem problems
i am agree with Pete...As you mentioned
it seems (Fs) it was normal till extending
FS and the symptom seems generated some big
core files while this processes so
try to find out these core files;
find . -name core -exec ll -d {} \;
Good luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 03:52 AM
08-12-2005 03:52 AM
Re: extending filesystem problems
I will say what Bill Hassell says to those who wants to extend root filesystem, i.e.,"/":
/ is static and does not need to grow. Whatever it is created at the installation time is usually more than sufficient for the lifetime of the OS at that version. If your / is somethign like 200 MB or so for hpux 11.x, you should be in good shape. The filling up of / is a problem that you need to find the root cause of and eliminate as extending / is painful at best.
Most common causes of / filling up are
(*)some application coredumping into /
REMEDY:
put this in cron:
0 0-23 * * * find / -xdev -name core | args rm
(*)somebody has addressed a device (most likely a tape drive) with a wrong name and dump huge amount of data into /dev
REMEDY:
find /dev -size +10000c
and see if these files are deleteable (they should be) and delete them.
(*) somebody (usually a junior admin) thinks it is okay to store temporary files in /
REMEDY:
Talk to this person and tel him/her not to do that.
I am sure there are more but these are the main causes for / filling up headache.
UNIX because I majored in cryptology...