- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- the dd command...
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
01-17-2005 05:37 PM
01-17-2005 05:37 PM
I've got one volumegroup containing different logical volumes with differnt amount of stripes in striping.. (yak) Some lv's are striped over 7 disks, some 8 and some 12.
These rlv's are raw-devices for oracle 9.1.0.2.
Now i have to move these from EMC-enterprice to midrange disks.
I've gotten the same amount of midrange disks (in MB) and i've gotten 8 metavolumes.
I have created new lv's with nearly the same space (a bit more on some, because i have striped them over these 8 metavolums -i 8 in lvcreate.
What i'm about to do is :
1. Stop the database.
2. Run dd from /dev/vg_oracle/rlv_data01 (excisting) to /dev/vg_oracle/rlvX_data01 and so on.
3. Make a change in the controlefile (or whatever. i get help to this) so it points to the new devices.
4. Then do the same thing on the controlfile
Then there is this issue...: Will the lv be corrupt when i dd a 7168MB large rlv (striped over 7 disks) to a rlv that is 8192MB? (striped over 8 disks)
I have tried with the same size.. from 8192 to 8192 and it works, but i'm not sure about the explained case.
-Paul
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 06:15 PM
01-17-2005 06:15 PM
Re: the dd command...
It should work, I have done this on which DB2 was running and was working well after making dd to new disks
the command I used was
#dd if=/dev/vgxx/lvolxx of=/dev/vgyy/lvolyy bs=1024k
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 02:19 AM
01-18-2005 02:19 AM
Re: the dd command...
Actually, my favorite way to do this stuff to avoid ANY Oracle changes is to add a small layer of indirection via symbolic links. Rather than using "/dev/vg05/rlvol1" as the Oracle data file, I instead use "/raw/datafile01" and then create a symbolic link between them. You can then do your dd's and change the symbolic links (with the database, of course, being down) and you are back in business. It provides a little documentation to the raw volumes as well --- and no, there are no performance impacts from this indirection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 02:26 AM
01-18-2005 02:26 AM
SolutionAs long as you do a dd from a smaller volume to a larger volume, you should be okay. The dd command or the app /db using the lv does not care if the stripe if 7-way or 8-way. What it cares is that the data is accessible.
We have done this kind of dd a lot over the past and as long as the input lv is smaller than the output lv in size, you are okay.
If the input lv is bigger than the output lv, you'll get an error.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 07:19 PM
01-18-2005 07:19 PM