- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- copy data on vg with lots of disks
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
08-07-2008 12:47 PM
08-07-2008 12:47 PM
I successfully
vgextend vgname disk1
lvextend -m 1 lv1 disk1
lvreduce -m 0 lv1 disk2
vgreduce vgname disk2
-------------------------
my issue is with a log of disks I get
"too many links"
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2008 12:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2008 12:57 PM
08-07-2008 12:57 PM
Re: copy data on vg with lots of disks
I get the error when I vgextend.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2008 01:08 PM
08-07-2008 01:08 PM
Re: copy data on vg with lots of disks
Max PV 16
Cur PV 14
There is 16 max and 14 current. Only room to add two more 45GB drives.
If it will not even let you add these last two then it may be a long streatched idea but you just might be hitting maxfiles limit in kernel. I say this because once upon a time I could not get a lvlnboot listing because the number of physical devs on the server was high. Once I increased the maxfile limit the problem resolved. ( again this is a looooonnnnnggg shot ).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2008 01:10 PM
08-07-2008 01:10 PM
Re: copy data on vg with lots of disks
pvmove ? another way ? with out backup and restore hopfully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2008 01:19 PM
08-07-2008 01:19 PM
Re: copy data on vg with lots of disks
People always look for a short cut.
The best way to do this is to take a good old fashioned backup and restore it to the second system or disk set.
vgdisplay -v
Take a look at /var/adm/syslog/syslog.log
There may be more data in there.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2008 01:52 PM
08-07-2008 01:52 PM
Re: copy data on vg with lots of disks
If you have 11.23 vgmodify you can increase the max_pv from 16 to the max of 255. Read up on it and test it. Always have a good backup. Some vgmodify commands require that extents be moved and then renumbered. That part always scared me. Plus I believe the VG needs to be offline.
If vgmodify is not an option then:
Bust this big VG down. Create some new vgs with larger luns or at least set the max_pv higher in case you run into this again. Mount new ones, take down application, copy data to new mount, unmount old, remount new at old path.
Other options: Basically the same as above but back everything up to tape, completely redo your VGs and restore.
Moral, too many devices in a vg make you redo everyting eventually.
Best of luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 05:03 AM
08-08-2008 05:03 AM
Re: copy data on vg with lots of disks
root@ken04:/root # lvextend -m 1 /dev/vg07ken04/fs-db63p01 /dev/dsk/c67t4d7
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg07ken04/fs-db63p01" could not be extended.
Why would this happen and how can I mirror the disk ?
lvdisplay /dev/vg07ken04/fs-db63p01
--- Logical volumes ---
LV Name /dev/vg07ken04/fs-db63p01
VG Name /dev/vg07ken04
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 10240
Current LE 1280
Allocated PE 1280
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict/partially-distributed
IO Timeout (Seconds) default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 06:04 AM
08-08-2008 06:04 AM
Re: copy data on vg with lots of disks
Here PVG technique you need to use. you cant directly extend the LVOL if its PVG-strict there.
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 06:06 AM
08-08-2008 06:06 AM
Re: copy data on vg with lots of disks
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 06:19 AM
08-08-2008 06:19 AM
Re: copy data on vg with lots of disks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 06:19 AM
08-08-2008 06:19 AM
Re: copy data on vg with lots of disks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 07:29 AM
08-08-2008 07:29 AM
Re: copy data on vg with lots of disks
>root@ken04:/root # lvextend -m 1 /dev/vg07ken04/fs-db63p01 /dev/dsk/c67t4d7
>lvextend: Not enough free physical extents available.
>Logical volume "/dev/vg07ken04/fs-db63p01" could not be extended.
>Why would this happen and how can I mirror the disk ?
Please see the below values from vgdisplay -v vg21ken18
from vgdisplay output:-
-----------------------
Max PV 16
Cur PV 14
Act PV 14
Max PE per PV 11013
VGDA 28
PE Size (Mbytes) 4
LV Name /dev/vg21ken18/fs-db05p1
LV Status available/syncd
LV Size (Mbytes) 71600
Current LE 17900
Allocated PE 17900
Used PV 10
The LV capacity is 71.6 GB and you are trying to mirror this with a single hard disk (only 44GB can be allocated from the new harddisk).
The better way to move a set of disks to new disks is to create a new volume group with healthy values and copy/restore the data ,since the vgmodify is not existing in 11.11.
If you don`t like to do copy/restore then better to do using pvmove.
Thanks,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 07:39 AM
08-08-2008 07:39 AM
Re: copy data on vg with lots of disks
lvchange -s y /dev/vg07ken04/fs-db63p01
This is interesting as PVG is turned on but there are no PVGs seen in any of the vgdisplay info ?
Do you have an /etc/lvmpvg file, if so post the content. It does not really matter but you may run into this in the future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 07:53 AM
08-08-2008 07:53 AM
Re: copy data on vg with lots of disks
you need to change the PVG-strict policy of the LVOL first, then you can extend this LVOL.
Use tom command to remove the PVG policy.
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 08:31 AM
08-08-2008 08:31 AM
Re: copy data on vg with lots of disks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2008 08:59 AM
08-08-2008 08:59 AM
Re: copy data on vg with lots of disks
Can I run "lvchange -s y /dev/vg07ken04/fs-db63p01" when the file system is mounted ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 11:16 AM
08-12-2008 11:16 AM