- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: moving raw device to filesystem
Operating System - HP-UX
1752810
Members
6027
Online
108789
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
тАО09-23-2002 12:57 AM
тАО09-23-2002 12:57 AM
Re: moving raw device to filesystem
Hi,
You can even use cp instad of dd. Example:
cp
Good luck!
Marcin
You can even use cp instad of dd. Example:
cp
Good luck!
Marcin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2003 01:17 AM
тАО09-01-2003 01:17 AM
Re: moving raw device to filesystem
Marcin Gonet is wrong. Raw device cannot be copied in this way. Use dd or rman.
Rman is the preferred way as id does not care about the lvm reserved blocks.
If you use dd, maybe you have to use dd skip=xx bs=xx.
Rman is the preferred way as id does not care about the lvm reserved blocks.
If you use dd, maybe you have to use dd skip=xx bs=xx.
www.happyit.net
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2003 07:37 AM
тАО09-01-2003 07:37 AM
Re: moving raw device to filesystem
Bill Hassell,
Can you drop me a quick Email? (I could not find you in the HP ldap) Hein at hp dot com.
Bill: The only possible way to convert is to export the entire database. Note that the exported data may need a bit more space than the raw device since general-purpose HP-UX directories must be created.
I beg to differ, a block of data is a block of data. They are exactly the same whether in a file or on a raw device. The only gotcha is that raw devices (on some platforms) skip the disk header / label and thus when moving data you need to skip 64kb (dd skip / iseek / oseek).
I do agree that export/import is the only SUPPORTED way.
miki,
Just to satisfy our curiosity... why move?
Anyway, be sure to TRY with a TEST tablespace!
Just create a fresh (LVM) raw devive, plop in a table, transfer and see if you find your data back no?!
Also, check out the relatively unknown "TRANSPORTABLE TABLESPACES" as a supported way to perform bulk moves, and copies even between databases. (must have enterprise edition). See chapter 11 in the Database Administrators's guide: Managing Tablespaces... Transporting Tablespaces.
Finally, always use (soft) links for your DB files, such that you can avoid the 'alter database... rename' or 'create control file for'.
Regards,
Hein.
Can you drop me a quick Email? (I could not find you in the HP ldap) Hein at hp dot com.
Bill: The only possible way to convert is to export the entire database. Note that the exported data may need a bit more space than the raw device since general-purpose HP-UX directories must be created.
I beg to differ, a block of data is a block of data. They are exactly the same whether in a file or on a raw device. The only gotcha is that raw devices (on some platforms) skip the disk header / label and thus when moving data you need to skip 64kb (dd skip / iseek / oseek).
I do agree that export/import is the only SUPPORTED way.
miki,
Just to satisfy our curiosity... why move?
Anyway, be sure to TRY with a TEST tablespace!
Just create a fresh (LVM) raw devive, plop in a table, transfer and see if you find your data back no?!
Also, check out the relatively unknown "TRANSPORTABLE TABLESPACES" as a supported way to perform bulk moves, and copies even between databases. (must have enterprise edition). See chapter 11 in the Database Administrators's guide: Managing Tablespaces... Transporting Tablespaces.
Finally, always use (soft) links for your DB files, such that you can avoid the 'alter database... rename' or 'create control file for'.
Regards,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2003 11:44 PM
тАО09-01-2003 11:44 PM
Re: moving raw device to filesystem
chao_ping,
Why are you saying I am wrong? Miki Leon was asking for a reply from a person who did it and I did it several times without any problem.
So nevertheless it is not a supported solution, you can use dd or even cp. It works.
Why are you saying I am wrong? Miki Leon was asking for a reply from a person who did it and I did it several times without any problem.
So nevertheless it is not a supported solution, you can use dd or even cp. It works.
- « Previous
-
- 1
- 2
- Next »
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