Solved

attaching NetApp LUNs to CentOS v.5

Posted on 2008-11-02
5
1,146 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 500 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 500 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
digital ocean web console access ? does it use port 22 4 57
NTPD Client Port Usage 12 65
Extending VM Disk to be larger than 2 TB ? 11 109
Clone drive for rack Server 4 42
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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.

733 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