Skip to contentSkip to conversation

ORACLE OPS and Fibre channel

linux-lvm Slava Tulchinsky 4 participants 4 messages May 23, 2001 – May 28, 2001

lore
Share & tools
lore
#0 lore raw

After successfully installing Oracle 8.1.7.0.1 OPS on Redhat 6.2 with 2.2.19-6.2.1 using Compaq fibre channel card RA4000 to connect to Compaq external drive enclosure RA4100 (kernel driver cpqfc), We decided see if OPS will work with lvm 0.9.1-Beta7. After following all the instructions in INSTALL and README files was able to compile patch file. when running the patch against kernel sorce genhd.c.rej was created, I was still able to compile the kernel and install lvm. LVM part seems to work fine, but when booting with the newly compiled
kernel no longer able to use raw partitions with OPS with or without LVM.

Corrupt block relative dba: 0x00000001 (file 0, block 1) Fractured block found during control file header read Data in bad block -
type: 21 format: 2 rdba: 0x00000001
last change scn: 0xffff.00000002 seq: 0x1 flg: 0x04 consistency value in tail: 0x00000000
check value in block header: 0x3574, computed block checksum: 0x9a9
spare1: 0x0, spare2: 0x0, spare3: 0x

Corrupt block relative dba: 0x00000001 (file 0, block 1) Fractured block found during control file header read Data in bad block -
type: 21 format: 2 rdba: 0x00000001
last change scn: 0xffff.00000002 seq: 0x1 flg: 0x04 consistency value in tail: 0x00000000
check value in block header: 0x3574, computed block checksum: 0x9a9
spare1: 0x0, spare2: 0x0, spare3: 0x

When booting with the original kernal everything is OK

#1 lore raw

I think you need the raw_io patch.

Signature · 5 lines
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: [email protected]
Quoted 33 lines · Slava Tulchinsky

After successfully installing Oracle 8.1.7.0.1 OPS on Redhat 6.2 with 2.2.19-6.2.1 using Compaq fibre channel card RA4000 to connect to Compaq external drive enclosure RA4100 (kernel driver cpqfc), We decided see if OPS will work with lvm 0.9.1-Beta7. After following all the instructions in INSTALL and README files was able to compile patch file. when running the patch against kernel sorce genhd.c.rej was created, I was still able to compile the kernel and install lvm. LVM part seems to work fine, but when booting with the newly compiled
kernel no longer able to use raw partitions with OPS with or without LVM.

Corrupt block relative dba: 0x00000001 (file 0, block 1) Fractured block found during control file header read Data in bad block -
type: 21 format: 2 rdba: 0x00000001
last change scn: 0xffff.00000002 seq: 0x1 flg: 0x04 consistency value in tail: 0x00000000
check value in block header: 0x3574, computed block checksum: 0x9a9
spare1: 0x0, spare2: 0x0, spare3: 0x

Corrupt block relative dba: 0x00000001 (file 0, block 1) Fractured block found during control file header read Data in bad block -
type: 21 format: 2 rdba: 0x00000001
last change scn: 0xffff.00000002 seq: 0x1 flg: 0x04 consistency value in tail: 0x00000000
check value in block header: 0x3574, computed block checksum: 0x9a9
spare1: 0x0, spare2: 0x0, spare3: 0x

When booting with the original kernal everything is OK

#2 lore raw
In reply to Slava Tulchinsky
Quoted 8 lines · Slava Tulchinsky

After successfully installing Oracle 8.1.7.0.1 OPS on Redhat 6.2 with 2.2.19-6.2.1 using Compaq fibre channel card RA4000 to connect to Compaq external drive enclosure RA4100 (kernel driver cpqfc), We decided see if OPS will work with lvm 0.9.1-Beta7.

LVM part seems to work fine, but when booting with the newly compiled kernel no longer able to use raw partitions with OPS with or without LVM.

Two things. You need the raw-io patch for 2.2 kernels, and you also need to change the SECTOR_SIZE in the lvm.h header to be 512 bytes (the latter may have been fixed in recent LVM code releases).

Cheers, Andreas

Signature · 3 lines
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
#3 lore raw
Quoted 6 lines · Andreas Dilger
Quoted 4 lines · Slava Tulchinsky

After successfully installing Oracle 8.1.7.0.1 OPS on Redhat 6.2 with 2.2.19-6.2.1 using Compaq fibre channel card RA4000 to connect to Compaq external drive enclosure RA4100 (kernel driver cpqfc), We decided see if OPS will work with lvm 0.9.1-Beta7.

Quoted 7 lines
Quoted 3 lines

LVM part seems to work fine, but when booting with the newly compiled kernel no longer able to use raw partitions with OPS with or without LVM.

Two things. You need the raw-io patch for 2.2 kernels, and you also need to change the SECTOR_SIZE in the lvm.h header to be 512 bytes (the latter may have been fixed in recent LVM code releases).

Yes it has been fixed.

Quoted 11 lines

Cheers, Andreas

Signature · 8 lines
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Signature · 15 lines
Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-