Managing Storage Adapters

This chapter includes the following sections:

Self Encrypting Drives (Full Disk Encryption)

Cisco IMC supports self encrypting drives (SED). A special hardware in the drives encrypts incoming data and decrypts outgoing data in real-time. This feature is also called Full Disk Encryption (FDE).

The data on the drive is encrypted on its way into the drive and decrypted on its way out. However, if you lock the drive, no security key is required to retrieve the data.

When a drive is locked, an encryption key is created and stored internally. All data stored on this drive is encrypted using that key, and stored in encrypted form. Once you store the data in this manner, a security key is required in order to un-encrypt and fetch the data from the drive. Unlocking a drive deletes that encryption key and renders the stored data unusable. This is called a Secure Erase. The FDE comprises a key ID and a security key.

The FDE feature supports the following operations:
  • Enable and disable security on a controller

  • Create a secure virtual drive

  • Secure a non-secure drive group

  • Unlock foreign configuration drives

  • Enable security on a physical drive (JBOD)

  • Clear secure SED drives

  • Clear secure foreign configuration

Creating Virtual Drives from Unused Physical Drives

Before You Begin

You must log in with admin privileges to perform this task.

Procedure
     Command or ActionPurpose
    Step 1Server# scope chassis  

    Enters the chassis command mode.

     
    Step 2Server /chassis # scope storageadapter slot  

    Enters command mode for an installed storage card.

     
    Step 3 Server /chassis/storageadapter # create virtual-drive  

    At this point, you are prompted to enter information corresponding to the RAID level, the physical drives to be used, the size, enabling full disk encryption of the drive and the write policy for the new virtual drive. Enter the appropriate information at each prompt.

    When you have finished specifying the virtual drive information, you are prompted to confirm that the information is correct. Enter y (yes) to confirm, or n (no) to cancel the operation.

    Note   

    Enabling full disk encryption secures the drive.

     
    Step 4 Server /chassis/storageadapter # show virtual-drive  

    Displays the existing virtual drives.

     

    This example shows how to create a new virtual drive that spans two unused physical drives.

    Server# scope chassis
    Server /chassis # scope storageadapter SLOT-3
    Server /chassis/storageadapter # create-virtual-drive
    Please enter RAID level
    0, 1, 5, 10, 50 --> 1
    
    Please choose from the following 10 unused physical drives:
        ID  Size(MB)       Model        Interface  Type
         1  571776         SEAGATE      SAS        HDD
         2  571776         SEAGATE      SAS        HDD
         4  571776         SEAGATE      SAS        HDD
         5  428672         SEAGATE      SAS        HDD
         6  571776         SEAGATE      SAS        HDD
         7  571776         SEAGATE      SAS        HDD
         8  571776         SEAGATE      SAS        HDD
         9  428672         SEAGATE      SAS        HDD
        10  571776         SEAGATE      SAS        HDD
        11  953344         SEAGATE      SAS        HDD
    
    Specify physical disks for span 0:
      Enter comma-separated PDs from above list--> 1,2
      Please enter Virtual Drive name (15 characters maximum)--> test_v_drive
      Please enter Virtual Drive size in MB, GB, or TB
       Example format: '400 GB' --> 10 GB
    
    Optional attribute:
    
      stripsize: defaults to 64K Bytes
    
         0: 8K Bytes
        1: 16K Bytes
        2: 32K Bytes
        3: 64K Bytes
        4: 128K Bytes
        5: 256K Bytes
        6: 512K Bytes
        7: 1024K Bytes
      Choose number from above options or hit return to pick default--> 2
    stripsize will be set to 32K Bytes (6 and 'strip-size\:32k')
    
      Disk Cache Policy: defaults to Unchanged
    
         0: Unchanged
        1: Enabled
        2: Disabled
      Choose number from above options or hit return to pick default--> 0
    Disk Cache Policy will be set to Unchanged (0 and 'disk-cache-policy\:unchanged'                                                                                                             )
    
      Read Policy: defaults to No Read Ahead
    
         0: No Read Ahead
        1: Always
      Choose number from above options or hit return to pick default--> 0
    Read Policy will be set to No Read Ahead (0 and 'read-policy\:no-read-ahead')
    
      Write Policy: defaults to Write Through
    
         0: Write Through
        1: Write Back Good BBU
        2: Always Write Back
      Choose number from above options or hit return to pick default--> 0
    Write Policy will be set to Write Through (0 and 'write-policy\:write-through')
    
      IO Policy: defaults to Direct I/O
    
         0: Direct I/O
        1: Cached I/O
      Choose number from above options or hit return to pick default--> 0
    IO Policy will be set to Direct I/O (0 and 'io-policy\:direct-io')
    
      Access Policy: defaults to Read Write
    
         0: Read Write
        1: Read Only
        2: Blocked
      Choose number from above options or hit return to pick default--> 0
    Access Policy will be set to Read Write (0 and 'access-policy\:read-write')
    Enable SED security on virtual drive (and underlying drive group)?
    Enter y or n--> y
    Virtual drive and drive group will be secured
    
    New virtual drive will have the following characteristics:
      - Spans: '[1.2]'
      - RAID level: '1'
      - Name: 'test_v_drive'
      - Size: 10 GB
      - stripsize: 32K Bytes
      - Disk Cache Policy: Unchanged
      - Read Policy: No Read Ahead
      - Write Policy: Write Through
      - IO Policy: Direct I/O
      - Access Policy: Read Write
    		-	Encryption: FDE
    
    OK? (y or n)--> y
    
    Server /chassis/storageadapter # show virtual-drive
    Virtual Drive Health         Status               Name             Size       RAID Level Boot Drive
    ------------- -------------- -------------------- ---------------- ---------- ---------- ----------
    0             Good           Optimal                               150528 MB  RAID 0     false
    1             Good           Optimal                               20480 MB   RAID 0     true
    2             Good           Optimal                               114140 MB  RAID 0     false
    3             Good           Optimal              test_v_drive     10000 MB   RAID 1     false
    4             Good           Optimal              new_from_test    500 MB     RAID 1     false
    
    Server /chassis/storageadapter # 

    Creating Virtual Drive from an Existing Drive Group

    Before You Begin

    You must log in with admin privileges to perform this task.

    Procedure
       Command or ActionPurpose
      Step 1Server# scope chassis  

      Enters the chassis command mode.

       
      Step 2Server /chassis # scope storageadapter slot  

      Enters command mode for an installed storage card.

       
      Step 3 Server /chassis/storageadapter # carve-virtual-drive  

      At this point, you are prompted to enter information corresponding to the virtual drives to be used, and the size and the write policy for the new virtual drive. Enter the appropriate information at each prompt.

      When you have finished specifying the virtual drive information, you are prompted to confirm that the information is correct. Enter y (yes) to confirm, or n (no) to cancel the operation.

       
      Step 4 Server /chassis/storageadapter # show virtual-drive  

      Displays the existing virtual drives.

       

      This example shows how to carve a new virtual drive out of unused space in an existing RAID 1 drive group:

      Server# scope chassis
      Server /chassis # scope storageadapter SLOT-3
      Server /chassis/storageadapter # carve-virtual-drive
        < Fetching virtual drives...>
      
      ID  Name              RL  VDSize        MaxPossibleSize PD(s)
      ----------------------------------------------------------------
      0  RAID0_12          0   100 MB        Unknown         1,2
      
      Please choose from the above list the virtual drive number
      whose space the new virtual drive will share--> 0
      New virtual drive will share space with VD 0
      
      Please enter Virtual Drive name (15 characters maximum)--> test_v_drive
      Please enter Virtual Drive size in MB, GB, or TB (maximum: Unknown)
        Example format: '400 GB' --> 10 GB
      
      Optional attributes:
      
        stripsize: defaults to 64K Bytes
           0: 8K Bytes
          1: 16K Bytes
          2: 32K Bytes
          3: 64K Bytes
          4: 128K Bytes
          5: 256K Bytes
          6: 512K Bytes
          7: 1024K Bytes
        Choose number from above options or hit return to pick default--> 0
      stripsize will be set to 8K Bytes (4 and 'strip-size\:8k')
      
        Disk Cache Policy: defaults to Unchanged
           0: Unchanged
          1: Enabled
          2: Disabled
        Choose number from above options or hit return to pick default--> 0
      Disk Cache Policy will be set to Unchanged (0 and 'disk-cache-policy\:unchanged')
      
        Read Policy: defaults to No Read Ahead
           0: No Read Ahead
          1: Always
        Choose number from above options or hit return to pick default--> 0
      Read Policy will be set to No Read Ahead (0 and 'read-policy\:no-read-ahead')
      
        Write Policy: defaults to Write Through
           0: Write Through
          1: Write Back Good BBU
          2: Always Write Back
        Choose number from above options or hit return to pick default--> 0
      Write Policy will be set to Write Through (0 and 'write-policy\:write-through')
      
        IO Policy: defaults to Direct I/O
           0: Direct I/O
          1: Cached I/O
        Choose number from above options or hit return to pick default--> 0
      IO Policy will be set to Direct I/O (0 and 'io-policy\:direct-io')
      
        Access Policy: defaults to Read Write
           0: Read Write
          1: Read Only
          2: Blocked
        Choose number from above options or hit return to pick default--> 0
      Access Policy will be set to Read Write (0 and 'access-policy\:read-write')
      
      New virtual drive will have the following characteristics:
        - It will share space with virtual drive 0
        - Name: 'amit'
        - Size: 10 GB
        - stripsize: 8K Bytes
        - Disk Cache Policy: Unchanged
        - Read Policy: No Read Ahead
        - Write Policy: Write Through
        - IO Policy: Direct I/O
        - Access Policy: Read Write
      
      OK? (y or n)--> y
      Server /chassis/storageadapter # show virtual-drive
      Virtual Drive Health         Status               Name             Size       RAID Level Boot Drive
      ------------- -------------- -------------------- ---------------- ---------- ---------- ----------
      0             Good           Optimal                               150528 MB  RAID 0     false
      1             Good           Optimal                               20480 MB   RAID 0     true
      2             Good           Optimal                               114140 MB  RAID 0     false
      3             Good           Optimal              test_v_drive     10000 MB   RAID 1     false
      4             Good           Optimal              new_from_test    500 MB     RAID 1     false
      
      Server /chassis/storageadapter # 

      Setting a Virtual Drive as Transport Ready

      Before You Begin
      • You must log in with admin privileges to perform this task.

      • The virtual drive must be in optimal state to enable transport ready.

      Procedure
         Command or ActionPurpose
        Step 1Server # scope chassis  

        Enters the chassis command mode.

         
        Step 2Server /chassis # scope storageadapter slot ID  

        Enters the command mode for an installed storage card.

         
        Step 3Server /chassis/storageadapter # scope virtual-drive drive-number  

        Enters the command mode for the specified virtual drive.

         
        Step 4Server /chassis/storageadapter/virtual-drive # set-transport-ready {include-all | exclude-all | include-dhsp}  

        Sets the virtual drive to transport ready and assigns the chosen properties.

        Enter the initialization type using which you can set the selected virtual drive as transport ready. This can be one of the following:
        • exlude-all— Excludes all the dedicated hot spare drives.

        • include-all— Includes any exclusively available or shared dedicated hot spare drives.

        • include-dhsp— Includes exclusive dedicated hot spare drives.

        When you are prompted to confirm the action. Enter y to confirm.

        Note   

        When you set a virtual drive to transport ready all the physical drives associated with it are displayed as Ready to remove.

         
        Step 5Server /chassis/storageadapter/virtual-drive # show detail   (Optional)

        Display the virtual drive properties with the change.

         

        This example shows how to set virtual drive 5 to transport ready:

        Server # scope chassis
        Server /chassis # scope storageadapter SLOT-HBA
        Server /chassis/storageadapter # scope virtual-drive 5
        Server /chassis/storageadapter/virtual-drive # set-transport-ready exclude-all
        Since they belong to same drive group, all these virtual drives will be set to Transport Ready - 0
        Are you sure you want to proceed?[y|N]y
        Server /chassis/storageadapter/virtual-drive # show detail
        Virtual Drive 0:
            Health: Good
            Status: Optimal
            Visibility : Visible
            Name: RAID0_124_RHEL
            Size: 2858160 MB
            Physical Drives: 1, 2, 4
            RAID Level: RAID 0
            Boot Drive: false
            FDE Capable: 0
            FDE Enabled: 0
            Target ID: 0
            Strip Size: 64 KB
            Drives Per Span: 3
            Span Depth: 1
            Access Policy: Transport Ready
            Cache Policy: Direct
            Read Ahead Policy: None
            Requested Write Cache Policy: Write Through
            Current Write Cache Policy: Write Through
            Disk Cache Policy: Unchanged
            Auto Snapshot: false
            Auto Delete Oldest: true
            Allow Background Init: true
        Server /chassis/storageadapter/virtual-drive # 
        
        

        Clearing a Virtual Drive as Transport Ready

        Before You Begin

        You must log in with admin privileges to perform this task.

        Procedure
           Command or ActionPurpose
          Step 1Server # scope chassis  

          Enters the chassis command mode.

           
          Step 2Server /chassis # scope storageadapter slot ID  

          Enters the command mode for an installed storage card.

           
          Step 3Server /chassis/storageadapter # scope virtual-drive drive-number  

          Enters the command mode for the specified virtual drive.

           
          Step 4Server /chassis/storageadapter/virtual-drive # clear-transport-ready  

          This reverts the selected transport ready virtual drive to its original status.

          When you are prompted to confirm the action. Enter y to confirm.

           
          Step 5Server /chassis/storageadapter/virtual-drive # show detail   (Optional)

          Display the virtual drive properties with the change.

           

          This example shows how to revert the selected transport ready virtual drive to its original state:

          Server # scope chassis
          Server /chassis # scope server 1
          Server /chassis # scope storageadapter SLOT-HBA
          Server /chassis/storageadapter # scope virtual-drive 5
          Server /chassis/storageadapter/virtual-drive # clear-transport-ready
          Since they belong to same drive group, all these virtual drives will be moved out of Transport Ready - 0
          Are you sure you want to proceed?[y|N]y
          Server /chassis/storageadapter/virtual-drive # show detail
          Virtual Drive 0:
              Health: Good
              Status: Optimal
              Visibility : Visible
              Name: RAID0_124_RHEL
              Size: 2858160 MB
              Physical Drives: 1, 2, 4
              RAID Level: RAID 0
              Boot Drive: false
              FDE Capable: 0
              FDE Enabled: 0
              Target ID: 0
              Strip Size: 64 KB
              Drives Per Span: 3
              Span Depth: 1
              Access Policy: Read-Write
              Cache Policy: Direct
              Read Ahead Policy: None
              Requested Write Cache Policy: Write Through
              Current Write Cache Policy: Write Through
              Disk Cache Policy: Unchanged
              Auto Snapshot: false
              Auto Delete Oldest: true
              Allow Background Init: true
          Server /chassis/storageadapter/virtual-drive # 
          
          

          Importing Foreign Configuration

          When one or more physical drives that have previously been configured with a different controller are inserted into a server, they are identified as foreign configurations. You can import these foreign configurations to a controller.

          Before You Begin

          You must log in with admin privileges to perform this task.

          Procedure
             Command or ActionPurpose
            Step 1Server# scope chassis  

            Enters the chassis command mode.

             
            Step 2Server /chassis # scope storageadapter slot  

            Enters command mode for an installed storage card.

             
            Step 3 Server /chassis/storageadapter # import-foreign-config  

            You are prompted to confirm the action. Enter yes to confirm.

            Note   

            If you do not enter yes, the action is aborted.

             

            This example shows how to import all foreign configurations on the MegaRAID controller in slot 3:

            Server# scope chassis
            Server /chassis # scope storageadapter SLOT-3
            Server /chassis/storageadapter # import-foreign-config
            Are you sure you want to import all foreign configurations on this controller?
            Enter 'yes' to confirm -> yes
            Server /chassis/storageadapter # 

            Unlocking Foreign Configuration Drives

            When a set of physical drives hosting a secured drive group are inserted into a different server or controller (or the same controller but whose security-key has been changed while they were not present), they become foreign configurations. Since they are secured, these foreign configurations must be unlocked before they can be imported. The following procedure explains how to unlock a foreign configuration drive:

            Before You Begin

            You must log in with admin privileges to perform this task.

            Procedure
               Command or ActionPurpose
              Step 1Server# scope chassis  

              Enters the chassis command mode.

               
              Step 2Server /chassis # scope storageadapter slot  

              Enters command mode for an installed storage card.

               
              Step 3Server /chassis/storageadapter # unlock-foreign-configuration  

              At the prompt, enter the security key and enter yes at the confirmation prompt.

               
              Step 4Server /chassis/storageadapter # scope physical-drive 2   (Optional)

              Enters the physical drive command mode.

               
              Step 5Server /chassis/storageadapter/physicsl-drive # show detail   (Optional)

              Displays the status of the unlocked foreign drive.

               

              This example shows how to unlock a foreign configuration drive:

              Server# scope chassis
              Server /chassis # scope storageadapter SLOT-3
              Server /chassis/storageadapter # unlock-foreign-configuration
              Please enter the security key to unlock the foreign configuration -> testSecurityKey
              Server /chassis/storageadapter # import-foreign-config
              Are you sure you want to import all foreign configurations on this controller?
              Enter 'yes' to confirm -> yes
              Server /chassis/storageadapter # scope physical-drive 2
              Server /chassis/storageadapter/physical-drive # show detail
              Physical Drive Number 2:
                  Controller: SLOT-HBA
                  Health: Good
                  Status: Online
                  .
              				.
                  FDE Capable: 1
                  FDE Enabled: 1
                  FDE Secured: 1
                  FDE Locked: 0
                  FDE locked foreign config: 0
              
              Server /chassis/storageadapter/physical-drive # 
              

              Clearing Foreign Configuration

              Important:

              This task clears all foreign configuration on the controller. Also, all configuration information from all physical drives hosting foreign configuration is deleted. This action cannot be reverted.

              Before You Begin

              You must log in with admin privileges to perform this task.

              Procedure
                 Command or ActionPurpose
                Step 1Server# scope chassis  

                Enters the chassis command mode.

                 
                Step 2Server /chassis # scope storageadapter slot  

                Enters command mode for an installed storage card.

                 
                Step 3 Server /chassis/storageadapter # clear-foreign-config 

                You are prompted to confirm the action. Enter yes to confirm.

                Note   

                If you do not enter yes, the action is aborted.

                 

                This example shows how to clear all foreign configurations on the MegaRAID controller in slot 3:

                Server# scope chassis
                Server /chassis # scope storageadapter SLOT-3
                Server /chassis/storageadapter # clear-foreign-config
                Are you sure you want to clear all foreign configurations on this controller?
                All data on the drive(s) will be lost.
                Enter 'yes' to confirm -> yes
                Server /chassis/storageadapter # 

                Enabling JBOD


                Note


                You can enable Just a Bunch of Disks (JBOD) only on some UCS C-Series servers.


                Procedure
                   Command or ActionPurpose
                  Step 1Server# scope chassis  

                  Enters the chassis command mode.

                   
                  Step 2Server /chassis # scope storageadapter slot  

                  Enters command mode for an installed storage card.

                   
                  Step 3Server /chassis /storageadapter # enable-jbod-mode  

                  Enables the JBOD Mode for the selected controller

                   

                  This example enables the JBOD mode for the selected controller:

                  Server# scope chassis
                  Server /chassis # scope storageadapter SLOT-3
                  Server /chassis/storageadapter # enable-jbod-mode 
                  Are you sure you want to enable JBOD mode?
                  Enter 'yes' to confirm -> yes
                  Server/chassis/storageadapter # show settings
                  PCI Slot SLOT-3:
                      Info Valid: Yes
                      Enable JBOD Mode: true
                  

                  Disabling JBOD


                  Note


                  This option is available only on some UCS C-Series servers.


                  Before You Begin

                  JBOD mode must be enabled for the selected controller.

                  Procedure
                     Command or ActionPurpose
                    Step 1Server# scope chassis  

                    Enters the chassis command mode.

                     
                    Step 2Server /chassis # scope storageadapter slot  

                    Enters command mode for an installed storage card.

                     
                    Step 3Server /chassis /storageadapter # disable-jbod-mode  

                    Disables the JBOD Mode for the selected controller

                     

                    This example disables the JBOD mode for the selected controller:

                    Server# scope chassis
                    Server /chassis # scope storageadapter SLOT-3
                    Server /chassis/storageadapter # disable-jbod-mode 
                    Are you sure you want to disable JBOD mode?
                    Enter 'yes' to confirm -> yes
                    Server/chassis/storageadapter # show settings
                    PCI Slot SLOT-3:
                        Info Valid: Yes
                        Enable JBOD Mode: false
                    

                    Clearing a Boot Drive

                    Important:

                    This task clears the boot drive configuration on the controller. This action cannot be reverted.

                    Before You Begin

                    You must log in with admin privileges to perform this task.

                    Procedure
                       Command or ActionPurpose
                      Step 1Server# scope chassis  

                      Enters the chassis command mode.

                       
                      Step 2Server /chassis # scope storageadapter slot  

                      Enters command mode for an installed storage card.

                       
                      Step 3 Server /chassis/storageadapter # clear-boot-drive  

                      You are prompted to confirm the action. Enter yes to confirm.

                      Note   

                      If you do not enter yes, the action is aborted.

                       

                      This example shows how to clear the boot drive configuration on the MegaRAID controller in slot 3:

                      Server# scope chassis
                      Server /chassis # scope storageadapter SLOT-3
                      Server /chassis/storageadapter # clear-boot-drive
                      Are you sure you want to clear the controller's boot drive? 
                      Enter 'yes' to confirm -> yes
                      Server /chassis/storageadapter # 

                      Enabling Security on a JBOD

                      you can enable security on a physical drive only if it is a JBOD. The following procedure explains how to enable security on a JBOD:

                      Before You Begin

                      You must log in with admin privileges to perform this task.

                      Procedure
                         Command or ActionPurpose
                        Step 1Server# scope chassis  

                        Enters the chassis command mode.

                         
                        Step 2Server /chassis # scope storageadapter slot  

                        Enters command mode for an installed storage card.

                         
                        Step 3Server /chassis/storageadapter # scope physical-drive 2  

                        Enters the physical drive command mode.

                         
                        Step 4Server /chassis/storageadapter # enable-security-on-jbod  

                        At the confirmation prompt, enter yes.

                        Enables security on the JBOD.  
                        Step 5Server /chassis/storageadapter/physicsl-drive # show detail   (Optional)

                        Displays details of the physical drive.

                         

                        This example shows how to enable security on a JBOD:

                        Server# scope chassis
                        Server /chassis # scope storageadapter SLOT-3
                        savbu-stordev-dn1-2-cimc /chassis/storageadapter # scope physical-drive 2
                        server /chassis/storageadapter/physical-drive # enable-security-on-jbod
                        Are you sure you want to enable security on this JBOD?
                        NOTE: this is not reversible!
                        Enter 'yes' to confirm -> yes
                        server /chassis/storageadapter/physical-drive # show detail
                        Physical Drive Number 2:
                            .
                        				.
                            Status: JBOD
                            .
                        				.
                            FDE Capable: 1
                            FDE Enabled: 1
                            FDE Secured: 1
                        server /chassis/storageadapter/physical-drive # 
                        
                        

                        Clearing a Secure Physical Drive

                        Clearing a secure drive converts an FDE drive from secured to unsecured. The Physical drive status must be Unconfigured good to perform this action. This erases the data on the physical drive. The following procedure explains how to clear a secure SED physical drive:

                        Before You Begin

                        You must log in with admin privileges to perform this task.

                        Procedure
                           Command or ActionPurpose
                          Step 1Server# scope chassis  

                          Enters the chassis command mode.

                           
                          Step 2Server /chassis # scope storageadapter slot  

                          Enters command mode for an installed storage card.

                           
                          Step 3Server /chassis/storageadapter # scope physical-drive 2  

                          Enters the physical drive command mode.

                           
                          Step 4Server /chassis/storageadapter/physicsl-drive # clear-secure-drive  

                          At the confirmation prompt, enter yes.

                          This clears the secure SED physical drive and all the data will be lost.  
                          Step 5Server /chassis/storageadapter/physicsl-drive # show detail   (Optional)

                          Displays the physical drive details.

                           

                          This example shows how to clear an SED foreign configuration physical drive:

                          Server# scope chassis
                          Server /chassis # scope storageadapter SLOT-3
                          Server /chassis/storageadapter # scope physical-drive 2
                          Server /chassis/storageadapter/physical-drive #  clear-secure-drive
                          Are you sure you want to erase all data from this physical drive?
                          NOTE: this is not reversible!  ALL DATA WILL BE LOST!!
                          Enter 'yes' to confirm -> yes
                          Server /chassis/storageadapter/physical-drive # show detail
                          Physical Drive Number 2:
                              Controller: SLOT-HBA
                              Health: Good
                              Status: Unconfigured Good
                              .
                          				.
                              FDE Capable: 1
                              FDE Enabled: 0
                              FDE Secured: 0
                          
                          
                          Server /chassis/storageadapter/physical-drive # 
                          

                          Clearing a Secure SED Foreign Configuration Physical Drive

                          Coverts a locked foreign configuration Full Disk Encryption drive to a unsecured and unlocked drive. This erases the data on the physical drive. The following procedure explains how to clear a secure SED foreign configuration physical drive:

                          Before You Begin

                          You must log in with admin privileges to perform this task.

                          Procedure
                             Command or ActionPurpose
                            Step 1Server# scope chassis  

                            Enters the chassis command mode.

                             
                            Step 2Server /chassis # scope storageadapter slot  

                            Enters command mode for an installed storage card.

                             
                            Step 3Server /chassis/storageadapter # scope physical-drive 2  

                            Enters the physical drive command mode.

                             
                            Step 4Server /chassis/storageadapter/physicsl-drive # clear-secure-foreign-config-drive  

                            At the confirmation prompt, enter yes.

                            This clears the secure SED foreign configuration physical drive and all the data will be lost.  
                            Step 5Server /chassis/storageadapter/physicsl-drive # show detail   (Optional)

                            Displays the physical drive details.

                             

                            This example shows how to clear an SED foreign configuration physical drive:

                            Server# scope chassis
                            Server /chassis # scope storageadapter SLOT-3
                            Server /chassis/storageadapter # scope physical-drive 2
                            Server /chassis/storageadapter/physical-drive # clear-secure-foreign-config-drive
                            Are you sure you want to erase all data from this foreign-configuration physical drive?
                            NOTE: this is not reversible!  ALL DATA WILL BE LOST!!
                            Enter 'yes' to confirm -> yes
                            Server /chassis/storageadapter/physical-drive # show detail
                            Physical Drive Number 2:
                                Controller: SLOT-HBA
                                Health: Good
                                Status: Unconfigured Good
                                .
                            				.
                                FDE Capable: 1
                                FDE Enabled: 0
                                FDE Secured: 0
                                FDE Locked: 0
                                FDE Locked Foreign Config: 0
                            
                            Server /chassis/storageadapter/physical-drive # 
                            

                            Retrieving TTY Logs for a Controller

                            This task retrieves the TTY logs for the controller and places it in the /var/log location. This ensures that this log data is available when Technical Support Data is requested.

                            Before You Begin

                            You must log in with admin privileges to perform this task.

                            Procedure
                               Command or ActionPurpose
                              Step 1Server# scope chassis  

                              Enters the chassis command mode.

                               
                              Step 2Server /chassis # scope storageadapter slot  

                              Enters command mode for an installed storage card.

                               
                              Step 3 Server /chassis/storageadapter # get-tty-log    
                              Step 4 Server /chassis/storageadapter # show detail  

                              Displays the status of the retrieval process.

                              Important:

                              Retrieving TTY logs for a controller could take up to 2-4 minutes. Until this process is complete, do not initiate exporting technical support data.

                               

                              This example shows how to retrieve TTY logs for a MegaRAID controller in slot 3:

                              Server# scope chassis
                              Server /chassis # scope storageadapter SLOT-3
                              Server /chassis/storageadapter # get-tty-log
                              Server /chassis/storageadapter # show detail
                              PCI Slot SLOT-3:
                              TTY Log Status: In progress (8192 bytes fetched)
                              Server /chassis/storageadapter # show detail
                              PCI Slot SLOT-3:
                              TTY Log Status: In progress (90112 bytes fetched)
                              Server /chassis/storageadapter # show detail
                              PCI Slot SLOT-3:
                              TTY Log Status: Complete (172032 bytes fetched)
                              

                              Enabling Drive Security on a Controller

                              Before You Begin

                              You must log in with admin privileges to perform this task.

                              Procedure
                                 Command or ActionPurpose
                                Step 1Server# scope chassis  

                                Enters the chassis command mode.

                                 
                                Step 2Server /chassis # scope storageadapter slot  

                                Enters command mode for an installed storage card.

                                 
                                Step 3 Server /chassis/storageadapter # enable-controller-security  

                                At this point, you are prompted to enter a security key, you can either enter a security key of your choice or you can use the suggested security key. If you choose to assign a security key of your choice, enter the security key at the prompt.

                                Depending on whether you want to use the suggested security key or a security key of your choice, enter y (yes) to confirm, or n (no) to cancel the operation at the appropriate prompt.

                                 
                                Step 4 Server /chassis/storageadapter # show detail  

                                Displays the storage drive details.

                                 

                                The following example shows how to enable security on a controller:

                                Server# scope chassis
                                Server /chassis # scope storageadapter SLOT-3
                                Server /chassis/storageadapter # enable-controller-security
                                Use generated key-id 'UCSC-MRAID12G_FHH18250010_1d85dcd3'?  (y or n)--> y
                                Use suggested security-key '6ICsmuX@oVB7e9wXt79qsTgp6ICsmuX@'?  (y or n)--> n
                                Enter security-key --> testSecurityKey
                                Will use security-key 'testSecurityKey'
                                Server /chassis/storageadapter show detail
                                PCI Slot SLOT-HBA:
                                    <stuff deleted>
                                    Controller is Secured: 1
                                
                                Server /chassis/storageadapter #

                                Disabling Drive Security on a Controller

                                Before You Begin

                                You must log in with admin privileges to perform this task.

                                Procedure
                                   Command or ActionPurpose
                                  Step 1Server# scope chassis  

                                  Enters the chassis command mode.

                                   
                                  Step 2Server /chassis # scope storageadapter slot  

                                  Enters command mode for an installed storage card.

                                   
                                  Step 3 Server /chassis/storageadapter # disable-controller-security  

                                  A confirmation prompt appears.

                                  At the confirmation prompt, enter yes to confirm, or n (no) to cancel the operation.

                                  Another prompt to enter the security key appears. Enter the security key.

                                  This disables the controller security.  
                                  Step 4 Server /chassis/storageadapter # show detail  

                                  Displays the storage drive details.

                                   

                                  The following example shows how to disable security on a controller:

                                  Server# scope chassis
                                  Server /chassis # scope storageadapter SLOT-3
                                  Server /chassis/storageadapter #  disable-controller-security
                                  Note: this operation will fail if any secured drives are present.
                                  Are you sure you want to disable security on this controller?
                                  Enter 'yes' to confirm -> yes
                                  Please enter the controller's security-key -> testSecurityKey
                                  savbu-stordev-dn1-2-cimc /chassis/storageadapter # show detail
                                  PCI Slot SLOT-HBA:
                                      <stuff deleted>
                                      Controller is Secured: 0
                                  
                                  Server /chassis/storageadapter #

                                  Modifying Controller Security Settings

                                  Before You Begin

                                  You must log in with admin privileges to perform this task.

                                  Procedure
                                     Command or ActionPurpose
                                    Step 1Server# scope chassis  

                                    Enters the chassis command mode.

                                     
                                    Step 2Server /chassis # scope storageadapter slot  

                                    Enters command mode for an installed storage card.

                                     
                                    Step 3 Server /chassis/storageadapter # modify-controller-security  

                                    At this point, you are prompted to enter the current security key, option to choose whether you want to reset the key-id and the new security key. Enter the appropriate information.

                                    At the confirmation prompt, enter y (yes) to confirm, or n (no) to cancel the operation.

                                     

                                    The following example shows how to modify the security settings of a controller:

                                    Server# scope chassis
                                    Server /chassis # scope storageadapter SLOT-3
                                    Server /chassis/storageadapter # modify-controller-security
                                    Please enter current security-key --> testSecurityKey
                                    Keep current key-id 'UCSC-MRAID12G_FHH18250010_1d85dcd3'? (y or n)--> n
                                    Enter new key-id: NewKeyId
                                    Will change key-id to 'NewKeyId'
                                    Keep current security-key? (y or n)--> y
                                    
                                    Server /chassis/storageadapter #

                                    Verifying the Security Key Authenticity

                                    If you are not sure about the security key, you can use this procedure to verify whether the security key that you provide matches the controller security key.

                                    Before You Begin

                                    You must log in with admin privileges to perform this task.

                                    Procedure
                                       Command or ActionPurpose
                                      Step 1Server# scope chassis  

                                      Enters the chassis command mode.

                                       
                                      Step 2Server /chassis # scope storageadapter slot  

                                      Enters command mode for an installed storage card.

                                       
                                      Step 3 Server /chassis/storageadapter # verify-controller-security-key  

                                      At the prompt, enter the security key and press Enter.

                                      If you enter a security key that does not match the controller security key, a verification failure message appears.  

                                      The following example shows how to verify the security key of a controller:

                                      Server# scope chassis
                                      Server /chassis # scope storageadapter SLOT-3
                                      Server /chassis/storageadapter #  verify-controller-security-key
                                      Please enter the security key to verify -> WrongSecurityKey
                                      verify-controller-security-key failed.
                                      Error: "r-type: RAID controller: SLOT-HBA command-status: Lock key from backup failed verification"
                                      savbu-stordev-dn1-2-cimc /chassis/storageadapter # 
                                      savbu-stordev-dn1-2-cimc /chassis/storageadapter # verify-controller-security-key
                                      Please enter the security key to verify -> testSecurityKey
                                      
                                      Server /chassis/storageadapter #

                                      Deleting a Virtual Drive

                                      Important:

                                      This task deletes a virtual drive, including the drives that run the booted operating system. So back up any data that you want to retain before you delete a virtual drive.

                                      Before You Begin

                                      You must log in with admin privileges to perform this task.

                                      Procedure
                                         Command or ActionPurpose
                                        Step 1Server# scope chassis  

                                        Enters the chassis command mode.

                                         
                                        Step 2Server /chassis # scope storageadapter slot  

                                        Enters command mode for an installed storage card.

                                         
                                        Step 3 Server /chassis/storageadapter # scope virtual-drive drive-number 

                                        Enters command mode for the specified virtual drive.

                                         
                                        Step 4 Server /chassis/storageadapter/virtual-drive # delete-virtual-drive 

                                        You are prompted to confirm the action. Enter yes to confirm.

                                        Note   

                                        If you do not enter yes, the action is aborted.

                                         

                                        This example shows how to delete virtual drive 3.

                                        Server# scope chassis
                                        Server /chassis # scope storageadapter SLOT-3
                                        Server /chassis/storageadapter # scope virtual-drive 3
                                        Server /chassis/storageadapter/virtual-drive # delete-virtual-drive
                                        Are you sure you want to delete virtual drive 3?
                                        All data on the drive will be lost.  Enter 'yes' to confirm -> yes
                                        Server /chassis/storageadapter/virtual-drive # 
                                         

                                        Initializing a Virtual Drive

                                        All data on a virtual drive is lost when you initialize the drive. Before you run an initialization, back up any data on the virtual drive that you want to save.

                                        Before You Begin

                                        You must log in with admin privileges to perform this task.

                                        Procedure
                                           Command or ActionPurpose
                                          Step 1Server# scope chassis  

                                          Enters the chassis command mode.

                                           
                                          Step 2Server /chassis # scope storageadapter slot  

                                          Enters command mode for an installed storage card.

                                           
                                          Step 3Server /chassis/storageadapter # scope virtual-drive drive-number 

                                          Enters command mode for the specified virtual drive.

                                           
                                          Step 4Server /chassis/storageadapter/virtual-drive # start-initialization 

                                          Initializes the specified virtual drive.

                                           
                                          Step 5Server /chassis/storageadapter/virtual-drive # cancel-initialization 

                                          (Optional) Cancels the initialization of the specified virtual drive.

                                           
                                          Step 6Server /chassis/storageadapter/physical-drive # get-operation-status 

                                          Displays the status of the task that is in progress on the drive.

                                           

                                          This example shows how to initialize virtual drive 3 using fast initialization:

                                          Server# scope chassis
                                          Server /chassis # scope storageadapter SLOT-3
                                          Server /chassis/storageadapter # scope virtual-drive 3
                                          Server /chassis/storageadapter/virtual-drive # start-initialization
                                          Are you sure you want to initialize virtual drive 3?
                                          All data on the drive will be lost.  Enter 'yes' to confirm -> yes
                                          Fast (0) or full (1) initialization?  -> 0
                                          Server /chassis/storageadapter/virtual-drive # get-operation-status
                                          
                                          progress-percent: 20%
                                          elapsed -seconds: 30
                                          operation-in-progress: initializing virtual drive
                                          
                                          Server /chassis/storageadapter/virtual-drive # 

                                          Set as Boot Drive

                                          Before You Begin

                                          You must log in with admin privileges to perform this task.

                                          Procedure
                                             Command or ActionPurpose
                                            Step 1Server# scope chassis  

                                            Enters the chassis command mode.

                                             
                                            Step 2Server /chassis # scope storageadapter slot  

                                            Enters command mode for an installed storage card.

                                             
                                            Step 3Server /chassis/storageadapter # scope virtual-drive drive-number 

                                            Enters command mode for the specified virtual drive.

                                             
                                            Step 4Server /chassis/storageadapter # set-boot-drive 

                                            Specifies the controller to boot from this virtual drive.

                                             

                                            This example shows how to specify the controller to boot from virtual drive 3:

                                            Server# scope chassis
                                            Server /chassis # scope storageadapter SLOT-3
                                            Server /chassis/storageadapter # scope virtual-drive 3
                                            Server /chassis/storageadapter/virtual-drive # set-boot-drive
                                            Are you sure you want to set virtual drive 3 as the boot drive?
                                            Enter 'yes' to confirm -> yes
                                            Server /chassis/storageadapter/virtual-drive #
                                            

                                            Editing a Virtual Drive

                                            Before You Begin

                                            You must log in with admin privileges to perform this task.

                                            Procedure
                                               Command or ActionPurpose
                                              Step 1Server# scope chassis  

                                              Enters the chassis command mode.

                                               
                                              Step 2Server /chassis # scope storageadapter slot  

                                              Enters command mode for an installed storage card.

                                               
                                              Step 3Server chassis /storageadapter # scope virtual-drive drive number  

                                              Enters command mode for the specified virtual drive.

                                               
                                              Step 4Server chassis /storageadapter /virtual-drive # modify-attributes  

                                              Prompts you to select a different current policy.

                                               
                                              Step 5Server chassis /storageadapter /virtual-drive# set raid-level value  

                                              Specifies the RAID level for the specified virtual drive.

                                               
                                              Step 6Server chassis /storageadapter /virtual-drive# set physical-drive value  

                                              Specifies the physical drive for the specified virtual drive.

                                               

                                              This example shows to edit a virtual drive:

                                              Server# scope chassis
                                              Server /chassis # scope storageadapter slot-3
                                              Server /chassis/storageadapter # scope virtual-drive 3
                                              Server /chassis/storageadapter/virtual-drive #set raid-level 1
                                              Server /chassis/storageadapter/virtual-drive *# physical-drive 1
                                              Server /chassis/storageadapter/virtual-drive* #commit
                                              Server /chassis/storageadapter /virtual-drive # modify-attribute
                                              Current write policy: Write Back Good BBU
                                              
                                                  0: Write Through
                                                  1: Write Back Good BBU
                                                  2: Always Write Back
                                                Choose number from above options--> 0
                                              The following attribute will be modified:
                                                - Write Policy: Write Through
                                              
                                              OK? (y or n)--> y
                                              Server /chassis/storageadapter/virtual-drive #
                                               

                                              Securing a Virtual Drive

                                              Important:

                                              This task secures all the VDs in an existing drive group, where virtual-drive is the target ID of a virtual drive in the drive group.

                                              Before You Begin

                                              You must log in with admin privileges to perform this task.

                                              Procedure
                                                 Command or ActionPurpose
                                                Step 1Server# scope chassis  

                                                Enters the chassis command mode.

                                                 
                                                Step 2Server /chassis # scope storageadapter slot  

                                                Enters command mode for an installed storage card.

                                                 
                                                Step 3 Server /chassis/storageadapter # scope virtual-drive drive-number  

                                                Enters command mode for the specified virtual drive.

                                                 
                                                Step 4 Server /chassis/storageadapter/virtual-drive # secure-drive-group  

                                                You are prompted to confirm the action. Enter yes to confirm.

                                                Note   

                                                If you do not enter yes, the action is aborted.

                                                 

                                                This example shows how to secure the virtual drive group.

                                                Server# scope chassis
                                                Server /chassis # scope storageadapter SLOT-3
                                                Server /chassis/storageadapter # scope virtual-drive 3
                                                Server /chassis/storageadapter/virtual-drive # secure-drive-group
                                                This will enable security for virtual drive 16, and all virtual drives sharing this drive group.
                                                It is not reversible.  Are you quite certain you want to do this?
                                                Enter 'yes' to confirm -> yes
                                                server /chassis/storageadapter/virtual-drive # show detail
                                                Virtual Drive 16:
                                                    .
                                                				.
                                                    FDE Capable: 1
                                                    FDE Enabled: 1
                                                    .
                                                				.
                                                 server /chassis/storageadapter/virtual-drive #
                                                 

                                                Modifying Attributes of a Virtual Drive

                                                Before You Begin

                                                You must log in with admin privileges to perform this task.

                                                Procedure
                                                   Command or ActionPurpose
                                                  Step 1Server# scope chassis  

                                                  Enters the chassis command mode.

                                                   
                                                  Step 2Server /chassis # scope storageadapter slot  

                                                  Enters command mode for an installed storage card.

                                                   
                                                  Step 3 Server /chassis/storageadapter # scope virtual-drive 3 

                                                  Enters the command mode for the virtual drive.

                                                   
                                                  Step 4 Server /chassis/storageadapter/virtual-drive # modify-attributes  

                                                  Prompts you to select a different current policy.

                                                   

                                                  This example shows how to carve a new virtual drive out of unused space in an existing RAID 1 drive group:

                                                  Server# scope chassis
                                                  Server /chassis # scope storageadapter SLOT-3
                                                  Server /chassis/storageadapter # scope virtual-drive
                                                  Server /chassis/storageadapter/virtual-drive # modify-attributes
                                                  
                                                  Current write policy: Write Back
                                                  
                                                    0: Write Through
                                                    1: Write Back
                                                    2: Write Back even if Bad BBU
                                                  
                                                  Choose number from above options --> 0
                                                  
                                                  The following attribute will be modified:
                                                  
                                                   - Write policy: Write Through
                                                  
                                                  OK? (y or n) --> y
                                                  
                                                  operation in progress.
                                                  
                                                  Server /chassis/storageadapter/virtual-drive #  

                                                  Making a Dedicated Hot Spare

                                                  Before You Begin

                                                  You must log in with admin privileges to perform this task.

                                                  Procedure
                                                     Command or ActionPurpose
                                                    Step 1Server# scope chassis  

                                                    Enters the chassis command mode.

                                                     
                                                    Step 2Server /chassis # scope storageadapter slot  

                                                    Enters command mode for an installed storage card.

                                                     
                                                    Step 3Server /chassis/storageadapter # scope physical-drive drive-number 

                                                    Enters command mode for the specified physical drive.

                                                     
                                                    Step 4Server /chassis/storageadapter/physical-drive # make-dedicated-hot-spare 

                                                    You are prompted to choose a virtual drive for which the dedicated hot spare is being created.

                                                     

                                                    This example shows how to make physical drive 3 a dedicated hot spare for virtual drive 6:

                                                    Server# scope chassis
                                                    Server /chassis # scope storageadapter SLOT-3
                                                    Server /chassis/storageadapter # scope physical-drive 3
                                                    Server /chassis/storageadapter/physical-drive # make-dedicated-hot-spare
                                                      5: VD_OS_1, RAID 0, 102400 MB, physical disks: 1
                                                      6: VD_OS_2, RAID 0, 12288 MB, physical disks: 1
                                                      7: VD_OS_3, RAID 0, 12288 MB, physical disks: 1
                                                      8: VD_DATA_1, RAID 0, 12512 MB, physical disks: 1
                                                      9: RAID1_2358, RAID 1, 40000 MB, physical disks: 2,3,5,8
                                                      11: JFB_RAID1_67, RAID 1, 20000 MB, physical disks: 6,7
                                                      12: JFB_Crv_R1_40, RAID 1, 40000 MB, physical disks: 6,7
                                                      13: JFB_R1_10GB, RAID 1, 10000 MB, physical disks: 6,7
                                                    
                                                      Please choose from the above 8 virtual drives-->6
                                                    
                                                    Server /chassis/storageadapter/physical-drive # 
                                                    

                                                    Making a Global Hot Spare

                                                    Before You Begin

                                                    You must log in with admin privileges to perform this task.

                                                    Procedure
                                                       Command or ActionPurpose
                                                      Step 1Server# scope chassis  

                                                      Enters the chassis command mode.

                                                       
                                                      Step 2Server /chassis # scope storageadapter slot  

                                                      Enters command mode for an installed storage card.

                                                       
                                                      Step 3Server /chassis/storageadapter # scope physical-drive drive-number 

                                                      Enters command mode for the specified physical drive.

                                                       
                                                      Step 4Server /chassis/storageadapter/physical-drive # make-global-hot-spare   
                                                      Step 5Server /chassis/storageadapter/physical-drive # get-operation-status 

                                                      Displays the status of the task that is in progress on the drive.

                                                       

                                                      This example shows how to make physical drive 3 a global hot spare:

                                                      Server# scope chassis
                                                      Server /chassis # scope storageadapter SLOT-3
                                                      Server /chassis/storageadapter # scope physical-drive 3
                                                      Server /chassis/storageadapter/physical-drive # make-global-hot-spare
                                                      Server /chassis/storageadapter/physical-drive #

                                                      Preparing a Drive for Removal

                                                      You can confirm this task only on physical drives that display the Unconfigured Good status.

                                                      Before You Begin

                                                      You must log in with admin privileges to perform this task.

                                                      Procedure
                                                         Command or ActionPurpose
                                                        Step 1Server# scope chassis  

                                                        Enters the chassis command mode.

                                                         
                                                        Step 2Server /chassis # scope storageadapter slot  

                                                        Enters command mode for an installed storage card.

                                                         
                                                        Step 3 Server /chassis/storageadapter # scope physical-drive drive-number 

                                                        Enters command mode for the specified physical drive.

                                                         
                                                        Step 4 Server /chassis/storageadapter/physical-drive # prepare-for-removal   

                                                        This example shows how to prepare physical drive 3 for removal.

                                                        Server# scope chassis
                                                        Server /chassis # scope storageadapter SLOT-3
                                                        Server /chassis/storageadapter # scope physical-drive 3
                                                        Server /chassis/storageadapter/physical-drive # prepare-for-removal
                                                        Server /chassis/storageadapter/physical-drive # 

                                                        Toggling Physical Drive Status

                                                        Before You Begin
                                                        • You must log in with admin privileges to perform this task.

                                                        • The controller must support the JBOD mode and the JBOD mode must be enabled.
                                                        Procedure
                                                           Command or ActionPurpose
                                                          Step 1Server# scope chassis  

                                                          Enters the chassis command mode.

                                                           
                                                          Step 2Server /chassis # scope storageadapter slot  

                                                          Enters command mode for an installed storage card.

                                                           
                                                          Step 3 Server /chassis/storageadapter # scope physical-drive 4  

                                                          Enters command mode for the physical drive.

                                                           
                                                          Step 4 Server /chassis/storageadapter/physical-drive # make-unconfigured-good  

                                                          Modifies the status of the drive to Unconfigured good.

                                                           
                                                          Step 5 Server /chassis/storageadapter/physical-drive # make-jbod  

                                                          Enables the JBOD mode on the physical drive.

                                                           

                                                          This example shows how to toggle between the status of the physical drive:

                                                          Server# scope chassis
                                                          Server /chassis # scope storageadapter SLOT-3
                                                          Server /chassis/storageadapter # scope physical-drive 4
                                                          Server /chassis/storageadapter/physical-drive # show detail
                                                          Physical Drive Number 4:
                                                              Controller: SLOT-4
                                                              Health: Good
                                                              Status: JBOD
                                                              Boot Drive: true
                                                              Manufacturer: ATA
                                                              Model: ST500NM0011
                                                              Predictive Failure Count: 0
                                                              Drive Firmware: CC02
                                                              Coerced Size: 476416 MB
                                                              Type: HDD
                                                          Server /chassis/storageadapter/physical-drive # make-unconfigured-good
                                                          Server /chassis/storageadapter/physical-drive # show detail
                                                          Physical Drive Number 4:
                                                              Controller: SLOT-4
                                                              Health: Good
                                                              Status: Unconfigured Good
                                                              Boot Drive: true
                                                              Manufacturer: ATA
                                                              Model: ST500NM0011
                                                              Predictive Failure Count: 0
                                                              Drive Firmware: CC02
                                                              Coerced Size: 476416 MB
                                                              Type: HDD
                                                          Server /chassis/storageadapter/physical-drive # make-jbod
                                                          Server /chassis/storageadapter/physical-drive # show detail
                                                          Physical Drive Number 4:
                                                              Controller: SLOT-4
                                                              Health: Good
                                                              Status: JBOD
                                                              Boot Drive: true
                                                              Manufacturer: ATA
                                                              Model: ST500NM0011
                                                              Predictive Failure Count: 0
                                                              Drive Firmware: CC02
                                                              Coerced Size: 476416 MB
                                                              Type: HDD
                                                          

                                                          Setting a Physical Drive as a Controller Boot Drive

                                                          Before You Begin
                                                          • You must log in with admin privileges to perform this task.

                                                          • The controller must support the JBOD mode and the JBOD mode must be enabled.
                                                          Procedure
                                                             Command or ActionPurpose
                                                            Step 1Server# scope chassis  

                                                            Enters the chassis command mode.

                                                             
                                                            Step 2Server /chassis # scope storageadapter slot  

                                                            Enters command mode for an installed storage card.

                                                             
                                                            Step 3 Server /chassis/storageadapter # scope physical-drive 4  

                                                            Enters command mode for the physical drive.

                                                             
                                                            Step 4 Server /chassis/storageadapter/physical-drive # set-boot-drive  

                                                            You are prompted to confirm the action. Enter yes to confirm.

                                                            Note   

                                                            If you do not enter yes, the action is aborted.

                                                             

                                                            This example shows how to set a physical drive as a boot drive for a controller:

                                                            Server# scope chassis
                                                            Server /chassis # scope storageadapter SLOT-3
                                                            Server /chassis/storageadapter # show detail
                                                            PCI Slot SLOT-4:
                                                                Health: Good
                                                                Controller Status: Optimal
                                                                ROC Temperature: Not Supported
                                                                Product Name: MegaRAID 9240-8i (RAID 0,1,10,5)
                                                                Serial Number: SP23807413
                                                                Firmware Package Build: 20.11.1-0159
                                                                Product ID: LSI Logic
                                                                Battery Status: no battery
                                                                Cache Memory Size: 0 MB
                                                                Boot Drive: none
                                                                Boot Drive is PD: false
                                                                TTY Log Status: Not Downloaded
                                                            Server /chassis/storageadapter # scope physical-drive 4
                                                            Server /chassis/storageadapter/physical-drive # set-boot-drive 
                                                            Are you sure you want to set physical drive 4 as the boot drive?
                                                            Enter 'yes' to confirm -> yes
                                                            Server /chassis/storageadapter/physical-drive # exit
                                                            Server /chassis/storageadapter # show detail
                                                            PCI Slot SLOT-4:
                                                                Health: Good
                                                                Controller Status: Optimal
                                                                ROC Temperature: Not Supported
                                                                Product Name: MegaRAID 9240-8i (RAID 0,1,10,5)
                                                                Serial Number: SP23807413
                                                                Firmware Package Build: 20.11.1-0159
                                                                Product ID: LSI Logic
                                                                Battery Status: no battery
                                                                Cache Memory Size: 0 MB
                                                                Boot Drive: 4
                                                                Boot Drive is PD: true
                                                                TTY Log Status: Not Downloaded
                                                            
                                                            

                                                            Removing a Drive from Hot Spare Pools

                                                            Before You Begin

                                                            You must log in with admin privileges to perform this task.

                                                            Procedure
                                                               Command or ActionPurpose
                                                              Step 1Server# scope chassis  

                                                              Enters the chassis command mode.

                                                               
                                                              Step 2Server /chassis # scope storageadapter slot  

                                                              Enters command mode for an installed storage card.

                                                               
                                                              Step 3Server /chassis/storageadapter # scope physical-drive drive-number 

                                                              Enters command mode for the specified physical drive.

                                                               
                                                              Step 4Server /chassis/storageadapter/physical-drive # remove-hot-spare 

                                                              Removes a drive from the host spare pool.

                                                               

                                                              This example shows how to remove physical drive 3 from the hot spare pools:

                                                              Server# scope chassis
                                                              Server /chassis # scope storageadapter SLOT-3
                                                              Server /chassis/storageadapter # scope physical-drive 3
                                                              Server /chassis/storageadapter/physical-drive # remove-hot-spare
                                                              Server /chassis/storageadapter/physical-drive #

                                                              Undo Preparing a Drive for Removal

                                                              Before You Begin

                                                              You must log in with admin privileges to perform this task.

                                                              Procedure
                                                                 Command or ActionPurpose
                                                                Step 1Server# scope chassis  

                                                                Enters the chassis command mode.

                                                                 
                                                                Step 2Server /chassis # scope storageadapter slot  

                                                                Enters command mode for an installed storage card.

                                                                 
                                                                Step 3 Server /chassis/storageadapter # scope physical-drive drive-number 

                                                                Enters command mode for the specified physical drive.

                                                                 
                                                                Step 4 Server /chassis/storageadapter/physical-drive # undo-prepare-for-removal   

                                                                This example shows how to respin physical drive 3 after preparing the drive for removal.

                                                                Server# scope chassis
                                                                Server /chassis # scope storageadapter SLOT-3
                                                                Server /chassis/storageadapter # scope physical-drive 3
                                                                Server /chassis/storageadapter/physical-drive # undo-prepare-for-removal
                                                                Server /chassis/storageadapter/physical-drive # 

                                                                Enabling Auto Learn Cycles for the Battery Backup Unit

                                                                Before You Begin

                                                                You must log in with admin privileges to perform this task.

                                                                Procedure
                                                                   Command or ActionPurpose
                                                                  Step 1Server# scope chassis  

                                                                  Enters the chassis command mode.

                                                                   
                                                                  Step 2Server /chassis # scope storageadapter slot  

                                                                  Enters command mode for an installed storage card.

                                                                   
                                                                  Step 3Server /chassis/storageadapter # scope bbu 

                                                                  Enter the battery backup unit command mode.

                                                                   
                                                                  Step 4Server /chassis/storageadapter # enable-auto-learn 

                                                                  Enables the battery auto-learn cycles

                                                                   

                                                                  This example shows how to enable the battery auto-learn cycles:

                                                                  Server # scope chassis
                                                                  Server /chassis # scope storageadapter SLOT-2
                                                                  Server /chassis/storageadapter # scope bbu
                                                                  Server /chassis/storageadapter/bbu # enable-auto-learn
                                                                  Automatic BBU learn cycles will occur without notice if enabled.
                                                                  Are you sure? [y/n] --> y
                                                                  enable-auto-learn initiated
                                                                  Server /chassis/storageadapter/bbu #

                                                                  Disabling Auto Learn Cycles for the Battery Backup Unit

                                                                  Before You Begin

                                                                  You must log in with admin privileges to perform this task.

                                                                  Procedure
                                                                     Command or ActionPurpose
                                                                    Step 1Server# scope chassis  

                                                                    Enters the chassis command mode.

                                                                     
                                                                    Step 2Server /chassis # scope storageadapter slot  

                                                                    Enters command mode for an installed storage card.

                                                                     
                                                                    Step 3Server /chassis/storageadapter # scope bbu 

                                                                    Enter the battery backup unit command mode.

                                                                     
                                                                    Step 4Server /chassis/storageadapter # disable-auto-learn 

                                                                    Disables the battery auto-learn cycles

                                                                     

                                                                    This example shows how to disables the battery auto-learn cycles:

                                                                    Server # scope chassis
                                                                    Server /chassis # scope storageadapter SLOT-2
                                                                    Server /chassis/storageadapter # scope bbu
                                                                    Server /chassis/storageadapter/bbu # disable-auto-learn
                                                                    Automatic BBU learn cycles will no longer occur if disabled.
                                                                    Are you sure? [y/n] --> y
                                                                    disable-auto-learn initiated
                                                                    
                                                                    Server /chassis/storageadapter/bbu #

                                                                    Starting a Learn Cycle for a Battery Backup Unit

                                                                    Before You Begin

                                                                    You must be logged in as an admin to use this command.

                                                                    Procedure
                                                                       Command or ActionPurpose
                                                                      Step 1Server# scope chassis  

                                                                      Enters the chassis command mode.

                                                                       
                                                                      Step 2Server /chassis # scope storageadapter slot  

                                                                      Enters command mode for an installed storage card.

                                                                       
                                                                      Step 3Server /chassis/storageadapter # scope bbu 

                                                                      Enter the battery backup unit command mode.

                                                                       
                                                                      Step 4Server /chassis/storageadapter # start-learn-cycle 

                                                                      Starts the learn cycle for the battery.

                                                                       

                                                                      This example shows how to initiate the learn cycles for a battery:

                                                                      Server # scope chassis
                                                                      Server /chassis # scope storageadapter SLOT-2
                                                                      Server /chassis/storageadapter # scope bbu
                                                                      Server /chassis/storageadapter/bbu # start-learn-cycle
                                                                      Server /chassis/storageadapter/bbu #

                                                                      Toggling the Locator LED for a Physical Drive

                                                                      Before You Begin

                                                                      You must be logged in as an admin to perform this task.

                                                                      Procedure
                                                                         Command or ActionPurpose
                                                                        Step 1Server# scope chassis  

                                                                        Enters the chassis command mode.

                                                                         
                                                                        Step 2Server /chassis # scope storageadapter slot  

                                                                        Enters command mode for an installed storage card.

                                                                         
                                                                        Step 3Server /chassis/storageadapter # scope physical-drive 3 

                                                                        Enters the physical drive command mode.

                                                                         
                                                                        Step 4Server /chassis/storageadapter/physical-drive # locator-led {on | off} 

                                                                        Enables or disables the physical drive locator LED.

                                                                         

                                                                        This example shows how to enable the locator LED for physical drive 3:

                                                                        Server # scope chassis
                                                                        Server /chassis # scope storageadapter SLOT-2
                                                                        Server /chassis/storageadapter # scope physical-drive 3
                                                                        Server /chassis/storageadapter/physical-drive # locator-led on
                                                                        Server /chassis/storageadapter/physical-drive* # commit
                                                                        Server /chassis/storageadapter/physical-drive # 

                                                                        Viewing Storage Controller Logs

                                                                        Before You Begin

                                                                        You must log in with admin privileges to perform this task.

                                                                        Procedure
                                                                           Command or ActionPurpose
                                                                          Step 1Server# scope chassis  

                                                                          Enters the chassis command mode.

                                                                           
                                                                          Step 2Server /chassis # scope storageadapter slot  

                                                                          Enters command mode for an installed storage card.

                                                                           
                                                                          Step 3Server /chassis/storageadapter # show log 

                                                                          Displays the storage controller logs.

                                                                           

                                                                          This example shows how to display storage controller logs:

                                                                          Server # scope chassis
                                                                          Server /chassis # scope storageadapter SLOT-3
                                                                          Server /chassis/storageadapter # show log
                                                                          
                                                                          Time                        Severity         Description
                                                                          ----                        --------        -------------
                                                                          Fri March 1 09:52:19 2013   Warning      Predictive Failure
                                                                          Fri March 1 07:50:19 2013   Info         Battery charge complete 
                                                                          Fri March 1 07:50:19 2013   Info         Battery charge started
                                                                          Fri March 1 07:48:19 2013   Info         Battery relearn complete
                                                                          Fri March 1 07:47:19 2013   Info         Battery is discharging
                                                                          Fri March 1 07:45:19 2013   Info         Battery relearn started
                                                                          
                                                                          Server /chassis/storageadapter #