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
logredo(8)						 JFS utility - replay journal log						logredo(8)

NAME
logredo - "replay" a JFS formatted device's journal log SYNOPSIS
logredo device DESCRIPTION
logredo applies all committed transactions recorded in the JFS journal log since the most recent synch point. Its goal is to put the JFS file system in the state it would have been in if all transactions had been applied, in order, by the JFS file system itself. device is the special file name corresponding to the actual device on which the journal log will be replayed (e.g. /dev/hdb1 ). logredo must be run as root. WARNING
logredo is called from within fsck.jfs, and is not recommended to be run as a stand-alone utility unless completely necessary, and only by advanced users with a clear understanding of journaling in a file system. BUGS
If you find a bug in JFS or logredo, please report it via the bug tracking system ("Report Bugs" section) of the JFS project web site: http://oss.software.ibm.com/jfs Please send as much pertinent information as possible, including any logredo error messages and the complete output of running fsck.jfs with the -v option on the JFS device. SEE ALSO
xchklog(8), xchkdmp(8), mkfs.jfs(8), fsck.jfs(8), logdump(8), xpeek(8) AUTHORS
Barry Arndt (barndt@us.ibm.com) William Braswell, Jr. logredo is maintained by IBM. See the JFS project web site for more details: http://oss.software.ibm.com/jfs October 10, 2001 logredo(8)
All times are GMT -4. The time now is 10:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy