Mount SAN Volume Oracle Linux

Mount SAN Volume Oracle Linux

iSCSI is used as an alternative to FibreChannel San, and is relatively easy to setup and configure. This allows failover, and other wonderful features that SAN provides, therefore it makes sense to use it for Oracle Linux and Oracle Database. Let’s get Started!

** PLEASE NOTE YOU ARE DOING THIS AT YOUR OWN RISK, WE OFFER NO WARRANTY, NOR ARE RESPONSIBLE FOR ANY DATA LOSS! ****

at this point we are assuming that you have a BOND to  a SAN network, and that the adapters are configured, we just need to do the Linux software portion. If not, configure a bond here

login and su to root

install the iSCSI initiator tools (these are required to mount the volume)

perfect, installed at this point

at this point we should set the iSCSI service to start after a reboot (otherwise you may have some issues)

from here we need to configure iscsi (only if you are using a username/password)

normally you would un-comment the following lines and modify if you were to configure a username/password

we did not in this example, so we will move on

the next step is to discover our targets

this connected to the SAN and sent the targets, so we should have a few block devices available

if we do a fdisk -l that will show us our available disks

THIS IS WHERE YOU NEED TO BE CAREFUL!!!

in this scenario, we have one local disk /dev/sda, and anything extra that shows up is a SAN volume, It’s up to you at this point to know what disk is the right one

we have /dev/sdb and /dev/sdc available

/var/log/messages | tail should show the newer added disks if you are unsure ex:

That’s it! You have mounted your iSCSI disk to Oracle Linux, from here’ it’s up to you how you want to format/configure the block device.

There is a suggestion here, but is provided as a suggestion, please be smart and make a backup, especially when formatting drives. NOT RESPONSIBLE FOR DATA LOSS!

hosted Oracle Linux Servers www.zwiegnet.com/go