HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
a
amcfg(1M) amcfg(1M)
and the mirror disks are on channel 2. However, specifying disks in the order
1:2,
2:2, 1:3, and 2:3 would result in mirrored pairs of
1:2/1:3 and 2:2/2:3. This
would put the data disk and mirror disk of each pair in the same enclosure, making
the LUN vulnerable to an enclosure failure.
-D LUN Delete the LUN identified by LUN.
-force Allows a LUN to be created using two or more disks in the same enclosure. This
option allows you to override the high-availability protection designed into the LUN
binding process. Using this option you can specify more than one disk per enclosure.
You can also use this option to create a RAID 5 LUN that includes more than six
disks.
-L cntrlrID:LUN
Create a LUN with the number specified by LUN. The LUN will be owned by the con-
troller identified by cntrlrID.
-M LUN -c cntrlrID
Change the ownership of the LUN specified by LUN to the controller specified by
cntrlrID.
-r RAIDlevel Identifies the RAID level used for the LUN. RAID levels that can be specified are 0,
1, and 5. A RAID 0/1 LUN is created by selecting RAID 1 with more than two disks.
RAID 0 is available only on firmware HP07 and later.
CAUTION: RAID 0 does not provide data redundancy. It should only be used in
situations where high performance is more important than data protection. The
failure of any disk within a RAID 0 LUN will cause the loss of all data on the LUN.
RAID 0 should only be used for non-critical data that could be lost in the event of a
hardware failure.
-R cntrlrID:LUN
Replace (unbind and rebind) the LUN with the number specified by LUN on the con-
troller identified by cntrlrID.
-s SegmentSize
Identifies the stripe segment size used for the LUN. The stripe segment size is
specified in Kbytes and must be a multiple of the current cache page size setting. For
example, if the cache page size is set to 4 Kbytes, valid settings would be 4, 8, 16, 64,
etc.
-V Verbose mode displays additional command execution, state, and/or status messages.
-? Display expanded usage message. This option overrides all others.
SECURITY CONFIGURATION
This command is modified for all security configurations.
Security Behavior/Restrictions
Use of this command is restricted to authorized users only.
Command Authorizations
This command requires the sysadmin authorization to successfully execute.
Privileges
The command has been modified to support least privilege. The potential privileges possessed by the com-
mand and their uses include:
allowdacread This privilege is raised to provide discretionary read access to the devices.
allowdacwrite This privilege is raised to provide discretionary write access to the devices.
allowmacread This privilege is raised to provide mandatory read access to the devices.
allowmacwrite This privilege is raised to provide mandatory write access to the devices.
filesysops This privilege is raised to allow the mknod(2) system call to succeed.
writeaudit The command generates its own audit records and submits these directly to the sys-
tem audit trail. This privilege is raised whenever the command needs to write an
Section 1M−−18 Hewlett-Packard Company − 2 − HP-UX 11i Version 1: September 2005