Sponsored Content
Operating Systems AIX Cannot grow jfs file system on AIX 5.2 Post 302339437 by shockneck on Thursday 30th of July 2009 01:20:03 PM
Old 07-30-2009
Quote:
Originally Posted by need2bageek
Hi shockneck,

Thanks for the advice. I wasn't aware this is a mirrored LV. How did you determine that with the output I supplied?

Also, after seeing your reply, I tried increasing the file system by 256MB instead of 512MB but I still received the same message. Is there any trick to adding space to a file system on a mirrored logical volume? Please help. I was recently made the AIX guy at work [...]
The good news here is: AIX is a UNIX that is very nice to administrate even for beginners because of the System Managment Interface Tool SMIT. Nonetheless you might hint to your boss that you cannot take responsibility for a production server without proper education.

The mirroring is visible by the number of Logical Partitions LP in relation to the number of Physical Partitions PP. There are twice as much PP as LP and thus you know the Logical Volume LV consists of two mirror copies. This is transparent for the application which sees just the LP.
As to the second allocation problem. Whenever you get problems with the allocation it is a good idea to look into the LVs configuration.
# lslv <yourlv>
and into what the Volume Group's disks look like. Allocation problems usually result from the LV configuration requireing a distribution of the data that cannot be fullfilled with the diskspace available. You can then either change the LV's configuration or make the diskspace fit (by adding disks or migrating data). Most of this work can be done online.

A mirror makes sense only when the PPs are placed on different disks. While you could place two copies on one disk the default is to force using different disks. This is likely to be the case with your /usr filesystem. However from the lsvg output it is not clear whether there is the same number of free PP on any rootvg disk. So after checking the LV you need to find out where you could possibly place the data. There are several commands to accomplish this but for now you might use
# lspv <rootvgdisk1>
# lspv <rootvgdisk2>
to find out how many PP are free on your rootvg disks. If every rootvg LV is mirrored evenly there should be 11 PP free on every disk because there are 22 PP free altogether in the VG. However, as there is another alloc Problem the PP might be distributed unevenly among the disks. So the trick here is to extend the /usr filesystem just by the minimum number of PP that are free on every rootvg disk. E.g. should there be 6 PP free on hdisk0 and 16 PP on hdisk1 you extend your /usr FS by 6*32M.

In case there are no free PP on one disk at all or not enough PP it is possible with AIX to move PP from one disk to the other online. In that case come back and post the output of lsvg -l rootvg.

HTH
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Mounting an ISO As a file system in AIX

I want to mount an ISO image as a file system in AIX, have been unable to find a utility to do so after scouring the net. Bryan (1 Reply)
Discussion started by: murdaugh
1 Replies

2. UNIX for Advanced & Expert Users

jfs (jfs2) for AIX versus Veritas

Hi there, Can anyone tell me the advantages that jfs has over Veritas (if any)?? Cheers. (5 Replies)
Discussion started by: rich
5 Replies

3. Programming

Does anyone have example code for getting File System info on AIX

I'm looking for example C source of how to get file system information on AIX systems. Does anyone have anything? (3 Replies)
Discussion started by: StuBob
3 Replies

4. AIX

Can not extend a JFS file system

Hi, I am getting an error message when i try to increase the size of a filesystems under AIX 4.3.3: chfs: 0506-932 Can not extend a JFS file system with nbpi = 4096 and frag = 4096 past 134217728 (512 byte blocks). -> Characteristics Journaled File System ... (4 Replies)
Discussion started by: Can
4 Replies

5. UNIX for Advanced & Expert Users

AIX 5.2 using jfs2 file system

We are using AIX 5.2 using jfs2 almost all excpt one mount. Is it possible for a non root user id to mount one file system without journaling turned on, perform some activities and then remount (un-mount and mount) the same file system again. Please advise if this is possible Thanks (2 Replies)
Discussion started by: jerardfjay
2 Replies

6. UNIX for Dummies Questions & Answers

Copy a file from a dvd to the local AIX file system

Hi, I am a newbie to AIX, so please bear with me. I have mounted a dvd drive on AIX. I am trying to copy the file that is on the dvd drive on to the local machine. However, I get an error: cp: c1m_0001.gz: A system call received a parameter that is not valid. Can some one point me to the... (1 Reply)
Discussion started by: anurag1510
1 Replies

7. Solaris

How to grow my files System?

Dear Gurus of Unix. When I Put this command: # iostat -E cmdk0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Model: SAMSUNG SV4012H Revision: Serial No: 0540J1BTC53208 Size: 40.06GB <40060403712 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal... (6 Replies)
Discussion started by: andresguillen
6 Replies

8. AIX

AIX file system tuning

how do i determine the percentage of the following befor i install oracle 11g maxperm% maxclient% v_pinshm lgpg_regions lgpg_size (3 Replies)
Discussion started by: thecobra151
3 Replies

9. AIX

Command to find file system details on AIX

Hi , Could you please tell me how to find the following on AIX? 1.Command to find file system details? 2.What are all the files exist under a specific directory along with their sizes? In general we use, du -sh * | grep M under a directory which returns files having size of MB,... (18 Replies)
Discussion started by: Maddy123
18 Replies

10. Solaris

How to grow a zfs file system?

Hi I have the following file system, that needs to be expanded to more 500Gb, so a total of 1Tb: df -h /oradata1 Filesystem Size Used Available Capacity Mounted on oradata1 587G 517G 69G 89% /oradata1 I am not familiar with zfs, I am more... (17 Replies)
Discussion started by: fretagi
17 Replies
volreattach(8)						      System Manager's Manual						    volreattach(8)

NAME
volreattach - Reattaches disk drives that have once again become accessible SYNOPSIS
/usr/sbin/volreattach [-rb] [accessname...] /usr/sbin/volreattach -c accessname OPTIONS
The volreattach utility has the following options: Calls the volrecover utility to attempt to recover stale plexes of any volumes on the failed disk. Performs the reattach operation in the background. Checks whether a reattach is possible. No operation is performed, but the name of the disk group and disk media name at which the disk can be reattached is displayed. DESCRIPTION
The volreattach utility attempts to reattach disks using the same disk group and media names they had before detachment. This operation may be necessary if a disk has a transient failure, or if some disk drivers are unloaded or unloadable when the Logical Storage Manager is started, causing disks to enter the failed state. If the problem is fixed, the volreattach command can be used to reattach the disks without plexes being flagged as stale, as long as the reattach happens before any volumes on the disk are started. The volreattach command is called from the voldiskadm menus as part of disk recovery. The volreattach utility tries to find a disk with a disk group and disk ID matching that of the disk(s) being reattached. If the matching disk is found, the reattach operation may still fail if the original cause (or some other cause) for the disk failure still exists. EXIT CODES
A zero exit status is returned if it is possible to perform a reattach. Otherwise, non-zero is returned. SEE ALSO
volintro(8), voldiskadm(8), volrecover(8) volreattach(8)
All times are GMT -4. The time now is 02:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy