beautypg.com

9 setting lustre debug level, 10 system database has become corrupted, 11 service lun has become corrupted – HP StorageWorks Scalable File Share User Manual

Page 230: 9 setting lustre debug level -6, 10 system database has become corrupted -6, 11 service lun has become corrupted -6, Setting lustre debug level (section 9.9), Service lun has become corrupted (section 9.11)

background image

Troubleshooting

9–6

3.

Connect to the remote console of the server, as follows:

# hpls_console --server server_name --remote

4.

During the power on/start-up phase on the server, enter the ROM-Based Setup Utility (RBSU) by

pressing the

F9

key when prompted.

5.

The MAC addresses for NIC 1 and NIC 2 on the server are displayed on the right-hand side of the

screen; record the value for NIC 1.

6.

To update the database, enter the command shown in the following example at the

sfs>

prompt. In

this example, the server is

south4

and the MAC address for NIC 1 is

00:01:02:03:04:05

:

sfs> set nic server=south4 network=nic1 mac=00:01:02:03:04:05

9.9

Setting Lustre debug level

If you want to permanently enable the Lustre debug facility, perform the following steps:

1.

Set the debug level in the database as follows:

# mysql hplsdb

mysql> update hpls_attributes set val=’-1’ where attribute=’portals.debug’;
mysql> update hpls_attributes set val=’-1’
-> where attribute=’portals.subsystem_debug’;

In this example, the debug level is set to

-1

, which turns on all debugging. HP recommends that you

use a debug level of

0x3f0400

.

2.

To bring the change into effect, use one of the following options:

Stop all of the file systems by entering the

stop filesystem filesystem_name

command

for each file system, then start the file systems again by entering the

start filesystem

filesystem_name

command for each file system.

Alternatively, if you do not want to stop the file systems, enter the following commands on the

MDS server and on each Object Storage Server:

# echo -1 > /proc/sys/portals/debug
# echo -1 > /proc/sys/portals/subsystem_debug

Setting certain debug levels may impact system performance; consult your HP Customer Support

representative before setting debug levels.

9.10 System database has become corrupted

If the system database has become corrupted, you can restore the database from a backup as described in

Section 6.3.3.

NOTE:

If you have deleted any file systems since the backup was created, restoring the backup will not

restore the deleted file system.

9.11 Service LUN has become corrupted

If the service LUN on an Object Storage Server becomes corrupted, you can force the system to reformat it

as follows:

1.

Enter the

show lun

command to identify the number of the service LUN. In the example in these

instructions, the service LUN is numbered 10.

2.

Examine the contents of the

hpls_object_states

table, as follows:

# mysql hplsdb