Solved

attaching NetApp LUNs to CentOS v.5

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Problem description :  Some external hard disks / USB flash drives do not show actual space as mentioned in the factory settings. This is a common problem when you use an 8 GB USB drive to make it bootable to install a firmware/ driver on a serv…
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 …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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 …

758 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

18 Experts available now in Live!

Get 1:1 Help Now