Posted by: esa | January 5, 2011

netapp iscsi setup on linux redhat

For setting iscsi service on redhat linux, connect to netapp storage , follow this step :

# up2date iscsi-initiator-utils

Start the iscsi service
Type the following command to start iscsi service so that you can see block device:

# chkconfig iscsi on
# /etc/init.d/iscsi start

jalankan perintah ini di console terminal( run this command on the console terminal ) :

#iscsiadm -m discovery -t st -p ip_address( ip filler netapp)

Run any one command dibawah buat cari new block device name:

# fdisk -l
# tail -f /var/log/messages
# find /sys/devices/platform/host* -name “block*”

Format iSCSI device
Use fdisk and mkfs.ext3 commands. First, create a partition (assuming that /dev/sdc is a new block device assigned to iscsi) :

# fdisk /dev/sdc
# mkfs.ext3 /dev/sdc1

Create /mnt/iscsi directory or something like that ( for example only ):

# mkdir -p /mnt/iscsi

Open /etc/fstab file and append config directive:

/dev/sdc1 /mnt/iscsi ext3 _netdev 0 0

Save and close the file. Mount the parition /dev/sdc1:

# mount -a
# df -H

goodluck šŸ™‚ šŸ™‚


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


%d bloggers like this: