- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can I use pvmove in a stripped 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
Forums
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
12-09-2003 12:47 AM
12-09-2003 12:47 AM
Can I use pvmove in a stripped volume?
Can I use pvmove on stripped volume or data?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 12:54 AM
12-09-2003 12:54 AM
Re: Can I use pvmove in a stripped volume?
IF you asked HP support you would be advised to be more cautious.
Backup up all filesystems in the logical volume, umount the filesystems, lvremove the logical volume and rebuild it.
There are those that have used pvmove(not me). Just don't try it without a backup.
I think it would be a good idea to umount any filesystems before you start(probably required).
From the man page:
pmove cannot be performed if the volume group is activated in shared mode.
pvmove attempts to carry all allocation policies to the target logical volume, it will probably want to stripe the target lv.
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
12-09-2003 12:54 AM
12-09-2003 12:54 AM
Re: Can I use pvmove in a stripped volume?
A pvmove can be executed when having active access to data except for
The volume group is activated in shared mode (e.g. in a ServiceGuard environment).
Disk striping is being used. To verify that
the logical volumes on this disk are not striped, run pvdisplay -v on the disk in question to see what logical volumes are residing on it. Then run lvdisplay on the logical volumes and see what the value of "Stripes" is set to. If it is '0', then striping is not in place.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 12:58 AM
12-09-2003 12:58 AM
Re: Can I use pvmove in a stripped volume?
pvmove within a volume group Yes,
A pvmove can be executed when having active access to data except for
The volume group is activated in shared mode (e.g. in a ServiceGuard environment).
Disk striping is being used. To verify that
the logical volumes on this disk are not striped, run pvdisplay -v on the disk in question to see what logical volumes are residing on it. Then run lvdisplay on the logical volumes and see what the value of "Stripes" is set to. If it is '0', then striping is not in place.
without the same volume group NO.
Regards,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 01:01 AM
12-09-2003 01:01 AM
Re: Can I use pvmove in a stripped volume?
If you try it you get the following error:
Operation cannot be performed because some of the data on the physical volume
is striped and striped mirroring is not supported. To enable data transfer for
a physical volume through mirroring/reduction, do not specify the striping
options (-i, -I) when creating logical volumes on that physical volume.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 01:05 AM
12-09-2003 01:05 AM
Re: Can I use pvmove in a stripped volume?
Operation cannot be performed because some of the data on the physical volume is striped and striped mirroring is not supported. To enable data transfer for a physical volume through mirroring/reduction, do not specify the striping options (-i, -I) when creating logical volumes on that physical volume.
So you need to backup the lvols data, recreate the lvol with the new disk and stripe it and restore the data, like Steven E Protter wrotes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 01:29 AM
12-09-2003 01:29 AM
Re: Can I use pvmove in a stripped volume?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 01:45 AM
12-09-2003 01:45 AM
Re: Can I use pvmove in a stripped volume?
I think this can be done. I believe it can done on a Symmetrix, with Online JFS. So do you have Online JFS?
and is the Volume able to be managed via Online JFS? ie not root volume...
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 01:56 AM
12-09-2003 01:56 AM
Re: Can I use pvmove in a stripped volume?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 02:02 AM
12-09-2003 02:02 AM
Re: Can I use pvmove in a stripped volume?
create, on destination disks, an exact copy of the source lvols.
Then, umount them and for each lvol do
dd if=/dev/vgSOURCE/rlvolXXX of=/dev/vgTARGET/rlvolyyy bs=512k
if target and source vg are the same no problem.
The only drawback of my outlined solution is the requested downtime....
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 02:07 AM
12-09-2003 02:07 AM
Re: Can I use pvmove in a stripped volume?
One more question, if I want to get rid of stripe, can I create target lv with no stripe and do dd?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 03:32 AM
12-09-2003 03:32 AM
Re: Can I use pvmove in a stripped volume?
If you can get down time , create a target vg/lv with no stripes and the use cpio to migrate the data with find :
#cd $source_dir
#find . -xdev -depth | cpio -pdm /target_dir .
The only draw back is files greate than 2GB cannot be copied whith cpio , it has to be done manually .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 03:39 AM
12-09-2003 03:39 AM
Re: Can I use pvmove in a stripped volume?
simply create the target lvol in a different way, with no stripe on them.
pay attention to use the Rlvol, otherwise the copy will be very much longer.
Before the real move, do some benchmark to test the best combination of parallelism in dd/ thoughput on the board, cpu cycles and so on..
With my solution there are no problem for the 2G/ not 2G issue :)
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 04:32 AM
12-09-2003 04:32 AM
Re: Can I use pvmove in a stripped volume?
If it is Online JFS Use dd as mentioned above.
You could also use RDF if you have EMC's ECC.
RDF could clone it itself...
Tim