Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi Folks, I am having probs 1

Status
Not open for further replies.

KOG

MIS
Jan 31, 2002
303
GB


Hi Folks,

I am having probs trying to increase the size of large enabled fs /backup. Here's the characteristics of the /backup filesystem


[Entry Fields]
File system name /backup
NEW mount point [/backup]
SIZE of file system (in 512-byte blocks) [16384000]
Mount GROUP []
Mount AUTOMATICALLY at system restart? yes +
PERMISSIONS read/write +
Mount OPTIONS [] +
Start Disk Accounting? no +
Fragment Size (bytes) 4096
Number of bytes per inode 4096
Compression algorithm no
Large File Enabled true
Allocation Group Size (MBytes) 8


Here is the output from LVM, I have tried adding more logical partitions but it keeps failing.

Command: failed stdout: yes stderr: no

Before command completion, additional instructions may appear below.

0516-787 extendlv: Maximum allocation for logical volume lv01
is 1000.

But I know there are spaces available in the hdisk4

# lspv hdisk3
PHYSICAL VOLUME: hdisk3 VOLUME GROUP: backup
PV IDENTIFIER: 00016001a8d88a2b VG IDENTIFIER 0001600138ed1cb9
PV STATE: active
STALE PARTITIONS: 0 ALLOCATABLE: yes
PP SIZE: 8 megabyte(s) LOGICAL VOLUMES: 2
TOTAL PPs: 1084 (8672 megabytes) VG DESCRIPTORS: 2
FREE PPs: 83 (664 megabytes)
USED PPs: 1001 (8008 megabytes)
FREE DISTRIBUTION: 00..00..00..00..83
USED DISTRIBUTION: 217..217..216..217..134

which is rather puzzling, why would lv01 fail to expand when there are spaces available, and what does it mean cannot extend when maximum is 1000 LVs? Where is that set?

# lslv lv01
LOGICAL VOLUME: lv01 VOLUME GROUP: backup
LV IDENTIFIER: 0001600138ed1cb9.1 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs WRITE VERIFY: off
MAX LPs: 1000 PP SIZE: 8 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 1000 PPs: 1000
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 32
MOUNT POINT: /backup LABEL: /backup
MIRROR WRITE CONSISTENCY: on
EACH LP COPY ON A SEPARATE PV ?: yes

It is all rather confusing to me.

Can anyone please shed some light here.

Thanking you all in advance.

Regards

Katherine [sadeyes]
 
The problem you have is in lv's configuratios. The MAX LPs is set to 1000, and that is exactly the number of LPs alocated you need to change that. you may use "chlv -x new_max_lps lvname" to change the limit, and then increase the size of your file system. Eg: chlv -x 2000 lv01

Any questions let me know

HTT
 
Use SMIT to change the logical volume.

Use the SMIT Physical and Logical Storage--> Logical Volume Manager-->
Logical Volumes--> Set Characteristic of a Logical Volume-->
Change a Logical Volume menu option to specify a new number of
logical partitions in the MAXIMUM NUMBER of LOGICAL PARTITIONS field.
 
Hi HTT,

How do I determine the max LPs so that I can change the structure of LV01.

Am I right in thinking max LP would be 1083 Looking at the outputs of lslv lv01 and lspv hdisk4 there is free PP of 83 so add this to 1000 = 1083 therefore

chlv -x 1083 lv01 (is that correct).

What does -x stand for?

Many thanks

Regards

Katherine
 
Hi Aixqueen,

Done it and it worked.

Many thanks

Cheers

Katherine
 
You already found the max for lv01 when you did `lslv lv01`, notice the line in your post above for MAX LPs. =)

To make it easier to spot you can grep for it:

lslv lv01 | grep MAX IBM Certified -- AIX 4.3 Obfuscation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top