Solved

attaching NetApp LUNs to CentOS v.5

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now