?
Solved

attaching NetApp LUNs to CentOS v.5

Posted on 2008-11-02
5
Medium Priority
?
1,149 Views
Last Modified: 2013-12-16
hi,

Does anyone have any document /steps on how to attach NetApp iSCSI LUN to a centOS v.5 server?


thanks!
0
Comment
Question by:lordofkharma
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 

Author Comment

by:lordofkharma
ID: 22865126
hi,


please do include FORMATING and and file system installation.


thanks
0
 
LVL 30

Assisted Solution

by:Duncan Meyers
Duncan Meyers earned 2000 total points
ID: 22881571
Configure the Linux iSCSI initiator. http://linux-iscsi.sourceforge.net
Set the iSCSI daemon to auto-start on boot: chkconfig level 345 iscsi on
Start the iSCSI daemon: service iscsi start|stop|restart|reload
Configure LUN to host mapping on the filer.
Perform an iSCSI rescan:
 iscsi-ls l shows available LUNs
 iscsi-rescan (RHEL 4 and later) rescans SCSI bus for new targets
 iscsi-iname displays the IQN

Use fdisk /dev/sdx to create a partition
Use mkfs -t ext3 /dev/sdx1

Then edit /etc/fstab to automount the new LUN:

LABEL=/                       /                          ext3    defaults        1 1
none                            /dev/pts                devpts  gid=5,mode=620  0 0
none                            /dev/shm              tmpfs   defaults        0 0
none                            /proc                    proc    defaults        0 0
none                            /sys                      sysfs   defaults        0 0
LABEL=SWAP-sda2       swap                      swap    defaults        0 0
/dev/sdb1                    /mnt/iscsi_lun         ext3    _netdev         0 0

Note the use of _netdev - this ensure that the device s mounted after the network starts.










0
 

Accepted Solution

by:
lordofkharma earned 0 total points
ID: 22884021
hi meyersd,

thanks for the prompt reply, If I am to install an iscsi software initiator to a centos v.5 with kernel 2.6.8.8 where can I download the installer for the said kernel, currently having trouble finding one. and can you give me steps on how o install? apparently I know nothing about open systems hehehe.


thanks
0
 
LVL 30

Assisted Solution

by:Duncan Meyers
Duncan Meyers earned 2000 total points
ID: 22891480
http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html gives you step-by-step instructions on how to install the iSCSI initiator.
0
 

Author Comment

by:lordofkharma
ID: 22901539
hi meyersd

thanks , sori for the late awarding of points, my boss is limiting my inet usage


thanks again
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Fine Tune your automatic Updates for Ubuntu / Debian
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month8 days, 3 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question