- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding usable disk to / filesystem
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
01-07-2003 10:44 AM
01-07-2003 10:44 AM
I have been trying to figure a way that I may possibly expand the / filesystem in such a way that it uses additional disk space configured on a seperate area of the system.
I know all too well that the way to expand / is to ignite/rebuild and expand since it is contiguous disk but what I am trying to hash out is if there is a way to say configure another filesystem and then link the 2 filesystems together so that / uses the additional diskspace configured on the 2nd filesystem.
All opinions and suggestions are welcomed here.
Thank you for your support.
fg
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 10:51 AM
01-07-2003 10:51 AM
SolutionWell, you can obviously add the additional disk to vg00. I'm assuming you have particular file systems which need more room. If that's true you could then use the additional space to create a new file system for /var, for instance. Call it /newvar, make it as big as you want /var to be, copy the contents of /var into it, switch the entries in /etc/fstab so that the /newvar's device will be mounted as /var and re-boot.
You should be aware that /, /stand and primary swap areas are location sensitive and need to be contiguous so this won't work for them.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 11:05 AM
01-07-2003 11:05 AM
Re: Adding usable disk to / filesystem
Thanks pete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 11:14 AM
01-07-2003 11:14 AM
Re: Adding usable disk to / filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 11:19 AM
01-07-2003 11:19 AM
Re: Adding usable disk to / filesystem
I almost added a comment about "why you needed to expand". Have you looked at /dev files? One of the favorite mistakes is to do a backup to /dev/rmt/om (letter "o", rather than numeral "0").
Another one that I got caught on once was junk hidden under a mount point. Say you have a file system called /george and one day /george doesn't get mounted (or gets unmounted) and applications continue to write to /george. All that junk is going directly into the root file system, but the next time /george gets mounted properly, you can't see it. You can check this by unmounting and doing an ll on the mount point - or shut down to single user and check the mount points.
I'm sure there's something out there eating up your space, we just need to find it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 03:40 AM
01-08-2003 03:40 AM
Re: Adding usable disk to / filesystem
Any luck?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 05:52 AM
01-08-2003 05:52 AM
Re: Adding usable disk to / filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 05:58 AM
01-08-2003 05:58 AM
Re: Adding usable disk to / filesystem
Don't give up! Can you post the output of a du -sk /* and a bdf -l?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 06:41 AM
01-08-2003 06:41 AM
Re: Adding usable disk to / filesystem
As Pete asked, please give some more information from du and bdf. Don't just mask the problem by adding more space. I had some SAP Admins who always just added space to a problem. They never resolved it. Created some messy systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 06:54 AM
01-08-2003 06:54 AM
Re: Adding usable disk to / filesystem
here is the du -sk /* output, and attached is the bdf output
mmdcux03@/root# du -sk /*
0 /Mail
0 /SD_CDROM
0 /UNIVERSE
1 /_-_No_PrGlOg_-_
0 /bin
0 /cdrom
88 /dev
69230 /etc
444487 /home
5 /lawprod
354 /lawschpc.csv
0 /lib
0 /lost+found
0 /mnt
0 /mnt1
0 /net
1 /nohup.out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 07:07 AM
01-08-2003 07:07 AM
Re: Adding usable disk to / filesystem
Compared to mine, your /etc is huge. How about (when you get a chance) doing a du -sk /etc/* and passing that along?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 07:11 AM
01-08-2003 07:11 AM
Re: Adding usable disk to / filesystem
Let's ammend that to be
du -sk /etc/* |sort -n
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 07:18 AM
01-08-2003 07:18 AM
Re: Adding usable disk to / filesystem
Here's /etc from one of my machines.
# du -ks /etc
13077 /etc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 07:25 AM
01-08-2003 07:25 AM
Re: Adding usable disk to / filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 07:26 AM
01-08-2003 07:26 AM
Re: Adding usable disk to / filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 07:29 AM
01-08-2003 07:29 AM
Re: Adding usable disk to / filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 07:29 AM
01-08-2003 07:29 AM
Re: Adding usable disk to / filesystem
The next think to take a look at is your /etc/lp directory. That appears to be the main culprit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 07:30 AM
01-08-2003 07:30 AM
Re: Adding usable disk to / filesystem
Looks like the lp interface is full of print jobs. What do you see when you do an lpstat?
And, out of curiosity, do a du -sk /etc/lp/*
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 07:36 AM
01-08-2003 07:36 AM
Re: Adding usable disk to / filesystem
to find the big directories in /etc run
$ find /etc -type d -exec du -sk {} \; | sort -n
then have a look at the biggest dirs (which are printed last)
If you want to check for biggest files in /etc just run
$ find /etc -type f -exec du -sk {} \; | sort -n
Have fun and watch out for too much / big print jobs ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 07:55 AM
01-08-2003 07:55 AM
Re: Adding usable disk to / filesystem
mmdcux03@/root# du -sk /etc/lp/*
0 /etc/lp/cinterface
0 /etc/lp/class
0 /etc/lp/info
41944 /etc/lp/interface
286 /etc/lp/member
0 /etc/lp/sinterface
Just for ha ha's i am attaching a du -sk from
the /etc/lp/interface directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 07:58 AM
01-08-2003 07:58 AM
Re: Adding usable disk to / filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 08:01 AM
01-08-2003 08:01 AM
Re: Adding usable disk to / filesystem
What's the model.orig for? Does lpstat show anything queued for that? Is that a legitimate print destination?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 08:08 AM
01-08-2003 08:08 AM
Re: Adding usable disk to / filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 08:10 AM
01-08-2003 08:10 AM
Re: Adding usable disk to / filesystem
Since I don't use printer installer, I can't vouch for that - but it's HUGE!!!! Do a more on it. What the heck is in it? I would hope you could blow it away or at least trim it somehow.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 08:13 AM
01-08-2003 08:13 AM