Increasing the FileSystem Size


 
Thread Tools Search this Thread
Operating Systems AIX Increasing the FileSystem Size
# 1  
Old 05-26-2005
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 FileSystem /db/run. Using SMITTY I tried to increase the Size of the FileSystem /db/run. In fact, the SMITTY take a 100GB only so that the size of the /db/run FileSystem reached 500GB. When I told the problem to some friends, one of them said to me This is because of the limitation of your FileSystem.
When I asked him about the solution of this problem, he suggest as follow:
  1. Backup the all data on that FileSystem.
  2. Delete the FileSystem.
  3. Create the FileSystem again but with PP Size that allow us to add whole 600G to it.
  4. Finally, restoring the data from the backup was taken before.

So if this solution is true? If it is, could any body confirm the steps of this solution, and explain it in more detailed. If the suggested solution above is WRONG, could anybody help me to find out the ideal solution, where the FileSystem size increases to reach 600GB, without LOSING any Data was stored on the FileSystem before.
# 2  
Old 05-26-2005
I have run into similiar types of problems, but usually have been able to into smit chlv and change MAXIMUM NUMBER of LOGICAL PARTITIONS for the logical volume in question. You may have hit the maximum already. I would look into this first before trying the steps your friends have mentioned.
# 3  
Old 05-27-2005
Thanks chosie for your response. Also, I forgot to write some points.
  1. I have a Volume Group called ndbvg which is consists only of this FileSystem /db/run.
  2. The 2nd thing, I remembered the problem really is depending on one of the FileSystem's atrributes that can't be changed after the FileSystem has been created. Because this attribute could be set during the creation process of the FileSystem.
# 4  
Old 06-03-2005
Check the error massage first. What was the error message when you did the smitty and it only increased 100 GB instead of 200GB? If it complained about excess the max space or something like that, then you just need to change the MAX pv for ndbvg, and add 100GB more afterward. If you didn't see any error message, and after smitty, the total FS size became 500GB instead of 600GB, then make sure you've filled in the right number in 512 -byte block.

Your ndbvg shouldn't be striping since you only have /db/run, one lv, I think you should be able to increase it just simply through smitty. But do make sure that the ndbvg is not stripping.

There are some attributes of the vg that can be change without backing up anything, but pp size is not one of them.

Last edited by amli; 06-03-2005 at 06:15 PM..
# 5  
Old 06-06-2005
Since the threadstarter hasn't provided any data that could shed any light on his problem I'm jsut left to guesses.

Having said this: There are some limitations in jfs which may cause the problem: "Number of Bytes per Inode" and "Allocation Group Size" for instance. In this case the only thing you can do is to back up the FS, drop/recreate it with different values and restore the data.

bakunin
# 6  
Old 06-06-2005
The error message from smitty was as following:

chfs cannot entered a jfs filesystem with nbpi=32768 and frag=4096 past 1073741824 (512-byte blocks)

Last edited by aldowsary; 06-13-2005 at 11:22 PM..
# 7  
Old 06-07-2005
This is exactly what I was talking about. Time for a little B&R (bakuckup and restore).

If you do have enough space available you can speed things up by making a new FS, mount it on some temporary place, move the data, then umount the old FS, drop it and mount the new FS to the original place.

bakunin
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 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... (4 Replies)
Discussion started by: Mohamed Thamim
4 Replies

3. Solaris

increasing interlace size

Hi All, I have got a RAID 5 SVM in my Solaris Box. Recently we had performance issues with it. So SUN has told us to increase the interlace size to 128k. how can we do it so that we have to recreate the RAID 5. ALso guide what are all the pre cautions that we need to take before doing... (1 Reply)
Discussion started by: jegaraman
1 Replies

4. 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

5. 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

6. AIX

Increasing size of a filesytem

hi Im using AIX4.3. Through smit I tried to increase the size of a directory. I changed 10,000 blocks more but finally i got 524288 blocks more. That is before change : 12582912 blocks I have tried for change: 12592912 blocks then i execute smit. But finally I got: ... (3 Replies)
Discussion started by: sumanbangladesh
3 Replies

7. HP-UX

Increasing swap size

We increased our server's RAM 8 -> 32 GB RAM. swap memory is currently 10 GB. With which command I can increase this memory? (1 Reply)
Discussion started by: akyuceisik
1 Replies

8. HP-UX

Help on increasing fs size

Hi Experts, I am not sure whether my question should be in this thread or some other one. I am using HP Tru64 system. Currently one of my filesystem /others is almost full. I need to know the exact commands to increase this filesystem. Please show me how to check for free partitions and add... (5 Replies)
Discussion started by: kingsto88
5 Replies

9. UNIX for Dummies Questions & Answers

Increasing a directory size

Hello all Can someone tell me I am running a script and the outputs directory is too small to contain the newly created file as a result of this script. How can I increase the directory size? Thanks (9 Replies)
Discussion started by: jonest
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