- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM Migrate!
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-21-2000 07:41 AM
08-21-2000 07:41 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2000 07:56 AM
08-21-2000 07:56 AM
Re: LVM Migrate!
now copying a filesystem somewhere else is best done with cpio:
find . -print | cpio -pduml ~/dir2
Regards
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2000 08:08 AM
08-21-2000 08:08 AM
Re: LVM Migrate!
Create temporary filesystems /home1 and /opt1
Copy over opt and home to opt1 and home1 respectively( find .(opt or home) |cpio -dumplv /opt1 or /home1
modify /etc/fstab(/opt to /opt1 vice versa), reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2000 08:11 AM
08-21-2000 08:11 AM
SolutionYou need to get your system in a state where both filesystems /home and /opt are not being used by anything. This may involve (especially for /opt) dropping into single user mode (shutdown 0) or booting into single user mode.
Create your new logical volumes (lvcreate) and filesystems (mkfs) and mount them at temporary mountpoints.
Ensure that /home and /opt are mounted (if in single user mode) then you can either move the contents to the new volumes (using mv) or copy the contents with something like cpio (cd ; find . -xdev -depth -print | cpio -puxdm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2000 08:13 AM
08-21-2000 08:13 AM
Re: LVM Migrate!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2000 09:29 AM
08-21-2000 09:29 AM
Re: LVM Migrate!
How about command pvmove? any idea? Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2000 09:39 AM
08-21-2000 09:39 AM
Re: LVM Migrate!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2000 11:36 AM
08-21-2000 11:36 AM