Problem in increasing filesystem


 
Thread Tools Search this Thread
Operating Systems AIX Problem in increasing filesystem
# 1  
Old 04-16-2014
Problem in increasing filesystem

Hi Friends,

I have a problem while increasing the fileystem. Actually the filesystem is 256 gb
and i have to add another 256 gb.So i got a new lun(hdisk) with 256 gb.
I added to the vg using the extendvg command.
It was successfully added, and when i checked the free pp's in vg it was showing for 256 gb (1023 pp) 1 pp= 256mb .
So when i was giving the chfs to increase it was shown below 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.

but when i checked the lv for max pp it was no issue it is showing
MAX LPs: 2046 and also the upperbound value is 16.So everything is fine in lv.

But when i checked the vg o/p again i was shocked that there is no free pp.

but the filesystem also not increased.

My question is,
Will the system need a reboot, or i have to again reduce the disk from vg and need to add?
But for removing the disk from vg i need to check whether the disk is in use? so how to check.

Pls help me out in this...

Thanks in advance...

Last edited by vbe; 04-16-2014 at 12:08 PM.. Reason: code tags
# 2  
Old 04-16-2014
Could you give me the following output
Code:
lsvg -l <vg> | grep -i  <lvname>
lslv <lvname>

As a basic check I would like to see if its stripe /mirror

Last edited by zaxxon; 04-23-2014 at 03:22 AM.. Reason: code tags
# 3  
Old 04-16-2014
1st thing, the error is saying you have no free PPs, so don't go for 256GB extention directly, if you have not observe the available free PPs on VG is 1023 (as one PP is taken by VG).

Just go with 250GB or 255GB expansion instead of 256GB
chfs -a size=+255G /<filesystem name>

As you mentioned you have checked the Max LPs for the LV of that filesystem. But, considering you want to go to 512 GB, you need alteast 2048 LPs on that LV
PP size is 256 mb, so 1gb will have 4 PPs,1024/256=4, then 512(gb)*4=2048(LPs)
Verify that by issuing lslv <lv name> | grep "MAX LPs"

You don't have to reboot the system.
If on the new disk you are expanding this filesystem then, you can easily remove the disk from VG, by issuing reducevg command.
You can issue a command lspv -l hdiskX to list the LV residing on that PV.

Hope this helps.
These 2 Users Gave Thanks to ibmtech For This Post:
# 4  
Old 04-18-2014
hi friends,

I have got the solution and i has been solved.

Just i have decreased the FS to 1 gb so that all the freep pps's have bee shown then i increased to 255Gb leaving 1 pp free for loglv thanks once again...
# 5  
Old 04-23-2014
Quote:
Just i have decreased the FS to 1 gb so that all the freep pps's have bee shown then i increased to 255Gb leaving 1 pp free for loglv thanks once again...
I'd highly recommend creating your jfs2 filesystems with the "-a logname=INLINE" option and avoid the messes caused by separate loglv.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Hardware

Increasing the filesystem size

Hi Guys We have a VM machine, now I want to increase the size of the filesystem. We are running RHEL6 O/S. I have filesystem that is 500GB I want to increase that filesystem to 1.5 TB. The guy who manages the VM increased the size on the VM machine, now how do I make sure that the... (7 Replies)
Discussion started by: Phuti
7 Replies

2. AIX

Problem with filesystem created after HACMP was shut down

There is a shared volume group connected to two AIX systems A and B on a shared storage. The shared volume group was regularly attached to the system A and in case of a system A crash, the system B should take over the shared volume group and resources on it. Resources on the shared storage:... (1 Reply)
Discussion started by: yamanu
1 Replies

3. AIX

Mount Filesystem in AIX Unable to read /etc/filesystem

Dear all, We are facing prolem when we are going to mount AIX filesystem, the system returned the following error 0506-307The AFopen call failed : A file or directory in the path name does not exist. But when we ls filesystems in the /etc/ directory it show -rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies

4. Solaris

Problem mounting iscsi filesystem

Hi, I have a strange problem with iscsi. My vfstab entry looks like this: /dev/md/dsk/d100 /dev/md/rdsk/d100 /zones/ssapp0895v01 ufs 2 iscsi - After rebooting, the filesystem gets mounted with the option "nosetuid". I believe the default should be "suid" /zones/ssapp0895v01 on... (0 Replies)
Discussion started by: alvaro66
0 Replies

5. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

6. AIX

Increasing ./usr or any filesystem

Hi guys, I want to increase my ./usr or just one path in my aix6.1 machine. currently if I # lsvg rootvg VOLUME GROUP: rootvg VG IDENTIFIER: 00f6126500004c00000 0012aef0c9035 VG STATE: active PP SIZE: 128... (2 Replies)
Discussion started by: pilotHans
2 Replies

7. AIX

Does HACMP have bugs increasing filesystem or Logical volumes

Hello, Does HACMP have bugs ? I have version 5.4 on AIX 6.1 and when I try to increase filesystem space or logical volume partitions which are under HACMP VG it gives me error: # lsvg rootvg pr0oravg px0oravg pb0oravg pr0sapvg px0sapvg pb0sapvg pr1_pr2_vg pr2_px1_vg # #... (11 Replies)
Discussion started by: filosophizer
11 Replies

8. Solaris

need help Filesystem Problem

hi expert, please help have a problem with my new Sun Solaris server V890 after power on and booted into the os i had get this error messages below : * no command can use except "cd" Boot device: root-disk File and args: SunOS Release 5.8 Version Generic_117350-34 64-bit Copyright... (7 Replies)
Discussion started by: bucci
7 Replies

9. AIX

Increasing the FileSystem Size

Hi Everybody, I have AIX 4.3 and I have a FileSystem with 400GB size, which called /db/run. Because of grow up of the application's data, more storage has been added 200GB. To add this space without affecting the application & the application's requirements, I have to add this 200GB to the existed... (9 Replies)
Discussion started by: aldowsary
9 Replies

10. UNIX for Advanced & Expert Users

Increasing filesystem space

Now, i know a ufs file system can be increased using mkfs but hwo do I take space from a file system and add it to another file system? at my job here, that seems to be possible because I see request on it almost every day. what is the exact command to do this and does the system need to be... (1 Reply)
Discussion started by: TRUEST
1 Replies
Login or Register to Ask a Question