- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Moving a filesystem from boot disk to VA7410
Operating System - HP-UX
1753945
Members
8350
Online
108811
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО05-11-2006 10:09 AM
тАО05-11-2006 10:09 AM
Hi,
I have a filesystem which was originally placed on the boot disk of my L2000. I need to get it off of there as it shouldn't be on the boot disk.
I created a 6gb LV on my array. The original LV on the boot disk is about 900MB.
I then executed dd bs=1024 if=/dev/vg00/roriglv of=/dev/extra/rnewlv.
It's takign a long time to complete, and as of this writing has been running about 5 minutes now...
Am I doing this the wrong way? Any suggestions on how to accomplish this easily?
I have a filesystem which was originally placed on the boot disk of my L2000. I need to get it off of there as it shouldn't be on the boot disk.
I created a 6gb LV on my array. The original LV on the boot disk is about 900MB.
I then executed dd bs=1024 if=/dev/vg00/roriglv of=/dev/extra/rnewlv.
It's takign a long time to complete, and as of this writing has been running about 5 minutes now...
Am I doing this the wrong way? Any suggestions on how to accomplish this easily?
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2006 11:20 AM
тАО05-11-2006 11:20 AM
Solution
Shalom rob,
Looks like you did it in a reasonable way.
I'd have set a bigger block size to make the transfer go faster.
It might be faster to use fbackup to back up and frecover to restore the data.
SEP
Looks like you did it in a reasonable way.
I'd have set a bigger block size to make the transfer go faster.
It might be faster to use fbackup to back up and frecover to restore the data.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
тАО05-11-2006 12:19 PM
тАО05-11-2006 12:19 PM
Re: Moving a filesystem from boot disk to VA7410
The command:
dd bs=1024 if=/dev/vg00/roriglv of=/dev/extra/rnewlv
will run very slowly sine only 1K of data is read and written at a time. Change the bs= to:
dd bs=256k if=/dev/vg00/roriglv of=/dev/extra/rnewlv
and it will run much, much faster. 900megs could take more than a half hour with bs=1024, just a minute or two with bs=256k.
You are correct in using the raw device files for copying, just make sure the source filesystem is not mounted when you copy. If not, you'll have to run fsck to cleanup the destination because the copied lvol had an open directory structure.
Now once you copy the current lvol to the new lvol, you'll have to inform the filesystem that it can be extended to fit the new disk space. Use extendfs on the unmounted raw lvol, then mount it and run bdf to verify the size.
Bill Hassell, sysadmin
dd bs=1024 if=/dev/vg00/roriglv of=/dev/extra/rnewlv
will run very slowly sine only 1K of data is read and written at a time. Change the bs= to:
dd bs=256k if=/dev/vg00/roriglv of=/dev/extra/rnewlv
and it will run much, much faster. 900megs could take more than a half hour with bs=1024, just a minute or two with bs=256k.
You are correct in using the raw device files for copying, just make sure the source filesystem is not mounted when you copy. If not, you'll have to run fsck to cleanup the destination because the copied lvol had an open directory structure.
Now once you copy the current lvol to the new lvol, you'll have to inform the filesystem that it can be extended to fit the new disk space. Use extendfs on the unmounted raw lvol, then mount it and run bdf to verify the size.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP