Multi-terabyte filesystem space increase on AIX7.1


 
Thread Tools Search this Thread
Operating Systems AIX Multi-terabyte filesystem space increase on AIX7.1
# 1  
Old 01-31-2017
Multi-terabyte filesystem space increase on AIX7.1

Hi,

I need to increase a filesystem from around 1TB to 15TB on a running AIX7.1 TSM server.
This will be by far the largest single filesystem increase I've ever performed, or even heard of.

The volume group already has enough disk available (in fact the filesystem was always intended to be 15TB, it just wasn't initially setup at the right size).

Can I just increase the filesystem to the full required size (chfs -a size=+14000G)?
Would I be advised to do the increase in a number of smaller jumps, say 4 lots of 3TB etc.?

Are there any limits or gotchas I need to be aware of? (The filesystem is jfs2, so in theory it should be able to go to 15TB no problem).

TIA, Alan.
# 2  
Old 02-01-2017
Hello alanp36,

You might need to look at the maximum number of extents allowed for the logical volume. You might need a chlv -x <<large_value_here>> type command.

A few things to think about:-
  • What is your PP size for the volume group?
  • Can you show us the output for lslv <<lv_name_here>>
  • Is your volume group protected? I'm guessing it must be formed from RAID or SAN LUNs, but one should ask Smilie
  • Would you be better saying "increase by this amount" or "increase to this amount"?

There should not be a problem going in one go.



Robin

Last edited by rbatte1; 02-01-2017 at 09:37 AM.. Reason: Correcting lslv
This User Gave Thanks to rbatte1 For This Post:
# 3  
Old 02-01-2017
I would suggest to go in smaller chunks - 1 or 2 TB.
This User Gave Thanks to agent.kgb For This Post:
# 4  
Old 02-01-2017
Quote:
Originally Posted by agent.kgb
I would suggest to go in smaller chunks - 1 or 2 TB.
Very interesting. Would you care to share with us the reason why? I was under the impression that it would not matter at all.

bakunin
# 5  
Old 02-01-2017
You are right, it would not matter at all, but sometimes I'm very conservative.

If you make it in one step, it takes a long time and if something goes wrong, you have to repeat the whole operation from the very beginning.

If you make it in smaller steps, in case of errors, you repeat just the last small step. If e.g. you don't have enough free space in /tmp, you fail during the first operation. If you wrong calculated the free space in the volume group (you know 14 TB are not always 14 TB ;-) you repeat only the last step, decreasing the size of the additional space.

And you can always write in a single line, something like:
Code:
# for i in 1 2 3 4 5 6 7 ; do if ! chfs -a size=+2000G /myfs ; then print -u2 f.ck && break ; fi ; done

# 6  
Old 02-02-2017
Thanks for the reply Robin.

By maximum number of extents I assume you mean MAX LPs?
- That is something I will need to increase when I go to do the filesystem increase.

PP size in the VG is 1024GB. It was originally designed for this size filesystem.

Not sure what you mean by is the volume group protected, but yes it is SAN disk.

As regards "increase to" versus "increase by", as far as I'm aware there is no functional difference (assuming one calculates correctly).

Cheers, Alan.


Quote:
Originally Posted by rbatte1
Hello alanp36,

You might need to look at the maximum number of extents allowed for the logical volume. You might need a chlv -x <<large_value_here>> type command.

A few things to think about:-
  • What is your PP size for the volume group?
  • Can you show us the output for lslv <<lv_name_here>>
  • Is your volume group protected? I'm guessing it must be formed from RAID or SAN LUNs, but one should ask Smilie
  • Would you be better saying "increase by this amount" or "increase to this amount"?

There should not be a problem going in one go.



Robin
# 7  
Old 02-02-2017
Yes, sorry, extents is more of an Oracle space allocation. Smilie

The difference in "increase to" and "increase by" determines if you do this:-
Code:
chfs -a size=15000G /your_fs

... or this:-
Code:
chfs -a size=+15000G /your_fs

The former sets the new size and the latter sets the increase in size, so depending what you start with, there could be quite a difference.

I think you have a good plan and I think that the suggestion from agent.kgb is very sensible. Maybe stop short and do the last 2 extensions yourself. Ensure you don't over-allocate the filesystem. When I last had AIX, reducing a filesystem was not possible - you had to drop & re-create it.

SAN disk is (almost always) provided by protected disk, so probably RAID5 or RAID10 etc., but if you have SAN disk, it is not the concern of the person managing the AIX server, so that makes things easier. Smilie


King regards,
Robin
This User Gave Thanks to rbatte1 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Increase filesystem size AIX 5.3

I an trying to increase the file size on an AIX 5.3 box. I think i am missing the correct syntax for the command. Here is was i am trying on a test box # lsvg rootvg VOLUME GROUP: rootvg VG IDENTIFIER: 0000bd8b00004c00000 0010d8ed7a76e VG STATE: active ... (3 Replies)
Discussion started by: fierfek
3 Replies

2. AIX

Increase filesystem and or logical volume

Hi all, Do i need to increase the logical volume each time i increase the filesystem? or is enough to increase the filesystem and the logical volume get increase automatically? extendlv hd4 1 chfs -a size=2G /tmp or just chfs -a size=2G /tmp Code tags! (4 Replies)
Discussion started by: prpkrk
4 Replies

3. Red Hat

Increase the filesystem size

Hi I am using oracle linux 6.4. My hard drive capacity is 500 GB. my filesystem size onbly 50GB. I would like to extend my filesystem size to around 100GB. I tried many codes but still I am not able. this is the output of df -h : Filesystem Size Used Avail Use% Mounted on... (6 Replies)
Discussion started by: farshad
6 Replies

4. Solaris

How to increase or decrease inode number of the particular UFS filesystem

Hi Gurus I want to know the command & tips regarding, how to increase or decrease inode number of the particular ufs filesystem. Is it possible to do it in a live/production environment. Regards (3 Replies)
Discussion started by: girish.batra
3 Replies

5. AIX

How to increase the filesystem size in HACMP

How to increase the filesystem size in HACMP. what is the difference between normal chfs command and increase the filesystem size in HACMP. (4 Replies)
Discussion started by: AIXlearner
4 Replies

6. UNIX for Dummies Questions & Answers

How to increase the filesystem size?

Hi.. I want to increase the file system size of any filesystem online, without using the Volume manager like LVMs, is it possible? & if yes then how? (3 Replies)
Discussion started by: Amol21
3 Replies

7. Solaris

increase/decrease filesystem

Hi All, I need to increase the filesystem of / and /var (two different slices)? Space will be coming from /home slice so I need to decrease it. Is that possible without reinstallation or in a single-user-mode? Any idea or link please. Thanks in advance. (5 Replies)
Discussion started by: itik
5 Replies

8. Solaris

how to increase the filesystem size under veritas control

Hi all, aloe:root-> df �k Filesystem 1024-blocks Used Available Capacity Mounted on /dev/vx/dsk/rootvol 8254263 2064133 6107588 26% / /proc 0 0 0 0% /proc mnttab ... (2 Replies)
Discussion started by: krishna176
2 Replies

9. Solaris

What is the command to increase filesystem on solaris

I wanted to know what is the process or command to increase a filesystem on solaris. For example the /tmp directory. (3 Replies)
Discussion started by: strikelit
3 Replies

10. UNIX for Advanced & Expert Users

Reason for continuously increase filesystem size?

Hi my file system size /hd4 is keep on increasing continuously , i tried all the performance related command to identify which process is currently running........ for every minute my FS(/hd4) size is increasing ?what could be the problem? how to diagnose it ? is there any specific command... (3 Replies)
Discussion started by: aixteam
3 Replies
Login or Register to Ask a Question