Sponsored Content
Full Discussion: extend /usr on AIX
Top Forums UNIX for Advanced & Expert Users extend /usr on AIX Post 26180 by killerserv on Tuesday 13th of August 2002 05:35:22 AM
Old 08-13-2002
Increase the /usr PP (Physical Partition) number with the command:
chlv -x 512 hd2

Mount /tmp with the command :
mount /dev/hd3 /tmp

Note: If the tmp logical volume name is different from /dev/hd3 the migration will fail. It is recommended that your /tmp file system has at least 40 MB of free space; if necessary, free in /tmp or extend the file system with SMIT or the chfs command (example here to increase /tmp with 20,000 512 blocks = 10 MB) :
chfs -a size='+20000' /tmp
Be aware that if the disk is completely full, you may not be able to increase the size of the /tmp or /etc if they are too small. If this is the case, make a backup (smit mksysb), and restore with the shrink option. The minimum free disk space required is 200 MB. Check the rootvg place and PP size with the command:
lsvg rootvg

If you have a system disk less than 4GB or if the PP size is 4MB, it is better to extend the hd5 partition. If you do not extend hd5, you may have the following problem:
0301-161 bosboot: dd failed to copy boot image
0301-165 bosboot: WARNING! System not bootable

To extend the hd5 partition:
check the PP number of hd5 with the command:
lspv -p hdiskXX| grep -i boot (hdiskXX is rootvg)
Only 1 PP : 1-1 used outer edge hd5 boot N/A

if the PP number is 1 extend it with the command:
extendlv hd5 1
Note : the two hd5 PP have to be contiguous.
Two PP not contiguous :1-1 used outer edge hd5 boot N/A
13-13 used outer edge hd5 boot N/A
If it is not, you have to remove hd5 and create it again with the commands:
rmlv -f hd5
mklv -y hd5 -t boot -u2 rootvg 2 hdiskXX
lspv -p hdiskXX | grep -i boot (for checking)

( Two PP contiguous : 162-163 used outer middle hd5 boot N/A)
bosboot -a -d /dev/ipldevice
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

how can I extend /usr filesystem

How can extend /usr filesystem in hp-ux 11.11 (I'm not using online JFS) ? (0 Replies)
Discussion started by: pedro_lezaeta
0 Replies

2. Solaris

How do I link ld in /usr/ucb/ to /usr/ccs/bin?

Hi all, below is the problem details: ora10g@CNORACLE1>which ld /usr/ucb/ld ora10g@CNORACLE1>cd /usr/ccs/bin ora10g@CNORACLE1>ln -s /usr/ucb/ld ld ln: cannot create ld: File exists ora10g@CNORACLE1> how to link it to /usr/ccs/bin? (6 Replies)
Discussion started by: SmartAntz
6 Replies

3. AIX

aix:ksh: /usr/bin/rm: 0403-027 The parameter list is too long.

Hi, I am getting the below error message When i am trying to delete the files from the directory.Could you please guide me? rm *.aud ksh: /usr/bin/rm: 0403-027 The parameter list is too long. and find /oracle/admin/testP/adump/*.aud -mtime +5 -exec rm {} \; ksh: /usr/bin/find:... (3 Replies)
Discussion started by: nokiae63
3 Replies

4. AIX

Which files can be deleted in /usr in an aix hacmp node?

Hi Can ony one advise which files can be deleted in /usr in an aix hacmp node ? Im new to aix and Im not sure which files can be deleted ? #df -g /usr Filesystem GB blocks Free %Used Iused %Iused Mounted on /dev/hd2 7.00 1.00 86% 67013 22% /usr ... (4 Replies)
Discussion started by: samsungsamsung
4 Replies

5. Shell Programming and Scripting

AIX -/usr/bin/expect shows output Don't know why.

Hi, I have been programming with the expect program for a while now and have create a series of menu driven checks for the operations team. One thing I have noticed is that I call a remote script and pass parameters and this is display on the screen....for example. Within the script ... (0 Replies)
Discussion started by: yakky
0 Replies

6. AIX

/usr/sbin/extendvg: Unable to extend volume group

Dear Expret, Help me about my issue, I trying add new disk to volume Group but error: step add new disk to volume group. 1. ~Change a Volume Group Add a Physical Volume to a Volume Group Remove a Physical Volume from a Volume Group Reorganize a Volume Group... (6 Replies)
Discussion started by: williamen
6 Replies

7. BSD

FreeBSD: /usr/bin/ld not looking in /usr/local/lib

I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries. I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble: $ ./autogen.sh checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies

8. OS X (Apple)

OSX: ./Users/myname OR. /usr/myname ? 1) what is the truth on UNIX ./usr/ directory.

OSX uses its own directory strecture on the BSD core, for example /Users/Bob_Alice/. but legacy Unix structure /usr/... remains. Adding confustion, some Unix books say /usr/ was never intended for specific users. and others show it being used for Bor or Alice. I am not sure where to put my third... (5 Replies)
Discussion started by: michaelayres
5 Replies

9. AIX

AIX extend VG error

Hi, I have encountered the issue of extending VG: Here is my command / > extendvg vg1 hdisk39 0516-1162 extendvg: Warning, The Physical Partition Size of 128 requires the creation of 8192 partitions for hdisk39. The limitation for volume group tsm_stg is 3048 physical... (10 Replies)
Discussion started by: Phat
10 Replies
extend(1)						      General Commands Manual							 extend(1)

NAME
extend -- produce an extended elevation from a .3d file SYNOPSIS
extend [--specfile configuration .espec file] input .3d file [output .3d file] Description Note: The extend program can also work on Compass .plt (as can aven and any other Survex program which reads .3d files). If no specfile is given, extend starts with the highest station marked as an entrance which has at least one underground survey leg attached to it. If there are no such stations, the highest deadend station in the survey (or the highest station if there are no deadends) is used. Extend puts the first station on the left, then folds each leg out individually to the right, breaking loops arbitrarily (usually at junctions). If the output filename is not specified, extend bases the output filename on the input filename, but ending "_extend.3d". For example, extend deep_pit.3d produces an extended elevation called deep_pit_extend.3d. This approach suffices for simple caves or sections of cave, but for more complicated situations human intervention is required. More com- plex sections of cave can be handled with a specfile giving directions to switch the direction of extension between left and right, to explicitly specify the start station, or to break the extension at particular stations or legs. The specfile is in a format similar to cavern's data format: ;This is a comment ; start the elevation at station entrance.a *start entrance.a ;this is a comment after a command ; start extending leftwards from station half-way-down.5 *eleft half-way-down.5 ; change direction of extension at further-down.8 *eswap further-down.8 ; extend right from further-down.junction, but only for ; the leg joining it to very-deep.1, other legs continuing ; as before *eright further-down.junction very-deep.1 ; break the survey at station side-loop.4 *break side-loop.4 ; break survey at station side-loop.junction but only ; for leg going to complex-loop.2 *break side-loop.junction complex-loop.2 This approach requires some trial and error, but gives useful results for many caves. The most complex systems would benefit from an interactive interface to select and view the breaks and switches of direction. See Also 3dtopos(1), aven(1), cad3d(1), cavern(1), diffpos(1), sorterr(1), svxedit(1) extend(1)
All times are GMT -4. The time now is 08:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy