Help growing fs


 
Thread Tools Search this Thread
Operating Systems AIX Help growing fs
# 1  
Old 03-22-2016
Help growing fs

Hello,

I have a filesystem that I'm trying to grow but it's giving me the error:

Code:
0516-404 allocp: This system cannot fulfill the allocation request.
        There are not enough free partitions or not enough physical volumes
        to keep strictness and satisfy allocation requests.  The command
        should be retried with different allocation characteristics.

I'm missing something but don't know enough about AIX filesystems to know what it is. The command lsvg mvg shows the following:

Code:
VOLUME GROUP:       myvg                    VG IDENTIFIER:  00f6757600004c000000013f3e5e8f1f
VG STATE:           active                   PP SIZE:        1024 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      3050 (3123200 megabytes)
MAX LVs:            256                      FREE PPs:       1030 (1054720 megabytes)
LVs:                2                        USED PPs:       2020 (2068480 megabytes)
OPEN LVs:           2                        QUORUM:         1 (Disabled)
TOTAL PVs:          2                        VG DESCRIPTORS: 3
STALE PVs:          0                        STALE PPs:      0
ACTIVE PVs:         2                        AUTO ON:        no
Concurrent:         Enhanced-Capable         Auto-Concurrent: Disabled
VG Mode:            Non-Concurrent
MAX PPs per VG:     32768                    MAX PVs:        1024
LTG size (Dynamic): 256 kilobyte(s)          AUTO SYNC:      no
HOT SPARE:          no                       BB POLICY:      non-relocatable
MIRROR POOL STRICT: off
PV RESTRICTION:     none                     INFINITE RETRY: no

And the output of lslv mylv:

Code:
LOGICAL VOLUME:     mylv                 VOLUME GROUP:   myvg
LV IDENTIFIER:      00f6757600004c000000013f3e5e8f1f.2 PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       opened/syncd
TYPE:               jfs2                   WRITE VERIFY:   off
MAX LPs:            2048                   PP SIZE:        1024 megabyte(s)
COPIES:             2                      SCHED POLICY:   parallel
LPs:                1009                   PPs:            2018
STALE PPs:          0                      BB POLICY:      relocatable
INTER-POLICY:       minimum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    1024
MOUNT POINT:        /fs                   LABEL:          /fs
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes (superstrict)
Serialize IO ?:     NO
INFINITE RETRY:     no
DEVICESUBTYPE:      DS_LVZ
COPY 1 MIRROR POOL: None
COPY 2 MIRROR POOL: None
COPY 3 MIRROR POOL: None

I think "PP SIZE" is the problem, but I'm not 100% sure. How can I increase the fs without taking the system offline?
# 2  
Old 03-22-2016
you forgot to provide the command you use to expand the filesystem.
# 3  
Old 03-22-2016
I tried using both
Code:
smitty jfs2

and
Code:
chfs -a size=+100G /fs

# 4  
Old 03-22-2016
You seem to gave a 2GB VG on 3GB disk space and you tried to increase it by 100GB when there is only 1GB remaining...
HTH
# 5  
Old 03-23-2016
Huh? Am I misreading that number? That's not 1TB of available storage?

I'm looking at the free PPs in the output.

---------- Post updated at 11:25 PM ---------- Previous update was at 10:44 PM ----------

Ok, I figured this out. The volume group has 2 PVs. When I expanded the disk, only 1 PV was expanded. I expanded the second disk and then rescanned the vg using chvg -g myvg.

Now I'm able to grow the fs no problems.

Thanks for chiming in fellas. Much appreciated.
# 6  
Old 03-29-2016
Your filesystem is mirrorred:

Code:
COPIES:             2                      SCHED POLICY:   parallel
LPs:                1009                   PPs:            2018

So, what is most likely the problem: one of the PV - physical volumes is (nearly) full, while the other is not.

Literally, what the message says is that it cannot provide an equal number of PP for each PP on different physical volumns - so it cannot satisify the mirroring specification.

While the volume group may have sufficient space, it is nearly all coming from one "physical" volume.

Potential solutions:
a) migrate an un-mirrored logical volume from the full disk, to the less full disk
b) if the LUNs are already mirrored in the storage (e.g., SAN LUN that is actually a RAID5) you could consider un-mirroring the logical volume.
c) add a new LUN to the volume group.
d) - what you did, saw it after posting Smilie -- good job!

Last edited by MichaelFelt; 03-29-2016 at 02:43 PM.. Reason: added solution d)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

/usr is growing fast

I'm having a strange Phenomenon here in one of my servers /usr file system is growing fast and it went wild. I have searched the entire file system for large , growing and newly created files with no clue what's going on I have found nothing strange. Any further idea a snapshot from df's ... (4 Replies)
Discussion started by: h@foorsa.biz
4 Replies

2. Red Hat

Growing filesystem using LVM

Hi, I have a LUN presented to a Linux system and would like to ask if someone can advise if the logical volume /dev/mapper/VGOra-LVOra 12G 11G 659M 95% /usr/app/oracle can be extended. Is there any free space to allocate.... The LUN (25G) has been configured as follows: LUN - ROOT...... (4 Replies)
Discussion started by: jamba1
4 Replies

3. Shell Programming and Scripting

growing files

I am trying to be pro-active and prevent FS from filling up. I know about the df/du command also find -size -mtime ....... What I want to know is there a way I can do a find to see which files have been accessed or modified after a specifc YYYYMMDD-HHMMSS. What I am really looking for is to... (4 Replies)
Discussion started by: BeefStu
4 Replies

4. Solaris

Help with Growing FS

Ok so I just installed Solaris 10 on my x86 laptop. But I too the defaults and now all of the FS's are very small. I can't install anything. The drive is a 40GB but only about 11GB is being seen and used. How can I get the OS to see and use the rest of the drive? I was just going to reinstall, but... (3 Replies)
Discussion started by: bbbngowc
3 Replies

5. Filesystems, Disks and Memory

Growing a FS over 1T - can it be done ?

Greeting Forumers! I've been asked to increase space in a FS that is currently 740G in size: Filesystem size used avail capacity Mounted on /dev/md/dsk/d664 740G 424G 308G 58% /ora_back My SAN administrator has allocated 5 LUNs of 200G each - this will make... (3 Replies)
Discussion started by: bluescreen
3 Replies

6. Solaris

Growing /opt

Hi, /opt on my disk is almost 90%. I thought of growing it. I followed the below procedure: 1. added a new hard disk 2. formatted the same with ufs 3. created a slice and tried to label it as "opt" with "wm" permissions. but got stuck at 3 as it is not allowing me to label the slice... (9 Replies)
Discussion started by: EmbedUX
9 Replies

7. Solaris

Growing a file system-SVM

Hi gurus Im a newbie in solaris..I need to extend file system space in solaris 10 which is using SVM..I have a file system /pin02 which is 93% full n needs to be extended..only 3.6 gb avail space left..the file system is not mirrored...normal ufs file system only..can u please tel me t... (6 Replies)
Discussion started by: madanmeer
6 Replies

8. AIX

Help growing iscsi lun

Hi, I have an iSCSI LUN of 200GB. I increased it to 250GB and when I try to increase the size of the vg, I'm getting an error that none of the volumes have increased in size. How can I get the OS to see the additional 50GB? ---------- Post updated at 03:22 PM ---------- Previous update... (9 Replies)
Discussion started by: bbbngowc
9 Replies

9. UNIX for Dummies Questions & Answers

.osm file growing

my /etc/.osm file is growing rapidly and logging large amounts of activity. Can anyone tell me what this file is for and what types of information is logged in this file. Thanks in advance for your help!! (1 Reply)
Discussion started by: golfs4us
1 Replies

10. AIX

AIX Growing Files

Hi Everybody, I want to know the names & locations of the common AIX files which it's size keep growing. I think there is a procedure to clean these files to avoid the space overflow, I wish also if anybody can tell me what is the proper procedure to make more available space. Another issue, that... (2 Replies)
Discussion started by: aldowsary
2 Replies
Login or Register to Ask a Question