HP XP P9500 HP P9000 RAID Manager Reference Guide (T1610-96037, October 2011) - Page 105
Environment variable subcommands, Syntax, Arguments, Example
View all HP XP P9500 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 105 highlights
NOTE: The umount command flushes (sync) the system buffer of the associated drive before deleting the drive letter. If umount fails, confirm the following conditions: The logical and physical drives designated as the objects of the umount command are not opened to any applications. For example, confirm that Explore is not pointed on the target drive. If it is, then the target drive is opening. Umount command does not ignore the detected error on the NT file system, so that umount is successful in a normal case (NO ERROR case) only on NT file system. For example, confirm the target drive has no failure on the system for Event Viewer. If so, you must reboot the system or delete the partition and reconfigure the target drive. NOTE: The umountd command has the following behavior as well. Unmount the logical drive after waiting (30 sec) the delayed (paging) IO for dismount after flushed the system buffer to a drive. This avoids a problem (Windows 2003 only) that NTFS on P-VOL is split on inconsistent state because Windows 2003 (SP1) delays the IO for dismounting. This also avoids a problem that the delayed (paging) IO for dismounting is written on S-VOL_PAIR(Writing Disable) state by rescan, and logged as Windows event (For example, ID51,57). These problems do not occur on Windows 2008 systems. Environment variable subcommands If no environment variables are set in the execution environment, the following environment variable subcommands set or cancel an environment variable within the RAID Manager command. setenv: The setenv subcommand sets the specified environment variable(s). usetenv: The usetenv subcommand deletes the specified environment variable(s). env: The env subcommand command displays the environment variable(s). sleep: The sleep subcommand causes RAID Manager to wait for the specified time. Syntax -x setenv vaname value -x usetenv vaname -x env -x sleep time Arguments Argument Vaname Value Time Restriction Description Specifies the environment variable to be set or canceled. Specifies the value or character string of the environment variable to be set. Specifies the sleep time in seconds. The environment variables must be set before connecting to HORCM, and must be specified during interactive mode (-z option). Changing an environment variable after a RAID Manager command execution error is invalid. Example The following shows an example of the setenv and usetenv subcommands used as an option of the raidscan command. This example changes from "HORC" to "HOMRCF" an execution environment of the raidscan command which makes a dialog mode, because of establishing "HORCC_MRCF" as an environment variable. Environment variable subcommands 105