In order to interact with the RAID controller on a Cloudvue Gateway you must first install storcli.
Products
Cloudvue Gateway with RAID Controllers
Steps
Verification
Confirm RAID Controller Present
Use lshw to determine if a RAID Controller is present. If no results are returned then there is no RAID controller detected, thus no reason to proceed.
sudo lshw | grep -i RAID
Verify storcli is Not Installed
The following commands can be used to determine if storcli has already been installed.
which storcli sudo find / -name storcli
Install storcli
Prep and Download Package
Update Ubunutu and download storcli
sudo apt update mkdir Downloads cd Downloads/ wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/1.23.02_StorCLI.zip
Install unzip
Install unzip and unzip storcli
sudo apt install unzip unzip 1.23.02_StorCLI.zip unzip storcli_All_OS.zip cd storcli_All_OS/
Install Alien and storcli
Alien is a command line package converter. It is used to convert the storcli rpm package downloaded earlier to a deb package allowing us to install storcli using dpkg.
sudo apt install alien cd Linux sudo alien --scripts storcli-1.23.02-1.noarch.rpm sudo dpkg -i storcli_1.23.02-2_all.deb
Setup Symbolic Link
For ease of use find the storcli install and then create symbolic linking allowing the storcli to be launched from any folder.
LSI Storage Authority (LSA) fully supports English OS only, other languages are supported but a change to the LSA.conf file is necessary before you can login to LSA.
Product
MegaRAID
LSI Storage Authority (LSA)
Steps to Reproduce
Launch LSA from the desktop
Enter the administrators username and password
Expected Results
Login is successful and the LSI Storage Authority Landing Page is displayed
Actual Results
Login fails with Error Code 49: Invalid Credentials
Solution
LSA fully supports English OS only.If you are using native German, French or Spanish OS, you need to edit the LSA.conf file and translate “Administrators” to your native language. Resolve Error Code 49: Invalid Credentials with the following steps:
Expanding a MegaRAID Virtual Drives Capacity using LSA – Empty Slots Available
Description
Expanding a virtual drive means increasing its capacity. Existing data on the virtual drive is not impacted by the expansion. Follow these instructions to add a physical drive and expand the virtual disk size using LSI Storage Authority. Expanding a RAID volume by adding hard drives is only available with RAID 0, 1, 5, and 6 configurations. RAID volume expansion will not work with other RAID configurations, such as RAID 00, 10, 50, or 60.
NOTE: Capacity expansion is only possible on RAID 0, 1, 5 and 6. Please keep in mind, there should only be “1 virtual drive” on the array. If you have more than 1 virtual drive, then you cannot enlarge your array. You will have to create a backup, delete the array, create a new RAID, and restore your backup to the new virtual drive.
Caution: Physical drives with the same or larger capacity as the existing drives should be used. If the new drive has a larger capacity only the amount matching the current physical drives making up the Virtual drive will be used. For example, if the existing Virtual Drive consist of 4TB drives and a new 6TB drive is used to expand the Virtual Drive, the capacity of the new drive will be reported at 4TB, and the virtual drive will only be increased by 4TB.
Product
MegaRAID 93xx Series RAID Controller
LSI Storage Authority (LSA)
Overview
Add Physical Drives
Check current drive group and virtual drive configuration
Modify Drive Group
Expand existing partition in the operating system
Verify virtual drive is present, healthy and operational
Add Physcial Drives
Note: Drives are hot swappable so it is not necessary to shutdown or restart the server
Remove an empty drive tray
Place the new physical drive in the tray and use screws to secure it to the tray
Align the drive tray into the slot and gently slide into position using a final levering action to latch the drive in place.
You will feel some resistance just before the drive seats itself into the backplane and the lever arm locks in place. DO NOT FORCE THE DRIVE INTO POSISTION.
A White LED should be visible once the physical drive has been correctly seated
Check Current Drive Group and Virtual Drive Configuration
Launch LSA from the desktop
Enter the operating systems administrators username and password
Use the drop down to Select Controller, the controller dashboard will appear
Physical Drives Tab
Ensure that all Physical Drives are present and have a status of Unconfigured Good
If not, please refer to the following Knowledge Base Article(s) for additional information.
#10632Import or Clear Foreign Configurations Using LSA (LSI Storage Authority)
#10624Managing Physical Drives using LSA (LSI Storage Authority)
All drives should be Unconfigured Good before continuing!
Drive Groups Tab
Make note of the current RAID level the Element(s) Action window appears.
Click on the Drive Group, the Element(s) Action window appears
Note: Do NOT click the (+) plus icon as this will not open the correct Element(s) Action window
Under Element(s) Action, select Modify Drive Group, the Modify Drive Group window appears
Use the drop down and select the RAID Level
Acknowledge the warning “It is advisable to backup data before you proceed. Are you sure you want to continue?“, click Next
Click Add Physical Drives, the Available Unconfigured Drive(s) window will appear
Check the box(s) to select available unconfigured drive(s) to be included in the expansion
Click Add Physical Drives, you will be returned to the Modify Drive Group Window
Review the Drive Group and if necessary click Back to correct settings, Close to abort or Finish to apply
A message indicating the change Completed should appear, click Close
In few moments a Background Process Section will be displayed and when expanded show the virtual drive reconstruction progress.
The reconstruction can take a very long time (Days) and progress should be periodically checked.
NOTE: The Drive Group will not show the new phsical drive(s) or available space until reconstruction has successfully completed.
When completed the Background Processes in Progress window will automatically close
Verify the Virtual Drive status and note the new capacity (LSA Landing Page > Select Controller > Expand Drive Group > Select Drive Group > Expand Properties)
Resizing the Partition
Once the reconstruction has successfully completed the partition must be resized in the operating system before being available for use.
Linux
Follow the instructions found in Knowledge Base Article #10606 “Resizing a Partition on Ubuntu Linux“
Windows
Follow the instructions found in Knowledge Base Article #10667 “Resizing a Partition on Microsoft Windows“
exacqVision Client
The following actions should be taken to ensure that storage is configured correctly and video both past and present are being recorded.
Storage > Drive Tab
Verify the Capacity is correct
Verity the Status is Healthy
Storage > Hardware Tab
Graphic View – Verify all drives are present and healthy
Tree View
Verify the Controller is listed and healthy
Verify the Virtual Drive (Unit 1:/c0/v0) is listed and healthy
Verify all Physical drives (Port 0:/c0/e252/s0, Port 1:/c0/e252/s1, etc. ) are all present and healthy
Search for previosly recorded video
Search for current video or use exacqReplay from Live View
Congratulations the Virtual Drive has been successfully expanded
If the capacity of a virtual drive has been increased; once the reconstruction has successfully completed, then it will be necessary to resize existing partitions before the operating system can utilize the additional space.
Product
Microsoft Windows
exacqVision Server
Overview
Restart the NVR
Stop exacqVision Server Service
Launch Disk Management
Resize the partition
Start the exacqVision Server Service
Check storage, previously recorded and new video
Restart the NVR
Click the Windows Icon, the Power Icon, then choose Restart, the NVR will restart
Stop exacqVision Server Service
Press Windows Key + R, the run box will open, type services.msc, click OK , the Services window will appear
Locate and right-click on exacqVision Server, select Stop, a service control window will briefly appear then close once the service is stopped
Leave the Services Window open
Disk Management
Press Windows Key + R, the run box will open, type diskmgmt.msc, click OK, the Disk Management window will appear
The Virtual Disk should show both the Primary Partition “Original Space” and Unallocated “New Space”
Right-Click on the Virtual Disks Primary Partition, a context window will appear
Select Extend Volume… , the Extend Volume Wizard will launch, click Next to continue
Select the Disk to use space from and the amount of space in MB to extend, click Next
Note: By default, the correct source and maximum available space should already be chosen.
Review the proposed settings and click Back to modify, Finish to apply, or Cancel to abort, the wizard will close
The Virtual Disk should now only have a single partition and show the new storage capacity
Close Disk Management
Start exacqVision Server Service
Open the Services window used previously
Locate and right-click on exacqVision Server, select Start, a service control window will briefly appear then close once the service is started
Close Services
exacqVision Client
Open the exacqVision Client
Navigate to the Drive Tab (Configuration > YOURSERVER > Storage)
Verify the Capacity reported is correct and the status is Healthy
Search for previously recorded video
Verify current video is being recorded
Congratulations the partition has been successfully expanded
Import or Clear Foreign Configurations Using LSA (LSI Storage Authority)
Description
A foreign configuration is a RAID configuration that already exists on a replacement set of drives that you install in a computer system.
Product
MegaRAID 93xx Series RAID Controller
LSI Storage Authority
Importing or Clearing the Foreign Configurations
A foreign configuration is a RAID configuration that already exists on a replacement set of drives that you install in a computer system. You can use the LSI Storage Authority software to import the foreign configuration to the controller or clear the foreign configuration so that you can create a new configuration using these drives. Perform the following steps to import or clear foreign configurations.
Navigate to the Controller dashboard.
Click Configure and then click Foreign Configuration.
The Foreign Configuration window appears, which lists all of the foreign configurations.
Click one of the following options:
• Import All: Import the foreign configurations from all the foreign drives.
• Clear All: Remove the configurations from all the foreign drives.
All physical drives connected to the MegaRAID controller can be managed using LSI Storage Authority.
Product
MegaRAID 93xx Series RAID Controller
LSI Storage Authority
Start and Stop Locating a Drive
If the physical drives are in a disk enclosure, you can identify them by making their LEDs blink.Perform the following steps to identify the physical drives.
Navigate to the physical drive on the Controller dashboard, and select the drive you want to identify, such as Unconfigured Good drive, online physical drive, configured drive, and so on.
Select Element(s) Actions > Start Locate, the corresponding LED on the physical drive starts blinking.
Select Element(s) Actions > Stop Locate to stop the LED from blinking.
Making a Drive Offline
Perform the following steps to place a drive offline. ATTENTION: After you perform this procedure, all of the data on the drive will be lost.
Navigate to the Controller dashboard, and click a drive group name (for example, DG_1).
Click the + icon that corresponds to a drive group to display its contents.
The virtual drives and physical drives associated with the selected drive group appear.
Click the Physical Drive tab, and select a drive that you want to place offline.
Select Element(s) Actions > Make Offline. The drive status changes to Offline.
Making a Drive Online
You can change the state of a physical drive to online. In an online state, the physical drive works normally and is a part of a configured virtual drive.
Navigate to the Controller dashboard, and click a drive group name (for example, DG_1).
Click the + icon that corresponds to a drive group to display its contents.
The virtual drives and physical drives associated with the selected drive group appear.
Click the Physical Drive tab, and select the offline drive that you want to make online.
Select Element(s) Actions > Make Drive Online.
The drive status changes to Online.
Replacing a Drive
You might want to replace a drive if the drive shows signs of failing. Before you start this operation, be sure that an available unconfigured good replacement drive is available. The replacement drive must have at least as much capacity as the drive you are replacing. Perform the following steps to replace a drive. ATTENTION: Make sure to back up the data on the drive before you replace it.
Navigate to the Controller dashboard, and click a drive group name (for example, DG_1).
Click the + icon that corresponds to a drive group to display its contents.
The virtual drives and physical drives associated with the selected drive group appear.
Click the Physical Drive tab, and select a drive which you want to replace.
Select Element(s) Actions > Start Replace Drive.
The Replace Drive dialog appears
Select a replacement drive, and click Replace Physical Drive.
A confirmation message appears.
Select Confirm and click Yes, Replace Drive to proceed with the replace operation.
The drive is replaced and the data is copied to the selected component.
Assigning Global Hot Spares
A global hot spare replaces a failed physical drive in any redundant array, as long as the capacity of the global hot spare is equal to or larger than the coerced capacity of the failed physical drive. Perform the following steps to assign global hot spares.
Navigate to the Controller dashboard, and click the Drives tab.
All of the associated drives appear.
Expand Unconfigured Drives, and select an unconfigured good drive.
Select Element(s) Actions > Assign Global Hot Spare.
The unconfigured good drive is changed to a global hot spare. The status of the unconfigured good drive appears as a global hot spare in the Hot Spares section.
Removing Global Hot Spares
Perform the following steps to remove a hot spare.
Navigate to the Controller dashboard, and click the Drives tab.
All of the associated drives appear.
Expand Hot Spares, and select a hot spare that you want to remove.
Select Element(s) Actions > Remove Global Hot Spare.
The hot spare drive is removed and is listed in the Unconfigured Drives section as an unconfigured good drive
Converting an Unconfigured Bad Drive to an Unconfigured Good Drive
Perform the following steps to convert an unconfigured bad drive to an unconfigured good drive.
Navigate to the Controller dashboard, and click the Drives tab.
All of the associated drives appear.
Expand Unconfigured Drives, and select an unconfigured bad drive.
Select Element(s) Actions > Make Unconfigured.
A confirmation message appears.
Select Confirm and click Yes, Make Unconfigured to proceed with the operation.
A confirmation message appears.
Select Confirm and click Yes, Make Good to proceed with the operation.
The unconfigured bad drive is changed to unconfigured good drive. The status of the unconfigured bad drive appears as unconfigured good in the Unconfigured Drives section.
Erasing a Drive
You can erase data on non-SEDs (normal HDDs) by using the Drive Erase option. For non-SEDs, the erase operation consists of a series of write operations to a drive that overwrites every user-accessible sector of the drive with specified patterns. It can be repeated in multiple passes using different data patterns for enhanced security. The erase operation is performed as a background task. Perform the following steps to erase a drive.
Navigate to the Controller dashboard, and click the Drives tab.
All of the associated drives appear.
Expand Unconfigured Drives and select an unconfigured good drive.
Select Element(s) Actions > More Actions > Drive Erase.
The Physical Drive Erase dialog appears.
The dialog shows the following modes:
• Simple
• Normal
• Thorough
Select a mode, and click Erase Physical Drive.
A warning message appears asking for your confirmation.
Click Yes, Erase Drive.
After the drive erase operation has started, the Stop Erase option is enabled in the Element(s) Actions menu. You can monitor the progress of the erase operation.
The LSI Storage Authority (LSA) is a web-based application that enables you to monitor, maintain, troubleshoot, and configure the Broadcom® MegaRAID products. This is a repository of links, documents and questions pertaining to LSI Storage Authority “LSA” software.
Meaning of the UBAD or UGOOD messages, most commonly seen in RAID Controller, but may appear in Storage.
Product
exacqVision Server
Information
UGOOD (Unconfigured Good)
This means a drive has been found that does not have a RAID configuration, but was not automatically imported into the RAID as a replacement drive.<br><br>
UBAD (Unconfigured Bad)
A drive may enter this state if it was unexpectedly powered off or disconnected. The drive should be re-seated and imported back into the array.
If the problem returns, the drive should be swapped with another drive, then follow the problem to diagnose.<br><br>
Solution
If the same disk, moved to another slot, goes back to the UBAD status, the disk itself is bad. Replace the drive.
If the previously good drive, moved into the same slot, goes into a UBAD state, the backplane or cabling may be the problem. Check the cabling. If the cabling looks okay and is seated properly, RMA/Repair the machine.
Meaning of Foreign Configuration message from RAID
Product
ExacqVision Server
Information
Each drive in RAID Controller’s configuration has a bit of information about the controller it is on written to it. Sometimes, a RAID Controller will detect that information about a controller exists on one or more of the drives, but it does not match what the controller expects.
Solution
If the customer has moved hard disks from one machine to another:
If the customer does not need the data from the newly inserted drives, the Foreign Configuration can be cleared, and the newly added drives can be imported into the RAID.
If the RAID Controller has been replaced:
The Foreign Configuration should be imported from the Drives into the RAID Controller.