Solved

AIX : JFS Filesystem and Big VG

Posted on 2009-07-10
6
942 Views
Last Modified: 2013-11-17
Hi Experts,

I would like to create a Big Volume Group with the filesystems as attached excel sheet.

Could you all pls advice what's the appropriate PP size I should put when configure the Big VG?

I heard that there's mbpi limitation for JFS.

Thank you very much and have a nice day.

Best Regards,
Terrence Tan
IBMSG-JSF-Vs-JSF2-Terrence-v4.xls
0
Comment
Question by:terrencetan
  • 4
  • 2
6 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
Comment Utility
Hi again,
why would you use a BIG VG and jfs?
Use a SCALABLE VG and jfs2 and there's virtually no limit.
You will have no limit for PPs per PV, and "enough" PPs per VG (default is 131072) , so you can freely choose your PP size. I'd recommend 128-256 MB, maybe 256-512 MB for the two big ones,  .... vgds002 and .... vgds005.
Inodes are allocated dynamically with jfs2, so no problem with nbpi (that value doesn't exist in jfs2).
If you have to stay with Big VG and jf2, please let me know. I'll help you.
wmp
0
 

Author Comment

by:terrencetan
Comment Utility
Dear woolmilkporc,

I'm sad to say that the customer choose to use Big VG and JFS filesystem.

I might need your advice on the PP size of VG for all the VGs with filesystems size as attached doc.

Thank you very much and have a nice day.

Best Regards,
Terrence Tan
0
 
LVL 68

Expert Comment

by:woolmilkporc
Comment Utility
OK.
sounds not very sensible, but anyway ...
Sorry for not having asked before, but I need to know the maximum sizes of the physical disks that make up your volume groups (now and with possible extensions in the future) for the calculation of supported PP sizes.

wmp
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 68

Expert Comment

by:woolmilkporc
Comment Utility
,,, and one more question: Will there be many small files or only rather few big ones un the new filesystems? Please tell me on a per-VG basis!
0
 

Author Comment

by:terrencetan
Comment Utility
Dear woolmilkporc,

Actually for the Production Server filesystems are share filesystems and Shared VG (HACMP)
The VGs consists of multiple EMC LUN disks. Each LUNs are 17GB. (veri weird LUN Size - but Japanese standard). All this filesystems will be another bcv copy which will mounted on the Dev Server.

On the Dev server, all filesystems are VGs are not cluster filesystems.

Any big files in the filesystems so far i hav no idea. But I already informed customer max file size only 64GB and customer guaranteed there will not hav file size exceed this limit.

This is really first time to meet this kind of weird situation. Really need ur expertize to advice what's the right PP size of the VG.

Is it better combination for Scalable VG and JFS filesystem? Does this scalable VG supported in HACMP environment?

Thanks in advanced.

Best Regards.
Terrence Tan
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
Comment Utility
Hi Terrence,

what I understood so far:

1) each LUN will only be 17 GB in size
2) VG sizes range from 130 GB to 1.370 GB
3) files are not huge, but also not tiny (not only 10K-100K or so)
4) some of the VGs will run with HACMP shared/enhanced-concurrent

1) means that we'll not hit the 1016 PP per PV limit with a PP size > 16M. But it means, too, that with the BigVG limit of 128 physical volumes you can never have a VG > 2.176 GB (unformatted).
2) means that with the biggest VG size of 1.370 GB we will need a PP size of at least 64 MB, making nearly 22.000 PPs for that VG. This gives good granularity, but also gives much overhead in partition table processing, so I'd tend to choose 256 MB as the PP size (at least for the big one).
3) means that we could live with the standard jfs nbpi setting of 4096, although 32768 or 65536 might be better, to save space (less inodes = more space for data).
You will most probably have files > 2GB, so you will need to make the filesystems "large file enabled" (bf=true).
4) HACMP shared/enhanced-concurrent is supported with any VG type (standard/big/scalable) and also with jfs as well as jfs2.

That said, my recommendations:

- VG: PP size 256 MB for "aybq53-vgds005", 128 MB for the rest (but you could take 256 MB for all VGs, to keep consistency)
- jfs: nbpi 32768, bf=true, agsize 64 (default)

Scalable VG in combination with jfs will only raise the 2.176 GB per VG limit. All other considerations above stay valid, yet scalable VG will allow for much more growth.

jfs2, on the other hand, will make the considerations regarding nbpi and bf=true unnecessary.

There's no sound reason for big VG and jfs, as far as I can tell. Scalable VG and jfs2 are far better.
Just keep in mind to follow IBM's recommendation of not using jfs2's inline-logging with HACMP.

Good luck!

wmp
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now