Method used manually mark BST after a dual-disk failure

6

You can mark BST after a dual-disk failure as follows:
1. Issue Description
The array supporting the BST function has a dual-disk failure and the RAID group fails.
Check whether sense key of failed disks is Medium Error, and Additional sense is not one of the following error code: UNRECOVERED, DATA SYNCHRONIZATION MARK ERROR, and DATA SYNC ERROR - RECOMMEND REWRITE. Check whether disks are rejected (if any one of the above error codes is displayed, the controller supports the BST function and the system will automatically mark disks with BST and recover them).
You can verify sense key by searching keyword Current sd in the /OSM/log/cur_debug/messages directory of controllers A and B and checking whether the information behind the keyword is Medium Error.
You can verify Additional sense by searching keyword Additional sense in the /OSM/log/cur_debug/messages directory of controllers A and B and checking whether the information behind the keyword is any one of the above error codes.
2. Solution
Verify the sequence of disk failures on the management plane.
Recover the above faulty disks which lead to a failed RAID group to the normal state (note: x and y are the user enclosure ID and slot ID of a faulty disk).
Recover the failed LUN to the normal state and the failed RAID group to the degraded state (note: x is the failed RAID group ID).
Check the message log of the array, search keyword OS_NotifyDiskBadEvent, and verify the address and length of Medium Error (as shown in the following figure, address 426a0d is 115-byte hexadecimal number).
Log in to the MML mode of the primary controller and manually mark the specified address of faulty disks with BST (x = External enclosure IDx32 + Slot ID, y is a decimal bad sector address, and z is the length of a bad sector, and 1 is the logical sector).
Verify whether the manual marking is successful.
The marked disk is used to reconstruct the first failed disk. Address reading will skip the address of this disk to avoid reconstruction failures. The address that is marked with BST can be recovered through the fault tolerance mode of the file system and database on the hosts.
The above method is applicable to the following scenarios:
a. The service scenario has moderate requirements for data integrity.
b. The method can be used when a failed disk is caused by other failures during fixed disk area reading. That is, mark the area with BST and skip the area during disk reading.
c. Use the method under the guidance of R&D engineers.

Other related questions:
Method used to query and configure the BST status
You can query and configure the BST status as follows: 1. Generally the BST function of S2300E is enabled by default. You can view BST status by logging in to the CLI mode and entering showbst. You can also log in to the MML mode and enter bst showbst. In CLI mode, 0 is the default state, 1 is the open state, and 2 is the close state. 2. Configure the BST status. Close status: Log in to the MML mode, enter spu ui>bst enable 2 to and close BST. Open status: Log in to the MML mode, enter spu ui>bst enable 1 to open BST.

Replacing hard disks for the USG6000 series
If a hard disk is faulty (for example, a hard disk failure log is generated on the USG), you can replace the hard disk unit. The hard disk unit can be replaced no matter when the device is powered on or off. If the device is powered off, skip step 1 and do not run the disk offline command. The following procedure guides you through hard disk unit replacement while the device is powered on: Note: In case of dual hard disks, replace the faulty disk with a new one. Do not change slots of the hard disks. Otherwise, the device may fail to recognize the hard disks. After replacing the hard disk, run the disk online command in the system view. Otherwise, the hard disk does not work. For dual hard disks, data is automatically synchronized between the hard disks after the disk online command is run. The synchronization takes several hours. During the synchronization, do not insert or remove the hard disks. Otherwise, data loss may occur. 1. Ensure that all configurations are saved. 2. Run the disk offline command in the system view. Wait for about 30 seconds until the system indicates that the hard disk stops working and then remove the hard disk unit to be replaced. a. Press the button on the right of the hard disk tray to eject the handler. b. Use the handler to pull the hard disk unit out of the slot. c. Put the replaced hard disk unit into an ESD bag. 3. Install the new hard disk unit. The hard disk unit installation methods are the same for 1 U and 3 U devices. For details, see content relevant to installing hard disks for the USG6000 series in the product documentation. 4. Run the disk online command and then the display disk information command in the system view. If Filesystem Status is Mounted, the hard disk works properly. Note: For dual hard disks, Filesystem Status becomes Mounted several hours after the disk online command is run. During this period, you can use other services, but the hard disks do not record real-time logs for these services. After data synchronization completes, the hard disks automatically start to work. You can run the display disk information command in the user view on the next day to check whether Filesystem Status is Mounted. If no, contact Huawei technical support personnel.

Method used to enable the BST function in the S2600 V100R001 storage system
You can enable the BST function in the S2600 V100R001 storage system by going to the FAQ-How Can the BST Function Be Enabled in the S2600 V100R001 Storage System website.

Installing hard disks for the USG6000 series
For the USG6000 (1 U device), perform as follows to install the hard disk combination SM-HDD-SAS300G-B for the first time: 1. Loosen screws on the filler panel and remove the filler panel. 2. Hold the two side surfaces of a hard disk unit, push the hard disk combination into the slot along the guide rails until it is well seated into the slot, and fasten screws on the two sides of the hard disk unit. 3. After that, run the display disk information command in the user view. If Filesystem Status is Mounted in the command output, the hard disk is successfully installed. For the USG6000 (3 U device), perform as follows to install the hard disk unit SM-HDD-SAS300G-A for the first time: 1. Remove the filler panel from a hard disk slot. 2. Hold the handlers of the tray and push the tray along the guide rails inside the hard disk slot till the tray panel aligns with the panel of the device. 3. Press the tray handler inwardly to restore the tray. 4. If there are two hard disks, repeat steps 1 to 3 to install the other hard disk. 5. After the installation completes, check as follows: -If a single hard disk exists, run the display disk information command in the user view. If Filesystem Status is Mounted in the command output, the hard disk is successfully installed. -If two hard disks exist, run the display disk information command in the user view to check whether the Filesystem Status value is Un-Mounted and the DiskRaidMode value is INACTIVE. Then, in the system view, run the reset raid primary-disk disk-id command to create a RAID group using disk-id as the primary disk for data synchronization. The synchronization process will take several hours. During data synchronization, other services can be used, but the hard disks do not record real-time logs for the services. After data synchronization completes, the hard disks automatically start to work. You can run the display disk information command in the user view on the next day to check whether Filesystem Status is Mounted. If no, contact Huawei technical support personnel. When a hard disk is faulty, replace it. For details, see content relevant to replacing hard disks on the USG6000 series in the product documentation.

Methods used to perform dual-screen tests
Visit the FusionCloud forum at http://support.huawei.com/huaweiconnect/enterprise/forum-893.html and search for 'dual-screen' cases in the forum.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top