- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root partition
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
12-21-2004 10:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 10:51 PM
12-21-2004 10:51 PM
SolutionThe first thing to do is ask yourself: "Do I really need to do this?"
Is there any stuff in / that would be better in its own filesystem?
If your answer is that you do need to increase /, you will need to boot from an ignite backup. Other people are better qualified than I am to take you from there.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 10:55 PM
12-21-2004 10:55 PM
Re: root partition
Otherwise: -
The only way to extend / is a rebuild of the server. On a HPUX server, lvol1 (/stand) lvol2 (swap) and lvol3 (/) HAVE to be contiguous no the disk. Therefore you cannot extend /, as the rest of it will be located later on the disk, wherever lvm chooses to put it.
The procedure is as follows: -
- Ensure your Ignite/UX software is FULLY up to date (including PAX and any other patches).
- Take a FULL Ignite of your vg00 volume group.
- Take a note of any mirror configuration.
- Reboot the server off the Ignite tape, and during the Ignite install, specify the new size of "/" you require.
- Re-establish any mirrors.
If you've never done this before, PLEASE try on a test box first!
But consider whether you really need to do this!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 11:14 PM
12-21-2004 11:14 PM
Re: root partition
Make a recovery tape..
Boot on it, choose advanced and then change the filesystem.
-paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 11:17 PM
12-21-2004 11:17 PM
Re: root partition
ussulaly it's not recommended. / fs must be continuous, so if you want encreasing, you must have free space behind.
The easiest way is to use Ignite backup tape
and boot from that.
After booting you can change the fs and restore to newly defined vg.
tape creation:
make_tape_recovery -a /dev/rmt/0mn -A -v -x inc_entire=vg01
try also -p option for test without writing to tape.
be careful
without -x inc_entire=vg01, only the
/dev/vg00/lvol1 /stand /dev/vg00/lvol3 / /dev/vg00/lvol7 /usr
will be written to tape, so check it twice what you want to be saved.
rgds Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 11:21 PM
12-21-2004 11:21 PM
Re: root partition
I can write to floppy or dvd?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 11:46 PM
12-21-2004 11:46 PM
Re: root partition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2004 01:38 AM
12-22-2004 01:38 AM
Re: root partition
are you able to obtain external tape drive ?
Floopy can't be used, it is not only boot tape but mainly tape for "RESTORE FROM TAPE" purpose.
I'm not absolutely sure about make_tape_recovery to DVD, but I don't thing it's gonna be working.
You must obtain external tape drive or reinstall whole OS,or wait for another hint in this thread
rgds Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2004 05:50 AM
12-22-2004 05:50 AM
Re: root partition
However, there is virtually no reason to increase the size of /. By definition, it is a static filesystem and contains only the following directories:
/dev /etc /sbin
and optionally:
/tcb /net /cdrom /tmp_mnt
Most likely you have one or more mistakes in / that have used up your / space. Start by finding which / directories are mountpoints:
find /* -prune -type M
/home
/opt
/stand
/tmp
/usr
/var
The above is fairly typical. These directories are actually other lvols with filesystems and do not occupy any space in /.
Then find out which directories are local to / (and therefore count as used space in /):
find /* -prune -type d -a ! -type M
/dev
/etc
/lost+found
/root
/sbin
/tmp_mnt
Now the above list of local filesystems is typical and other than /etc /sbin and /dev, all of the directories should be empty. NOTE: The above find command locates all directories in /*, but nothing lower (-prune) and does not show mounpoints for other filesystems (! - type M).
Now see how big the local directories are:
du -kx / | sort -rn
72696 /
33944 /etc
32616 /sbin
14736 /etc/vx
14512 /etc/opt
12536 /etc/vx/type
9104 /etc/opt/resmon
6368 /etc/opt/resmon/lbin
...
As you can see, the total size of / is 72megs, about normal for most HP-UX 11.11 systems with a few optional applications loaded. If you see /dev at the top of the list, a big spelling error has occurred, usually in /dev/rmt. Find the spelling error with:
find /dev -type f
Anything reported back from this find command should be removed. Comomon spelling errors: /dev/nul /dev/null1 /dev/null2 /dev/rmt/om, etc. These are created when a device file was intended, but the exact spelling was incorrect and a normal file was created. Only root can make this mistake since /dev/is not writable by ordinary users.
The other common error is applications which did not use the standard /opt directory but instead, created their own. These apps must be moved to a mountpoint. Another possibility is that root's HOME directory has large files. root's HOME should be quite small, a few megs at most.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2004 07:46 AM
12-22-2004 07:46 AM
Re: root partition
Reason why you could fill up / ? Lots and lots of volume groups that you didn't have when you first came up. That is, data growth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2004 05:02 PM
12-22-2004 05:02 PM
Re: root partition
and clean old directory. But i have interest
about increase size of /
Who know also method, write please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2004 06:20 PM
12-22-2004 06:20 PM
Re: root partition
I just wondering whether can use online JFS to increase / .
In AIX, / can increase on fly without problem. No need to boot from recovery tape.
Regards
Rashid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2004 09:09 PM
12-22-2004 09:09 PM
Re: root partition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2004 10:38 PM
12-22-2004 10:38 PM
Re: root partition
I did have lvol3 for / and the continious PE were from lvol4 that I could break and recreate.