Virtual TapeServer 6.03.42 Operations and Administration Guide

138 | Troubleshooting
3. If the No sg devices found message is displayed or partitions are missing, direct the
operating system to rescan for the devices on the Fibre Channel bus(es) from the console
or using a Telnet command prompt. Enter the following commands:
[root@VTS001 root]# cd /usr/local/tape/bin/
[root@VTS001 bin]# ./rescan-scsi-bus.sh -l -c -r -w
Here is the output:
Rescanning /proc/scsi/qla2300/4...
Rescanning /proc/scsi/qla2300/5...
Removing /proc/scsi/qla2300/4, target 0, LUN 32
Scanning /proc/scsi/qla2300/4, target 0, LUN 32
scsi4 00 00 02 JetStor Volume R001 Direct-Access
scsi4 00 00 00 JetStor Volume R001 Direct-Access
scsi4 00 00 01 JetStor Volume R001 Direct-Access
scsi4 00 00 03 JetStor Volume R001 Direct-Access
scsi4 00 00 04 JetStor Volume R001 Direct-Access
4. Start GFS as documented in Starting GFS on page 146.
VTS server fails to fence
Fencing is a term used to describe when a server is excluded from the GFS cluster. When a
server is not available for updates and cannot vote in the GFS process, it may be fenced off
from access to the file system. You must rejoin that server to the cluster. To verify if fencing is
occurring, complete these steps:
1. Check the /var/log/messages file on the primary VTS server. You may see this message:
“VTS unauthorized to join cluster. Fence failed.”
2. Restart the GFS cluster by bringing GFS down and back up. See Starting GFS on page
146.
File system maintenance
Every six to eight months, it is a good idea to run a file system check on your GFS partitions.
As with most file systems that experience a lot of data manipulation, you may have errors.
It is recommended that you run gfs_fsck -y to fix these. This could take many hours to run
depending on file system size. A 1TB file system can take upwards of eight hours to run. It is
suggested that you schedule these file system checks and stagger the VAULTs so that you are
not at a 100% outage when doing the file system check.
1. Choose the file system on which you want to run the check.
[root@VTS001 bin]# cat /etc/fstab
Here is the output:
LABEL=/VAULT00 /VAULT00 ext3 defaults 1 3
/dev/pool/pool_gfs /VAULT10 gfs defaults 1 2
For this example, pool_gfs (VAULT10) is used.