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
CACHEINFO(5)							AFS File Reference						      CACHEINFO(5)

NAME
cacheinfo - Defines configuration parameters for the Cache Manager DESCRIPTION
The cacheinfo file defines configuration parameters for the Cache Manager, which reads the file as it initializes. The file contains a single line of ASCII text and must reside in the /etc/openafs directory. Use a text editor to create it during initial configuration of the client machine; the required format is as follows: <mount>:<cache>:<size> where <mount> Names the local disk directory at which the Cache Manager mounts the AFS namespace. It must exist before the afsd program runs. The conventional value is /afs. Using any other value prevents traversal of pathnames that begin with /afs (such as pathnames to files in foreign cells that do use the conventional name). The -mountdir argument to the afsd command overrides this value. <cache> Names the local disk directory to use as a cache. It must exist before the afsd program runs. The standard value is /usr/vice/cache, but it is acceptable to substitute a directory on a partition with more available space. Although the Cache Manager ignores this field when configuring a memory cache, a value must always appear in it. The -cachedir argument to the afsd command overrides this value. <size> Specifies the cache size as a number of 1-kilobyte blocks. Larger caches generally yield better performance, but a disk cache must not exceed 90% of the space available on the cache partition (85% for AIX systems), and a memory cache must use no more than 25% of available machine memory. The -blocks argument to the afsd command overrides this value. To reset cache size without rebooting on a machine that uses disk caching, use the fs setcachesize command. To display the current size of a disk or memory cache between reboots, use the fs getcacheparms command. EXAMPLES
The following example cacheinfo file mounts the AFS namespace at /afs, establishes a disk cache in the /usr/vice/cache directory, and defines cache size as 50,000 1-kilobyte blocks. /afs:/usr/vice/cache:50000 SEE ALSO
afsd(8), fs_getcacheparms(1), fs_setcachesize(1) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 CACHEINFO(5)
All times are GMT -4. The time now is 06:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy