- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvextend error
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
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
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-29-2003 03:27 AM
тАО11-29-2003 03:27 AM
I have an existing Mirror whch i have added another disk to. which i can see but when i issue the following command :
lvextend -m 2 /dev/vg01/lvol12 /dev/dsk/c5t10d0
I get a message back :
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg01/lvol12" could not be extended.
How can i fix this as the disk is added ok.
thanks
Zean
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2003 03:57 AM
тАО11-29-2003 03:57 AM
SolutionI trust u r extending the lvol to have a second mirror copy!!
If you can give me the size of the logical volume , the size of the disk (diskinfo) i would be in a position to give a better suggession.
Kaps ......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2003 04:16 AM
тАО11-29-2003 04:16 AM
Re: lvextend error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2003 04:16 AM
тАО11-29-2003 04:16 AM
Re: lvextend error
Thanks for getting back to me the output from diskinfo is as followed :
New Disk
SCSI describe of /dev/rdsk/c5t10d0:
vendor: SEAGATE
product id: ST336704LC
type: direct access
size: 35566480 Kbytes
bytes per sector: 512
Orignal
is two 18Gig disks
diskinfo /dev/rdsk/c5t9d0
SCSI describe of /dev/rdsk/c5t9d0:
vendor: SEAGATE
product id: ST318404LC
type: direct access
size: 17783240 Kbytes
bytes per sector: 512
diskinfo /dev/rdsk/c7t9d0
I believe this should work.
Thanks
Zean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2003 04:38 AM
тАО11-29-2003 04:38 AM
Re: lvextend error
Could you please post the output of "vgdisplay -v /dev/vg01"
Kind regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2003 04:45 AM
тАО11-29-2003 04:45 AM
Re: lvextend error
Output from vgdisplay :
vgdisplay -v /dev/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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2003 04:54 AM
тАО11-29-2003 04:54 AM
Re: lvextend error
Try with "lvextend -m 2 /dev/vg01/lvol12"
Kind regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2003 04:56 AM
тАО11-29-2003 04:56 AM
Re: lvextend error
Thats worked great.
Thanks
Zean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2003 05:29 AM
тАО11-29-2003 05:29 AM
Re: lvextend error
I think he should go for a bigger PE size (That needs a VG re-creation !! ;))
Kaps ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2003 05:36 AM
тАО11-29-2003 05:36 AM
Re: lvextend error
Yes, they could use 4340 x 4 MB
I guess today is very difficult to buy a new 18 GB disk ( so short ...).
Kind regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2003 05:38 AM
тАО11-29-2003 05:38 AM
Re: lvextend error
Guys this is fine as the system is being rebuilt in January so it is just a temp fix.
Just one question when i extend the volume group because my head has gone blank.
Bdf o/p
Filesystem kbytes used avail %used Mounted on
/dev/vg01/lvol12 17776640 16400861 1290609 93% /home3
I want to increase by 3 Gig so do i add the avail size + 3Gig
Cheers
Zean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2003 05:55 AM
тАО11-29-2003 05:55 AM
Re: lvextend error
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2003 06:03 AM
тАО11-29-2003 06:03 AM
Re: lvextend error
I'm afraid I don't understand your problem. Do you want to increase the size of your file system, but now you don't have free disk space?
Kind regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2003 06:20 AM
тАО11-29-2003 06:20 AM
Re: lvextend error
Or perhaps you didn't want to increase the mirror copies, but the file system space?
Kind regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2003 05:26 AM
тАО11-30-2003 05:26 AM
Re: lvextend error
Assuming you want to increase your file system, as far as I know, it would be hard.
Your file system and its mirror ( only one copy ) fills two 18 GB disks. You have added one disk of 36 GB, but only 18 GB are usable, so you can extend your file system ( deleting first all your mirror copies ), but when you create the mirror, one disk would contain "real" data and mirrored data, so if that disk crash ...
So the only way I can think to increase your file system would be not mirror your lvol, or rebuild your VG ( to increase the Max PE per PV ), so you can put your lvol in the 36 GB disk, and mirror it against the other two 18 GB disks.
Anyway, I'm sure that some expert here could give you a better advise.
Kind regards,
Zigor