tank extractbootrecord

Extracts the product (disk) label information contained in the master volume and creates a local copy of the Tank.Bootstrap file.

Read syntax diagramSkip visual syntax diagram
>>-tank--extractbootrecord--+-------------------------+--------><
                            '- –device--device_path-'

Parameters

–device device_path
Specifies the device path for a valid master volume from to read the product label.

Prerequisites

This task must be performed only by trained service technicians.

The cluster must be offline.

Description

This command is located in the /usr/tank/server/bin directory.

This command is used in disaster recovery situations or when attaching new hardware to an existing set of SAN devices.

Each metadata server in the cluster stores a local copy of the product label that is on the master volume. The local copy is stored in the file /etc/tank/server/Tank.Bootstrap, in binary format. SAN File System uses this information to locate the master volume on the SAN at boot time. After it is located, the cluster definition can be read. You would use this command when the local copy of the Tank.Bootstrap file is lost on all engines to extract the product label from the system master volume and recreate the local Tank.Bootstrap file.

This command is used to recreate the local Tank.Bootstrap file on the master metadata server in a single-engine cluster. The Tank.Bootstrap file is created on each remaining metadata server as they are added to the cluster (using the addserver command). It is not necessary or recommended to run this command on every metadata server or to copy this file from one metadata server to another.

Note: This command is run from the shell prompt. It is not run inside of sfscli.

This command allows a single-engine cluster to be brought up on new hardware in the case of disaster recovery or when you attach new hardware to an existing cluster. Recovering the Tank.Bootstrap file is required only when copies on all engine hosting metadata servers in the cluster are lost.

Example

Extract a boot record The following example extracts a local Tank.Bootstrap file from device /dev/rsdc. This device is a valid master volume of a SAN File System cluster instance.
#/usr/tank/server/tank extractbootrecord –device /dev/rsdc
Label information from master disk /dev/srdc was extracted and stored in 
Tank.Bootstrap.

Parent topic: Service commands and utilities

Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.