This discussion is archived
1 Reply Latest reply: Jun 11, 2012 4:50 AM by 942842 RSS

Adding iscsi lun to the oracle linux system

940756 Newbie
Currently Being Moderated
Hi,
I tried to add a iscsi lun to the linux.
On the linux system, how do i confirm that the iscsi lun that is added is available ?
Any commands that i can use.?

I tried to look into /dev/sd*
But there are many such instances like "/dev/sda, /dev/sdb, /dev/sdc ....." . now, how do i know which is the right disk that i have just added ?

Any help would be much appreciated.

Thanks.

Edited by: 937753 on Jun 7, 2012 12:01 AM
  • 1. Re: Adding iscsi lun to the oracle linux system
    942842 Newbie
    Currently Being Moderated
    you can use dmesg to see the disk attached to the system.
    lookout for entries like this :

    [    1.165935] sd 0:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
    [    1.165941] sd 0:0:0:0: Attached scsi generic sg0 type 0
    [    1.165978] sd 0:0:0:0: [sda] Write Protect is off
    [    1.165981] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [    1.166004] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [    1.248333] sda: sda1 sda2 sda3 < sda5 sda6 sda7 sda8 sda9 >
    [    1.249213] sd 0:0:0:0: [sda] Attached SCSI disk

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points