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
PARTITION(8)						      System Manager's Manual						      PARTITION(8)

NAME
partition - make a partition table SYNOPSIS
partition [-mf] device [type:]size[+*] ... DESCRIPTION
Partition makes a partition table on device using the types and sizes given. It may be used in combination with repartition(8) for auto- matic installation of Minix. You may give up to four type:size[+*] specifications for the partitions. You may also specify holes before, between, and after the parti- tions. A hole differs from a partition specification by not having a type. The first hole is by default 1 sector to make space for the primary bootstrap and the partition table. The other holes are 0. The type field is the type of the partitition in hexadecimal. The size field is the partition's size in sectors. The + or * may option- ally be added to indicate that the partition must be expanded to contain any leftover space on the device or to mark the partition active. Partitions are padded out to cylinder boundaries, except for the first one, it starts on track 1. Some operating systems care about this. Minix and MS-DOS do not. OPTIONS
-m Minix only, no need to pad partitions. This is the default for subpartition tables. -f Force making a partition table even if the device is too small. EXAMPLE
partition /dev/hd0 01:16384 81:40000 81:2880* 06:20000+ Partitions disk 0 into an 8 Mb DOS partition, 20 Mb Minix /usr, 1.44 Mb Minix / (active), and a DOS partition of at least 10 Mb at the end of the disk. (06:0+ would have been ok too, it's just a sanity check.) SEE ALSO
hd(4), part(8), repartition(8). AUTHOR
Kees J. Bot (kjb@cs.vu.nl) PARTITION(8)
All times are GMT -4. The time now is 08:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy