Solved

attaching NetApp LUNs to CentOS v.5

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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 …

707 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