The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to extend a filesystem jackiebaron SUN Solaris 5 05-22-2008 08:34 PM
Extend a Filesystem with other LV aldowsary AIX 6 11-01-2007 02:42 AM
How to extend /tmp size? mr_bold UNIX for Dummies Questions & Answers 3 07-25-2007 01:11 AM
how to extend a vg on the same disk pedro_lezaeta HP-UX 6 05-02-2007 09:18 AM
How to extend ?? starszym AIX 5 10-18-2006 12:46 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 08-13-2002
Registered User
 

Join Date: Aug 2002
Posts: 1
Question extend /usr on AIX

Hi!

How to extend /usr partition in rootvg on AIX 4.3.3-09?
I guess first I'll have to decrease the size of other partition(s) in rootvg?


Thank you!
Forum Sponsor
  #2  
Old 08-13-2002
killerserv's Avatar
Unix Predator
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
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
  #3  
Old 08-13-2002
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
you can also use smit jfs

you can only increase the size of a filesystem but you can not decrease the size of a filesystem.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:54 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0