beautypg.com

Restoring mount points on linux servers, Troubleshooting mount points on linux servers – HP Command View EVA Software User Manual

Page 13

background image

Restoring mount points on Linux servers

Mount points which are established by HP P6000 SmartStart are not persistent across Linux server
reboots. To restore a mount point, you must update the fstab file on the Linux server. After updating
the fstab file and rebooting, check that the mounted devices have the right LUN WWID for the
mount point. (The device name may change across reboots).

To verify and mount, open a command terminal session with the Linux server and perform the
following steps.
1.

Re-scan the HBA and devices; hp_rescan -a.

2.

Create the multipath devices; multipath -v3.

3.

Find the multipath device name.
a.

Run multipath -ll .

b.

Find the virtual disk LUN WWID in the output (without the dashes).

The output will have the multipath device name, followed by the LUN WWID in
parenthesis, for example: mpathl (3[lunwwid]).

The 3 which precedes the LUN WWID indicates a multipath device.

If you do not see the LUN WWID in the output, the zoning may be incorrect.

4.

Mount the device; mount -t ext3 /dev/mapper/[devicename]. This step restores the
mount point. In this example the device name is /dev/mapper/mpathl.

Troubleshooting mount points on Linux servers

If the Storage Volume Provisioning & Mounting Results page displays the message
linux_prov_lun_not_found

, the new LUN was not automatically discovered.

You can troubleshoot the situation as follows.
1.

Make sure that the Linux server is properly zoned in the fabric/switch with the HP P6000
storage system.
a.

On the Configuration Options page, select Configure FC application server.

b.

Navigate to the Fibre Channel Connections Check page. Identify the HBA WWIDs
(WWNs).

c.

Connect to your switch and verify zoning. See

Embedded Fibre Channel switch zoning

.

2.

Perform a manual discovery. Open a command terminal session with the Linux server and
perform the following steps.
a.

Re-scan the HBA and devices; hp_rescan -a.

b.

Create the multipath devices; multipath -v3.

c.

Run multipath -ll.

d.

Find the virtual disk LUN WWID in the output (without the dashes).

The output will have the multipath device name, followed by the LUN WWID in
parenthesis, for example: mpathl (3[lunwwid]).

The 3 which precedes the LUN WWID indicates a multipath device. In this example the
device name is /dev/mapper/mpathl.

If you do not see the LUN WWID in the output, the zoning may be incorrect or you may
need to reboot the server.

If you do not find the device, it may be necessary to reboot the server. This will allow Linux
and the HP P6000 storage system to properly recognize each other. After the reboot, perform
a manual discovery again.

Restoring mount points on Linux servers

13