- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Shared RAW devices on Linux
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
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
10-25-2005 02:43 AM
10-25-2005 02:43 AM
Shared RAW devices on Linux
I am having an issue with the raw devices. I can fdisk, make file systems, write to the shared storage from one host, but I can't from the other host. Also when I set up my raw devices on both host, the Oracle install bombs.
Any ideas or suggestions on where the problem may lie?
Thanks,
TJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 03:38 AM
10-25-2005 03:38 AM
Re: Shared RAW devices on Linux
"I am having an issue with the raw devices. I can fdisk, make file systems"
Raw devices does not have filesystems. To use a shared device with a filesystem, you need to install de OCFS kernel module or buy Red Hat Global Filesystem. Without them, you cannot use a filesystem simultaneously on both nodes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 03:58 AM
10-25-2005 03:58 AM
Re: Shared RAW devices on Linux
For Oracle RAC installation it requires 2 raw partitions to be set up on each host that is shared between each host. I fdisk the LUN, create two partitions, set up those partitions in /etc/sysconfig/rawdevices, restart rawdevices. I am able to dd to one of the raw devices on one host, but I can't on the other.
I am thinking it is a reservation conflict or something...
I am not trying to create any filesystem on the raw devices... just creating two partitions, and making those two partitions raw devices.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 06:08 AM
10-25-2005 06:08 AM
Re: Shared RAW devices on Linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 08:40 AM
10-25-2005 08:40 AM
Re: Shared RAW devices on Linux
My /etc/sysconfig/rawdevices file look the same on both hosts:
# raw device bindings
# format:
#
# example: /dev/raw/raw1 /dev/sda1
# /dev/raw/raw2 8 5
/dev/raw/raw1 /dev/sda1
/dev/raw/raw2 /dev/sda2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 08:55 AM
10-25-2005 08:55 AM
Re: Shared RAW devices on Linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 02:31 AM
10-26-2005 02:31 AM
Re: Shared RAW devices on Linux
fdisk -l /dev/sda
Disk /dev/sda: 14.5 GB, 14580449280 bytes
255 heads, 63 sectors/track, 1772 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 125 1004031 83 Linux
/dev/sda2 126 250 1004062+ 83 Linux
[]# dd if=/dev/zero of=/dev/sda1 bs=512 count=1
1+0 records in
1+0 records out
#############################################
Bad Host:
fdisk -l /dev/sda
Disk /dev/sda: 14.5 GB, 14580449280 bytes
255 heads, 63 sectors/track, 1772 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 125 1004031 83 Linux
/dev/sda2 126 250 1004062+ 83 Linux
[]# dd if=/dev/zero of=/dev/sda1 bs=512 count=1
1+0 records in
1+0 records out
[]# tail /var/log/messages
Oct 26 09:27:02 xxxx kernel: scsi1 (0,0,0) : RESERVATION CONFLICT
Oct 26 09:27:02 xxxx kernel: SCSI disk error : host 1 channel 0 id 0 lun 0 return code = 18
Oct 26 09:27:02 xxxx kernel: I/O error: dev 08:01, sector 0
So when I try to dd to it on the bad host I get the RESERVATION CONFLICT, where I don't get it on the good host.
Could this be a SAN issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 03:05 AM
10-26-2005 03:05 AM
Re: Shared RAW devices on Linux
Las time we had problems with FC reservations we had to power down the storage and switches to clear the reservation. You should try that also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 03:28 AM
10-26-2005 03:28 AM
Re: Shared RAW devices on Linux
http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?contentType=SupportManual&locale=en_US&docIndexId=179911&taskId=101&prodTypeId=12169&prodSeriesId=82540
or directly:
http://h200001.www2.hp.com/bc/docs/support/SupportManual/c00472212/c00472212.pdf
Jeff McKenzie