HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- creating link to raw device
Operating System - HP-UX
1827284
Members
3252
Online
109717
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
12-15-2005 08:53 PM
12-15-2005 08:53 PM
creating link to raw device
Hi,
I am creating an oracle database using raw devices but am getting errors. I have created symbolic links to the logical volumes:
ln -s /dev/vg**/rtest_redo /oracle/oradata
but it is failing during the create:
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-00301: error in adding log file '/oracle/oradata/test_rredo1a' - file
cannot be created
ORA-27038: skgfrcre: file exists
HPUX-ia64 Error: 17: File exists
My question is - I can dd to/from the raw device, but should I be able to dd to the link as well as I does not seem to work, is there any reason why.
Thanks
I am creating an oracle database using raw devices but am getting errors. I have created symbolic links to the logical volumes:
ln -s /dev/vg**/rtest_redo /oracle/oradata
but it is failing during the create:
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-00301: error in adding log file '/oracle/oradata/test_rredo1a' - file
cannot be created
ORA-27038: skgfrcre: file exists
HPUX-ia64 Error: 17: File exists
My question is - I can dd to/from the raw device, but should I be able to dd to the link as well as I does not seem to work, is there any reason why.
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 09:12 PM
12-15-2005 09:12 PM
Re: creating link to raw device
Hi tom,
You are linking to /oracle/oradata/rtest_redo
Probably /oracle/oradata/rtest_redo exist yet before the linking. Can you check this and link it to a unique value
You are linking to /oracle/oradata/rtest_redo
Probably /oracle/oradata/rtest_redo exist yet before the linking. Can you check this and link it to a unique value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 09:30 PM
12-15-2005 09:30 PM
Re: creating link to raw device
Hi,
The link does not exist before I run the command:
ln-s /dev/vgrg2/rtest_rredo1a /oradata/oracle/test_rredo1a
It then creates the link but I get the error when running the create script. I have tried various in the create script with the same results. The create scripts if I use ordinary files but not using the links to the raw devices. As I said I can dd to the raw device but not to the symbolic link . I hope this makes sense, Thanks
The link does not exist before I run the command:
ln-s /dev/vgrg2/rtest_rredo1a /oradata/oracle/test_rredo1a
It then creates the link but I get the error when running the create script. I have tried various in the create script with the same results. The create scripts if I use ordinary files but not using the links to the raw devices. As I said I can dd to the raw device but not to the symbolic link . I hope this makes sense, Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2005 12:32 AM
12-16-2005 12:32 AM
Re: creating link to raw device
Hi,
I've discovered the problem, I used a script to create the symbolic links which was wrong. It created links which did not point to the full path:
"link -> link" instead of
"link -> /dev/vg/link"
Silly mistake, I don't know how I did not see it?
Thanks for your Help.
Tom
I've discovered the problem, I used a script to create the symbolic links which was wrong. It created links which did not point to the full path:
"link -> link" instead of
"link -> /dev/vg/link"
Silly mistake, I don't know how I did not see it?
Thanks for your Help.
Tom
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.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP