- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Converting Filesystem to raw?
Operating System - HP-UX
1752585
Members
4458
Online
108788
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
тАО04-11-2002 01:21 AM
тАО04-11-2002 01:21 AM
hi,
What is the procedure for converting a Filesystem-database to raw-volume database ? Assume, a filesystem /oradb/testdb/rdbm0001 is 50Gb and has the files:
/oradb/testdb/rdbm0001
/oradb/testdb/rdbm0001/lost+found
/oradb/testdb/rdbm0001/controlfiles
/oradb/testdb/rdbm0001/controlfiles/testdb_control01.ctl
/oradb/testdb/rdbm0001/datafiles
/oradb/testdb/rdbm0001/datafiles/testdb_system1_01.dbf
/oradb/testdb/rdbm0001/datafiles/cycle_data_02.dbf
/oradb/testdb/rdbm0001/datafiles/request_data_03.dbf
/oradb/testdb/rdbm0001/datafiles/q2_tab_ts1_01.dbf
/oradb/testdb/rdbm0001/redologs
/oradb/testdb/rdbm0001/rollsegs
How to convert this to a raw volume ?? Do i create raw lv for each file
and do dd of each file to the raw lv? Is their a limitation on the raw lv size?
thanks
-raj
What is the procedure for converting a Filesystem-database to raw-volume database ? Assume, a filesystem /oradb/testdb/rdbm0001 is 50Gb and has the files:
/oradb/testdb/rdbm0001
/oradb/testdb/rdbm0001/lost+found
/oradb/testdb/rdbm0001/controlfiles
/oradb/testdb/rdbm0001/controlfiles/testdb_control01.ctl
/oradb/testdb/rdbm0001/datafiles
/oradb/testdb/rdbm0001/datafiles/testdb_system1_01.dbf
/oradb/testdb/rdbm0001/datafiles/cycle_data_02.dbf
/oradb/testdb/rdbm0001/datafiles/request_data_03.dbf
/oradb/testdb/rdbm0001/datafiles/q2_tab_ts1_01.dbf
/oradb/testdb/rdbm0001/redologs
/oradb/testdb/rdbm0001/rollsegs
How to convert this to a raw volume ?? Do i create raw lv for each file
and do dd of each file to the raw lv? Is their a limitation on the raw lv size?
thanks
-raj
Take it easy.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 01:40 AM
тАО04-11-2002 01:40 AM
Solution
Yes, you must create a lvol for each datafile.
Then use dd to copy data from file to rlvol. dd if=file of=/dev/vgxxxx/rlvolxxx bs=1024k
Chown ora_user:dba and chmod 644 each rlv.
If you want to maintain actual names for datafiles, create symbolic links to rlvols.
Or in svrmgrl use backup control file to trace, edit that file, and after change filename to rlvols, follow instructions inside trace file.
Then use dd to copy data from file to rlvol. dd if=file of=/dev/vgxxxx/rlvolxxx bs=1024k
Chown ora_user:dba and chmod 644 each rlv.
If you want to maintain actual names for datafiles, create symbolic links to rlvols.
Or in svrmgrl use backup control file to trace, edit that file, and after change filename to rlvols, follow instructions inside trace file.
unsupported
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 03:52 AM
тАО04-11-2002 03:52 AM
Re: Converting Filesystem to raw?
Raj,
You need to export your database and rebuild it. You should not copy files to a raw logical volume. How would the database know where those table spaces exist?
live free or die
harry
You need to export your database and rebuild it. You should not copy files to a raw logical volume. How would the database know where those table spaces exist?
live free or die
harry
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 04:00 AM
тАО04-11-2002 04:00 AM
Re: Converting Filesystem to raw?
Sorry Harry, must dd can be done.
I use to configure raw devices for Oracle databases and, when you make a typo a fs-datafile is created. You can correct by dd to raw device and using rename datafile on sqlplus.
I use to configure raw devices for Oracle databases and, when you make a typo a fs-datafile is created. You can correct by dd to raw device and using rename datafile on sqlplus.
unsupported
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