Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 04:09 AM
03-23-2009 04:09 AM
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 04:16 AM
03-23-2009 04:16 AM
Re: lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 04:21 AM
03-23-2009 04:21 AM
Re: lvextend
As you have online JFS installed you can extend FS online
lvextend
fsadm
As your LV is in VG00 so you need to check if this is mirrored or not
vgdisplay -v vg00
regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 04:25 AM
03-23-2009 04:25 AM
Re: lvextend
Do you have free space of 32GB on /dev/vg00 ?
Provide the following output.
#vgdisplay /dev/vg00
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 04:38 AM
03-23-2009 04:38 AM
Re: lvextend
Total PE 4346
Alloc PE 2294
Free PE 2052
Attached vgdisplay and vgdisplay -c output
recently we removed a disk from the vg
As i can see many process from fuser on u01 I was wondering if I can go ahead and increase the lv size....
James R. Ferguson I will go through your doc now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 04:41 AM
03-23-2009 04:41 AM
Re: lvextend
As you have online JFS installed and have approx 20% free on FS, so you can extend this lvol online.
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 04:53 AM
03-23-2009 04:53 AM
Re: lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 04:55 AM
03-23-2009 04:55 AM
Re: lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 04:55 AM
03-23-2009 04:55 AM
Re: lvextend
with ONLINE JFS,
That's why ONLINE JFS comes in picture
no need to umount the FS
REgards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 04:56 AM
03-23-2009 04:56 AM
Re: lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 05:00 AM
03-23-2009 05:00 AM
Re: lvextend
Don't bother about the processes running on the filesystem since you have online JFS product installed. Just run the below commands to extend the filesystem.
#lvextend -L 32768 /dev/vg00/lv-oracle-u01
#fsadm -F vxfs -b 32768M /u01
#bdf /u01
In the examble we are extending the mount point u01 to 32GB total.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 05:02 AM
03-23-2009 05:02 AM
Re: lvextend
It is not preferred to have data lv's on vg00 though nothing is blocking.
vg00 should be used for only operating system for better managablity
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 05:04 AM
03-23-2009 05:04 AM
Re: lvextend
He needs to extend Filesystem by 32 Gig more,
so old+new (16+32) size is required not only new size
while lvextend.( may be typo ) :-)
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 05:06 AM
03-23-2009 05:06 AM
Re: lvextend
Sorry my mistake its 32G only :-)
Hi masood bt
Please assign the points as per ITRC rules
If you are happy with replies
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 08:58 AM
03-23-2009 08:58 AM
Re: lvextend
I know one disk is removed from the VG. I think the problem I am facing is due to the strict allocation policy. How to overcome this now?
rc85odb2:/ # lvextend -L 32768 /dev/vg00/lv-oracle-u01
lvextend: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
lvextend: Warning: couldn't query all of the physical volumes.
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lv-oracle-u01" could not be extended.
Failure possibly caused by strict allocation policy
rc85odb2:/ #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 09:39 AM
03-23-2009 09:39 AM
Re: lvextend
the lv is mirrored. I have enough free PEs. you can see it from here
think I do have enough free PEs
rc85odb2:/ # vgdisplay /dev/vg00
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 8
Cur PV 2
Act PV 1
Max PE per PV 9200
VGDA 2
PE Size (Mbytes) 32
Total PE 4346
Alloc PE 2294
Free PE 2052
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
rc85odb2:/ #
so do i need to remoe the missing disk from mirror?
rc85odb2:/ # lvdisplay -v /dev/vg00/lv-oracle-u01
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg00/lv-oracle-u01
VG Name /dev/vg00
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 16384
Current LE 512
Allocated PE 1024
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t0d0s2 512 512
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c0t0d0s2 01782 current ??? 01782 stale
00001 /dev/dsk/c0t0d0s2 01783 current ??? 01783 stale
00002 /dev/dsk/c0t0d0s2 01784 current ??? 01784 stale
00003 /dev/dsk/c0t0d0s2 01785 current ??? 01785 stale
00004 /dev/dsk/c0t0d0s2 01786 current ??? 01786 stale
--------
-------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 09:43 AM
03-23-2009 09:43 AM
Re: lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 09:44 AM
03-23-2009 09:44 AM
Re: lvextend
Fix your missing disk problem and it will work.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 09:46 AM
03-23-2009 09:46 AM
Re: lvextend
Now there is only this disk remaining.
Now I think I should break the mirror and tell the VG/LV that there is no mirror disk.
And then I should proceed with the lvextend.
Also, vgdisplay shows me the enough free PE.
Am I correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 09:48 AM
03-23-2009 09:48 AM
Re: lvextend
I need to make it 32G
I have 2052 free PEs(each 32MB)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 09:53 AM
03-23-2009 09:53 AM
Re: lvextend
The system wants to extend the LVOL on one disk and the mirror too.
No disk = no extends available.
Consider to use "vgreduce -f vg00" to fix.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 10:03 AM
03-23-2009 10:03 AM
Re: lvextend
Also..I can see the c0t0d0s2 is present and c2t0d0s2 is missing.
how exactly should I remove the disk c2t0d0s2 from /dev/vg00
Before removing the disk from vg00 do I need to remove it from lv ?
It would be great if you explain me in steps. Thank you.
rc85odb2:/ # vgdisplay -v /dev/vg00 | more
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 8
Cur PV 2
Act PV 1
Max PE per PV 9200
VGDA 2
PE Size (Mbytes) 32
Total PE 4346
Alloc PE 2294
Free PE 2052
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/stale
LV Size (Mbytes) 768
Current LE 24
Allocated PE 48
Used PV 1
LV Name /dev/vg00/lvol2
LV Status available/stale
LV Size (Mbytes) 16352
Current LE 511
Allocated PE 1022
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/stale
LV Size (Mbytes) 1024
Current LE 32
Allocated PE 64
Used PV 1
LV Name /dev/vg00/lvol4
LV Status available/stale
LV Size (Mbytes) 512
Current LE 16
Allocated PE 32
Used PV 1
LV Name /dev/vg00/lvol5
LV Status available/stale
LV Size (Mbytes) 6144
Current LE 192
Allocated PE 384
Used PV 1
LV Name /dev/vg00/lvol6
LV Status available/stale
LV Size (Mbytes) 4096
Current LE 128
Allocated PE 256
Used PV 1
LV Name /dev/vg00/lvol7
LV Status available/stale
LV Size (Mbytes) 4096
Current LE 128
Allocated PE 256
Used PV 1
LV Name /dev/vg00/lvol8
LV Status available/stale
LV Size (Mbytes) 6144
Current LE 192
Allocated PE 384
Used PV 1
LV Name /dev/vg00/lvol9
LV Status available/stale
LV Size (Mbytes) 16352
Current LE 511
Allocated PE 1022
Used PV 1
LV Name /dev/vg00/osmf
LV Status available/stale
LV Size (Mbytes) 1536
Current LE 48
Allocated PE 96
Used PV 1
LV Name /dev/vg00/lv-oracle-u01
LV Status available/stale
LV Size (Mbytes) 16384
Current LE 512
Allocated PE 1024
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c0t0d0s2
PV Status available
Total PE 4346
Free PE 2052
Autoswitch On
Proactive Polling On
rc85odb2:/ #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 11:04 AM
03-23-2009 11:04 AM
Re: lvextend
rc85odb2:/ # vgreduce -l /dev/vg00 /dev/dsk/c2t0d0s2
Volume group "/dev/vg00" has been successfully reduced.
rc85odb2:/ #
unmounted the fs but couldnt extend it.
rc85odb2:/ # lvextend -L 32768 /dev/vg00/lv-oracle-u01
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lv-oracle-u01" could not be extended.
Failure possibly caused by strict allocation policy
rc85odb2:/ #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 11:13 AM
03-23-2009 11:13 AM
SolutionHope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 11:17 AM
03-23-2009 11:17 AM
Re: lvextend
Torsten,
rc85odb2:/ # strings /etc/lvmtab
/dev/vg00
fjI!O
/dev/dsk/c0t0d0s2
rc85odb2:/ #
The disk c2t0d0s2 has been removed from lvmtab after vgreduce -l
rc85odb2:/ # vgdisplay -v /dev/vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 8
Cur PV 2
Act PV 1
Max PE per PV 9200
VGDA 2
PE Size (Mbytes) 32
Total PE 4346
Alloc PE 2294
Free PE 2052
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/stale
LV Size (Mbytes) 768
Current LE 24
Allocated PE 48
Used PV 1
LV Name /dev/vg00/lvol2
LV Status available/stale
LV Size (Mbytes) 16352
Current LE 511
Allocated PE 1022
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/stale
LV Size (Mbytes) 1024
Current LE 32
Allocated PE 64
Used PV 1
LV Name /dev/vg00/lvol4
LV Status available/stale
LV Size (Mbytes) 512
Current LE 16
Allocated PE 32
Used PV 1
LV Name /dev/vg00/lvol5
LV Status available/stale
LV Size (Mbytes) 6144
Current LE 192
Allocated PE 384
Used PV 1
LV Name /dev/vg00/lvol6
LV Status available/stale
LV Size (Mbytes) 4096
Current LE 128
Allocated PE 256
Used PV 1
LV Name /dev/vg00/lvol7
LV Status available/stale
LV Size (Mbytes) 4096
Current LE 128
Allocated PE 256
Used PV 1
LV Name /dev/vg00/lvol8
LV Status available/stale
LV Size (Mbytes) 6144
Current LE 192
Allocated PE 384
Used PV 1
LV Name /dev/vg00/lvol9
LV Status available/stale
LV Size (Mbytes) 16352
Current LE 511
Allocated PE 1022
Used PV 1
LV Name /dev/vg00/osmf
LV Status available/stale
LV Size (Mbytes) 1536
Current LE 48
Allocated PE 96
Used PV 1
LV Name /dev/vg00/lv-oracle-u01
LV Status available/stale
LV Size (Mbytes) 16384
Current LE 512
Allocated PE 1024
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c0t0d0s2
PV Status available
Total PE 4346
Free PE 2052
Autoswitch On
Proactive Polling On
rc85odb2:/ # lvdisplay -v /dev/vg00/lv-oracle-u01
--- Logical volumes ---
LV Name /dev/vg00/lv-oracle-u01
VG Name /dev/vg00
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 16384
Current LE 512
Allocated PE 1024
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t0d0s2 512 512
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c0t0d0s2 01782 current ??? 01782 stale
00001 /dev/dsk/c0t0d0s2 01783 current ??? 01783 stale
00002 /dev/dsk/c0t0d0s2 01784 current ??? 01784 stale
00003 /dev/dsk/c0t0d0s2 01785 current ??? 01785 stale
00004 /dev/dsk/c0t0d0s2 01786 current ??? 01786 stale
-------------
-------------
-------------