How to initialize two logical drives on a HP P400i controller without reboot

hphp-smart-array

What I am trying to do is initialize two logical drives on a HP P400i embedded controller without a reboot of the system here my current Array config:

array A (SAS, Unused Space: 0 MB)

logicaldrive 1 (17.9 GB, RAID 5, OK)
logicaldrive 2 (17.9 GB, RAID 5, OK)
logicaldrive 3 (75.9 GB, RAID 5, OK)
logicaldrive 4 (25.0 GB, RAID 5, OK)

physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 72 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 72 GB, OK)
physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 72 GB, OK)

 array B (SAS, Unused Space: 0 MB) 

logicaldrive 5 (99 MB, RAID 0, OK)
logicaldrive 6 (68.2 GB, RAID 0, OK)

physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 72 GB, OK)

windows 2003 machine running the HpCISs2.sys driver version 6.20.0.32 . I have the ACU and ACU CLI tools installed version 8.28.13.0, P400i firmware version 2.74 .

Now what I'd like to do is removes the physical drive 1I:1:4 and delete the two logical drives in array B. then insert a new drive in to bay 4 that contains two new logical drives and have them show up in array B again.

So far after I remove the drive and delete the failed logical drives, I insert the new drive and run HPacucli rescan. I get the new drive to show up as unassinged physical drive but I cant figure out now to "for lack of a better word" mount the 2 logical drives on the new unassinged disk.

If I reboot the system the array controller picks up the new fourth drive and creates Array B with the drives without problem but I'd really like to not have to reboot the server.

Any ideas?

Best Answer

You are missing a step here. When you remove the old logical drives and the physical disk in slot 4, you have to do the following:

  • possibly remove Array B
  • insert a new disk
  • create a new Array B on the unassigned disk
  • create logical drives of the requisite size on the new Array B

This can all be done hot in Windows (and usually Linux). The new logical drives will appear upon refresh (F5) of the Disk Manager utility.

Now, you can do this via the hpacucli utility, but it makes much more sense to use the web-based GUI tool, cpqacuxe. You'll understand the steps a bit better there.

Also, I think the continued use of a single-drive RAID 0 array is a bad idea. You do have some interesting options like adding the 72GB disk to Array A and carving out more logical drives. That would help performance and resilience...


Edit: What you're looking to do is not possible without a reboot.

You essentially want to move an array from one server to another. This is possible, but there are rules governing the process. From the HP Smart Array Controllers User Guide:

- *The server is powered down*.
- The array does not have failed or missing drives.
- No spare drive in the array is acting as a replacement for a failed drive.
- The controller is not performing capacity expansion, capacity extension, or RAID or stripe size 
migration.
- The controller is using the latest firmware version.

And the steps to actually perform a move are:

  1. Back up all data before removing any drives or changing configuration. This step is required if you are moving data-containing drives from a controller that does not have a cache module.
  2. Power down the system.
  3. Move the drives.
  4. Power up the system.
  5. Observe the POST messages:
    • If a 1785 POST message appears, the drive array did not configure properly. Continue with step 6.
    • If a 1724 or 1727 POST message appears, drive positions were changed successfully and the configuration was updated. Continue with step 7.
  6. If the array did not configure properly, power down the system immediately to prevent data loss. Return the drives to their original locations. Restore the data from backup, if necessary.
  7. Verify the new drive configuration by running ORCA or ACU.

So a poweroff/reboot is an essential step in this process. You can't avoid it for what you're trying to do.