How to create a filesystem with the correct computation of PP


 
Thread Tools Search this Thread
Operating Systems AIX How to create a filesystem with the correct computation of PP
# 1  
Old 02-24-2011
How to create a filesystem with the correct computation of PP

Hi everyone, im having a problem with the computation of the PP size for creating a filesystem.

for example my requirement is to create a new filesystem with 10gig of system on aix 5.1 and aix 5.3 system.

here's the result when i run lsvg vgSAN-sparkle

could any provide me an exact computation of PP size for the creation of 10gig filesystem based on the result below.

maybe a working complete example is also appreciated thank you.

Code:
VOLUME GROUP:   vgSAN-sparkle           VG IDENTIFIER:  0024566a00004c0000000110319d5a7a
VG STATE:       active                   PP SIZE:        128 megabyte(s)
VG PERMISSION:  read/write               TOTAL PPs:      268 (34304 megabytes)
MAX LVs:        512                      FREE PPs:       159 (20352 megabytes)
LVs:            4                        USED PPs:       109 (13952 megabytes)
OPEN LVs:       4                        QUORUM:         3
TOTAL PVs:      4                        VG DESCRIPTORS: 4
STALE PVs:      0                        STALE PPs:      0
ACTIVE PVs:     4                        AUTO ON:        yes
MAX PPs per PV: 1016                     MAX PVs:        128
LTG size:       128 kilobyte(s)          AUTO SYNC:      no

Moderator's Comments:
Mod Comment edit by bakunin: excessive formatting removed and CODE-tags added.

Last edited by bakunin; 02-25-2011 at 08:32 AM..
# 2  
Old 02-25-2011
I do not really understand your question but as your pp size is 128 MB you will need 80 pps for a 10 gb filesystem - but why do you worry in first instance - create it with 1 pp size and than do a simple chfs -a size=10G ?

Regards
zxmaus
# 3  
Old 02-25-2011
hi zxmaus can you give me an example please. thanks


Quote:
Originally Posted by zxmaus
I do not really understand your question but as your pp size is 128 MB you will need 80 pps for a 10 gb filesystem - but why do you worry in first instance - create it with 1 pp size and than do a simple chfs -a size=10G ?

Regards
zxmaus
# 4  
Old 02-28-2011
zxmaus is saying to create your filesystem, like /mount, with just 1 PP. Then run this command to change the size to 10G. Then you don't have to worry about counting PPs and figuring out how many PPs you need to get 10G of space:
Code:
chfs -a size=10G /mount

Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

choosing correct VG for Filesystem extend

Hi Gurus, I have Aix 5.3 server and would like to extend the following filesystem. Filesystem GB blocks Free %Used Iused %Iused Mounted on /dev/lv_mecdr 120.00 12.04 90% 560973 14% /home/mecdrBut there's only 16G for the VG, may be i can expand it... (11 Replies)
Discussion started by: thepurple
11 Replies

2. Programming

computation migration

Hi, i need a code to implement computation migration in c. Can you guys help me out?? (3 Replies)
Discussion started by: tanvi
3 Replies

3. Red Hat

how to create a Filesystem

Hi everybody, I work with UNIX-AIX OS, I have to install db2 connect , somebody could explain to me how to create a Filesystem?, user, group, and password? ( I read a little and I know there many types of Filesystems) I have no idea how to do it, Linux version 2.6.18-92.el5... (2 Replies)
Discussion started by: lauelmar
2 Replies

4. Shell Programming and Scripting

How to create ext3 filesystem on regular file?

After doing something like: dd if=/dev/zero of=ext3.img bs=1024 count=1048576 I'd like to put an ext3 filesystem on ext3.img. What should I run? Thanks (2 Replies)
Discussion started by: stevenswj
2 Replies

5. Solaris

what command was used to create a filesystem

How do we determine what command was used (either newfs or mkfs) to create a filesystem? Thanks, (2 Replies)
Discussion started by: Pouchie1
2 Replies

6. HP-UX

Steps to Create a FileSystem HP-UX

Steps to create FileSystem, and later to modify size in HP-UX. Please (1 Reply)
Discussion started by: granador
1 Replies

7. SCO

create filesystem on file

Hello, iam pretty new to SCO, installed it yesterday in vm. Now, i'd like to create a filesystem on a file like you can do on lnx or bsd. But seems not possible for me to do so on SCO OpenServer 6.0.0. Thats what i get: bash-3.00# uname -a SCO_SV scosysv 5 6.0.0 i386 bash-3.00# mkfs... (0 Replies)
Discussion started by: user5
0 Replies

8. Solaris

How to create a 2 TB UFS filesystem?

Hi, I have a 2,1 TB RAID0 Array (3- 750GB discs). I have Solaris 10 x86 installed. When I try to create a volume on this drive I receive the following error: " WARNING: /pci@0/pci8086/..../sd@6,0 (sd7) disk capacity is too large for current cbd length " I assume I can not format... (5 Replies)
Discussion started by: narrok
5 Replies

9. Shell Programming and Scripting

Computation Problem

Hi Folks I have a file with the following sample input 919416586748,1200,31200 919416283619,3521,33521 919416811900,2440,64940 919416576012,13670,43670 Now i want to subtract the second value (where , is field separator) from the third value and display the output as follows ... (3 Replies)
Discussion started by: PradeepRed
3 Replies
Login or Register to Ask a Question