beautypg.com

2 recovering from a temporary sfs20 array failure, 3 recovering degraded mds or ost services, 3 recovering degraded mds or ost services -56 – HP StorageWorks Scalable File Share User Manual

Page 280: See section 9.33.3, Section 9.33.3

background image

Troubleshooting

9–56

9.33.2 Recovering from a temporary SFS20 array failure

If an SFS20 array has had a temporary failure such as loss of power or inadvertent disconnection of one of

its UltraSCSI cables, operation can be restored by correcting the failure and rebooting the affected servers.

To recover from a temporary failure of an SFS20 array, perform the following tasks:

1.

Correct the cause of the failure (for example, restore power to the array).

2.

If the file system is still operational, shut down and reboot each server in turn. For example, if the

array is attached to servers

south3

and

south4

, shut down and boot the servers as follows:

a.

Shut down the

south3

server.

b.

Boot the

south3

server.

c.

Use the

show filesystem

command to check that all MDS and OST services are in either the

running state or the recovering state.

d.

Shut down the

south4

server.

e.

Boot the

south4

server.

3.

Verify that the SFS20 array is operational from both servers, as shown in the following example:

sfs> show array 2
.

.

.

Connected to HBA/Port Status
-------------- ---------- ----------
south3 scsi-1/2 online
south4 scsi-1/2 online
.

.

.

The

Status

field should show a status of

online

for each of the servers.

4.

If the MDS or OST service using the SFS20 array was mirrored, follow the instructions provided in

Section 9.33.3 to recover the device.

5.

If the MDS or OST service was unable to run because of the temporary failure of the SFS20 array,

stop and restart the file system by entering the

stop filesystem filesystem_name

command

and then entering the

start filesystem filesystem_name

command.

9.33.3 Recovering degraded MDS or OST services

If an MDS or OST service using an SFS20 storage array that temporarily failed was mirrored, the RAID status

of the service may be running in

degraded

mode. The

show filesystem

command displays the state

of the service, as shown in the following example:

sfs> show filesystem

Name State Services
------ -------------- ----------------------------------
data started mds8: running(raid: degraded), ost[29-30]: running

In this example, the

mds8

service is shown to be running in

degraded

mode. This means that one mirror

device is operating normally and the other has failed. You can recover the service and restore it to correct

operation as follows:

1.

If the file system is stopped, start the file system.