Server Administration & Management

How to mount SAN Partition to Dell Poweredge M910 Blade Server In Linux

1. Find-out SAN Card serial Number

# cat /sys/class/fc_host/host*/port_name

2. Edit /etc/multipath.conf file and Comment following Lines

# vim /etc/multipath.conf

#blacklist {
#        devnode “*”

Multipathing is managed at the device level. Multipath device can be accessed by /dev/mapper/

3. Restart Multipath Services during Booting Also

# /etc/init.d/multipathd restart

# /etc/init.d/multipathd status

# chkconfig multipathd on

# chkconfig multid on

# chkconfig multipathd –list

4. Now Search the partition and format it.

# fdisk -l
# fdisk /dev/dm-0
# mkfs.ext3 /dev/mapper/mpath1p1
# mount /dev/mapper/mpath1p1 /var/lib/mysql/

5. Querying the multipath IO status outputs the current status of the multipath maps

# multipath -l

6. find out WWIDs using following command

# multipath -v2 -d

7. Edit in /etc/rc.local file during Booting Process for Mounting.

# vim /etc/rc.local

mount /dev/mapper/mpath1p1 /var/lib/mysql/

Note: Don’t entry in /etc/fstab file for SAN Mounting, Because during booting Process, System will be goes to Maintainence Mode.

January 21, 2012 - Posted by | SAN, Tips & Tricks, Unix/Linux | , , ,

No comments yet.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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: