beautypg.com

To clear the lock file – Sun Microsystems StorEdge 6900 Series User Manual

Page 66

background image

50

Sun StorEdge 3900 and 6900 Series Troubleshooting Guide — March 2002

11. Fix the FAIL condition, and then verify the settings again.

If you interrupt any of the

SUNWsecfg

scripts (by typing a

Control-C

default font,

for example), a lock file might remain in the

/opt/SUNWsecfg/etc

directory,

causing subsequent commands to fail. Use the following procedure to clear the lock
file.

To Clear the Lock File

1. Type the following command:

Note –

After any virtualization engine configuration change, the script saves a new

copy of the virtualization engine map. This may take a minimum of two minutes,
during which time no additional virtualization engine changes are accepted.

2. Monitor the

/var/adm/log/SEcfglog

file to see when the

savevemap

process

successfully exits.

# /opt/SUNWsecfg/bin/checkt3config -n t3b0

Checking : t3b0 Configuration.......

Checking command ver : PASS

Checking command vol stat : PASS

Checking command port list : PASS

Checking command port listmap : PASS

Checking command sys list : PASS

# /opt/SUNWsecfg/bin/removelocks

usage : removelocks [-t|-s|-v]

where:

-t - remove all T3+ related lock files.

-s - remove all switch related lock files.

-v - remove all virtualization engine related lock files.

# /opt/SUNWsecfg/bin/removelocks -v

This manual is related to the following products: