- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: extend filesystem
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
Discussions
Discussions
Forums
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
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
тАО11-30-2003 01:07 AM
тАО11-30-2003 01:07 AM
I have added a new disk to current mirror but am unable to extend the volume group as error comes back :
lvextend -L 18384 /dev/vg01/lvol12
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg01/lvol12" could not be extended.
Out put from vgdisplay is :
vgdisplay -v vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 3
Act PV 3
Max PE per PV 4341
VGDA 6
PE Size (Mbytes) 4
Total PE 13021
Alloc PE 8680
Free PE 4341
Total PVG 2
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg01/lvol12
LV Status available/syncd
LV Size (Mbytes) 17360
Current LE 4340
Allocated PE 8680
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c5t9d0
PV Status available
Total PE 4340
Free PE 0
Autoswitch On
PV Name /dev/dsk/c7t9d0
PV Status available
Total PE 4340
Free PE 0
Autoswitch On
PV Name /dev/dsk/c5t10d0
PV Status available
Total PE 4341
Free PE 4341
Autoswitch On
--- Physical volume groups ---
PVG Name pv0
PV Name /dev/dsk/c5t9d0
PVG Name pv1
PV Name /dev/dsk/c7t9d0
Can anyone advise me on this.
Thanks
Zean
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2003 01:16 AM
тАО11-30-2003 01:16 AM
SolutionWhat is the current LV config now?
Post an lvdisplay output of all the LVs in this VG.
Because if this is already a 2 part mirror for ALL the LVs in this VG, then all you could do with that new PV is make a 3 part mirror. BUT, if you have no mirrors currently or have some small LVs or have an LV that occupies less than half the current VG, you could mirror THAT.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2003 01:20 AM
тАО11-30-2003 01:20 AM
Re: extend filesystem
output from lvdisplay
--- Logical volumes ---
LV Name /dev/vg01/lvol12
VG Name /dev/vg01
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 17360
Current LE 4340
Allocated PE 8680
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c5t9d0 4340 4340
/dev/dsk/c7t9d0 4340 4340
Thanks
Zean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2003 01:35 AM
тАО11-30-2003 01:35 AM
Re: extend filesystem
I see two possible causes for your problem.
1) Note the following
From vgdisplay output ...
--- Physical volume groups ---
PVG Name pv0
PV Name /dev/dsk/c5t9d0
PVG Name pv1
PV Name /dev/dsk/c7t9d0
You did not add the new disk in either one of the Physical volume groups (this is option -g of the vgextend command). Since your logical volume has the "Allocation PVG-strict" this is not wise.
2) You should have added 2 disks, 1 in each Physical volume group. Remember that this logical volume is mirrored. You cannot allocate space for just 1 of the mirrors and "forget" about the other.
How would I have done this ?
1) Drop the mirror (lvreduce -m 0)
2) vgextend the volumegroup with 2 disks, one in each Physical volume group (pv0, pv1).
3) lvextend the logical volume
4) Recreate the mirror (lvextend -m 1)
Hope this helps,
Tom Geudens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2003 06:01 PM
тАО11-30-2003 06:01 PM
Re: extend filesystem
I think you can not do this because your lvol12 is mirrored and for extending a mirrored volume you require free space in 2 different disks becoz you have strict allocation policy.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2003 08:53 AM
тАО12-01-2003 08:53 AM
Re: extend filesystem
The answer is right in your VG display output.... you dont have 2 disks available to complete the mirror that you setup with the first 2 disks... c5t9d0 and c7t9d0...
You only have 3 disks... 2 of which are 100% allocated at present... and 1 that is unused... Simply put, You cant lvextend a mirrored Lvol with only 1 available disk present in the VG...
You need to add another available disk of the identical size to the VG...
Without an additional disk, The only way to lvextend the LVOL is to break the mirror and then lvextend it with /dev/dsk/c5t10d0 the disk but you will not be able to mirror it then... and must get another disk if you were to re-mirror it.