- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Moving LVM's from one disk to another in a volume ...
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
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
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
07-10-2012 09:48 AM
07-10-2012 09:48 AM
Moving LVM's from one disk to another in a volume group
Hi,
I need to retire some MSA storage that is used in a single disk volume group 'vgdata' with 6 lvm's in.
I've added a new netapp lun disk to the volume group and hoped to simply move the lvm's from the old disk to the new using pvmove.
However when i test the command i get the following error
# pvmove -p /dev/disk/disk5 /dev/disk/disk11
pvmove: Not enough free physical extents available.
Logical volume "/dev/vgdata/lvol3" could not be extended.
pvmove: Cannot find a free physical extent for logical extent 4480
of logical volume "/dev/vgdata/lvol3".
Is what i'm attempting here possible ? - if so why is it unable to get free extents on the new lun disk when it's empty ?
tia,
Mike.
- Tags:
- pvmove
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2012 11:07 AM
07-10-2012 11:07 AM
Re: Moving LVM's from one disk to another in a volume group
Please post the output of:
vgdisplay -v /dev/vgdata
lvdisplay /dev/vgdatta/lvol3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2012 01:14 AM
07-11-2012 01:14 AM
Re: Moving LVM's from one disk to another in a volume group
Hi - thanks you've directed me to the answer which is the difference in PE's between the 2 disks :-
[honduras]/> vgdisplay -v /dev/vgdata
--- Volume groups ---
VG Name /dev/vgdata
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 6
Open LV 6
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 11281
VGDA 4
PE Size (Mbytes) 16
Total PE 17681
Alloc PE 8640
Free PE 9041
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 2887936m
VG Max Extents 180496
--- Logical volumes ---
LV Name /dev/vgdata/lvol1
LV Status available/syncd
LV Size (Mbytes) 20480
Current LE 1280
Allocated PE 1280
Used PV 1
LV Name /dev/vgdata/lvol2
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 640
Allocated PE 640
Used PV 1
LV Name /dev/vgdata/lvol3
LV Status available/syncd
LV Size (Mbytes) 76800
Current LE 4800
Allocated PE 4800
Used PV 1
LV Name /dev/vgdata/lvol4
LV Status available/syncd
LV Size (Mbytes) 16384
Current LE 1024
Allocated PE 1024
Used PV 1
LV Name /dev/vgdata/lvproc
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 640
Allocated PE 640
Used PV 1
LV Name /dev/vgdata/lvkit
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 256
Used PV 1
--- Physical volumes ---
PV Name /dev/disk/disk5
PV Status available
Total PE 11281
Free PE 2641
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk11
PV Status available
Total PE 6400
Free PE 6400
Autoswitch On
Proactive Polling On
I'll try and increse the number of PE's on /dev/disk/disk11 assuming this is possible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2012 06:42 AM
07-11-2012 06:42 AM
Re: Moving LVM's from one disk to another in a volume group
And that is exactly what I was going to look at as well.