C H A P T E R  5

Logical Drive, Partition, and Logical Volume Commands

This chapter provides the available CLI commands with sample code for logical drives, partitions, and logical volumes. Topics covered in this chapter include:



Note - To prevent unauthorized access to administrative functions of the RAID controller, the CLI requires superuser or system administrator privileges for in-band access, and uses the controller password to authorize users of the out-of-band interface.





Note - If no device is specified on the command line, and more than one array is connected to the host, a menu of devices is presented with one device filename for each array. If there is only one StorEdge array device connected to the host, that device is selected automatically.





Note - Logical drive indexes can change whenever a logical drive is deleted, while a logical drive identifier never changes over the life of the logical drive.




Logical Drive Commands

The following commands are explained in this section:

check parity

This command performs a parity check on qualified logical drives. A qualified logical drive must be configured as a RAID1, RAID3, or RAID5.

check parity {ld {n} | LD-ID}

TABLE 5-1 Arguments for check parity

Argument

Description

ld n

Specify the logical drive index number. For example, ld3.

LD-ID

Specify the logical drive ID. For example, 71038221.


 

To check parity and view the parity status for logical drive 0, type:

sccli> check parity ld0
sccli> show ld parity
LD      LD-ID     Status
------------------------
ld0     627D800A  2% complete

configure local-spare

This command specifies a local spare disk as a dedicated spare disk for the specified logical drive. The disk drive status is set to standby.

configure local-spare disk [ld-index | ld-id]

TABLE 5-2 Arguments for configure local-spare

Argument

Description

disk

Specify the disk to create. For example, specify the disk with target ID 1 on channel 2 as 2.1.

ld index

Specify the logical drive index number. For example, ld3.

LD-ID

Specify the logical drive ID. For example, 71038221.


 

The following example configures disk drive ID 5 on SCSI channel 2 as a local spare for the logical drive with index number 2:

# sccli c2t0d0 configure local-spare 2.5 ld2

The following example configures disk drive ID 5 on SCSI channel 2 as a local spare for the logical drive with ID 2C33AAEA:

# sccli c2t0d0 configure local-spare 2.5 2C33AAEA

create logical-drive

This command creates a logical drive with a RAID level and disk drives, and assigns the logical drive to a primary or secondary RAID controller.



caution icon

Caution - Any time logical drives are created or deleted, the numbering of logical drive indexes might change. After creating or deleting logical drives, issue a show logical-drives command to view an updated list of logical drive indexes. Or, use logical drive IDs, which do not change over the lifetime of the logical drive, rather than logical drive indexes.



create logical-drive raid-level disk-list [assigned-to] [local-spare {disk-list}] [max-disk-capacity] [size]

TABLE 5-3 Arguments for create logical-drive

Argument

Description

raid-level

Specify the RAID level to assign to the logical drive. Valid values include: raid0, raid1, raid3, raid5, raid1+, raid3+, raid5+, NRAID. The plus (+) sign includes a local spare. The local spare is randomly chosen from the disk-list. Using the plus sign is an alternative to specifying the local-spare option.

disk-list

Specify a comma-separated list of IDs to use for the RAID set and the local spare, if specified. Use the show disks free command to determine which disks are available.

assigned-to

Specify primary to map the logical drive to the primary controller (default). Specify secondary to map the logical drive to the secondary controller. Valid values include: primary or secondary.

local-spare

Specify a local spare, for example, 2.0.

max-disk-capacity nMB

Allocates only nMB of each drive, instead of the entire drive; the remaining space on the drives can be used to expand the logical drive later. The specified parameter should have a MB or GB suffix.

size nMB

An alternative to the max-disk-capacity keyword that specifies the total usable size of the resulting logical drive. The logical drive can be expanded later until it fills the capacity of all the member drives.


 

The following example creates a logical drive as RAID 1 with disks 1 through 4 on SCSI channel 2 on the primary controller. Channel 2 ID 0 is assigned as the local spare:

# sccli c2t0d0 create logical-drive raid1 2.1-4 primary local-spare 2.0

The following example creates a 10GB RAID 5 volume using six disk drives (disks with IDs 0 to 5 on channel 2), one of which is reserved as a dedicated spare for this logical drive:

# sccli c2t0d0 create logical-drive raid5 size 10gb local-spare 2.0-5

The following example creates a logical drive as RAID 1 with disks 1, 3, and 4 on SCSI channel 2 on the primary controller. Channel 2 ID 0 is assigned as the local spare, and each disk drive uses 1000MB capacity to build the RAID:

# sccli c2t0d0 create logical-drive 1 2.1,2.3,2.4 primary local-spare 2.0 max-disk-capacity 1000MB

delete logical-drives

This command deletes the specified logical drives and unmaps all partitions of the logical drive from all host channels, and disassociates all disks that are assigned to the logical drive.



caution icon

Caution - Any time logical drives are created or deleted, the numbering of logical drive indexes might change. After creating or deleting logical drives, issue a show logical-drives command to view an updated list of logical drive indexes. Or, use logical drive IDs, which do not change over the lifetime of the logical drive, rather than logical drive indexes.



delete logical-drives {ld{n} | LD-ID}



TABLE 5-4 Arguments for delete logical-drives

Argument

Description

ld n

Specify the logical drive index number. For example, ld3.

LD-ID

Specify the logical drive ID. For example, 71038221.


 

The following example deletes the logical drive with the logical drive index number 2:

# sccli c2t0d0 delete logical-drive ld2

The following example deletes the logical drive with the logical drive ID number 3C24554F:

# sccli c2t0d0 delete logical-drive 3C24554F

show disks in a logical drive

This command displays information about the disk drives in the specified logical drive. Returned values include: Channel number, SCSI ID, Size (MB), Speed, LD Index, LD ID that the disk is assigned to, Status, and Vendor.

show disks [logical-drive {LD-index | LD-ID}] 

TABLE 5-5 Arguments for show disks

Argument

Description

LD-Index

Show specific disks. The index number is generated from the CLI. Use the show logical drives command to find the number.

LD-id

Show a specific logical drive. The ID is generated from the CLI. Use the show logical drives command to find the hex-digit string.


 

Note - ld can be substituted for the keyword logical-drive.



The following example returns all logical drive disks with a logical drive index of 0:

# sccli c2t0d0 show disks ld ld0

The following example returns all logical drive disks with the logical drive ID of 3C256723:

# sccli c2t0d0 show disks logical-drive 3C256723

The following example returns all logical drive disks:

sccli> show disks
Ch  Id      Size   Speed  LD     Status   IDs
----------------------------------------------------------------------
 2   0   68.37GB   200MB  ld0    ONLINE   SEAGATE ST373307FSUN72G 0207
                                              S/N 3HZ0VHWR00007333
 2   1   68.37GB   200MB  ld0    ONLINE   SEAGATE ST373307FSUN72G 0207
                                              S/N 3HZ0VLWG00007334
 2   2   68.37GB   200MB  ld0    ONLINE   SEAGATE ST373307FSUN72G 0207
                                              S/N 3HZ0TMWH00007333
 2   3   68.37GB   200MB  GLOBAL STAND-BY SEAGATE ST373307FSUN72G 0207
                                              S/N 3HZ0VLL100007334
 2   4   68.37GB   200MB  ld0    ONLINE   SEAGATE ST373307FSUN72G 0207
                                              S/N 3HZ0VMEF00007334
 2   5   68.37GB   200MB  ld0    ONLINE   SEAGATE ST373307FSUN72G 0207
                                              S/N 3HZ0VDXZ00007333
 2   6   68.37GB   200MB  NONE   FRMT     SEAGATE ST373307FSUN72G 0207
                                              S/N 3HZ0MS6A00007326
 2   7   68.37GB   200MB  NONE   FRMT     SEAGATE ST373405FSUN72G 0638
                                              S/N 3EK1V38B00007251
 2   8   68.37GB   200MB  NONE   FRMT     SEAGATE ST373307FSUN72G 0207
                                              S/N 3HZ0VHY000007332
 2   9   68.37GB   200MB  NONE   USED     SEAGATE ST373307FSUN72G 0207
                                              S/N 3HZ0VMBJ00007334
 2  10   68.37GB   200MB  NONE   FRMT     SEAGATE ST373307FSUN72G 0207
                                              S/N 3HZ0VE7A00007332

show logical-drives

This command displays information about a specified list of logical drives.

show logical-drives [ld-list]

TABLE 5-6 Arguments for show logical-drives

Argument

Description

ld-list

Specify a list of logical drives.


 

If no options are specified, all logical drives are displayed.

The following example returns all logical drive information:

sccli> show logical-drives
LD    LD-ID         Size  Assigned    Type     Disks Spare  Failed Status
-------------------------------------------------------------------------
ld0   48CE0175   39.06GB  Primary     RAID5      5     0      0    Good
ld1   172613B6   39.06GB  Secondary   RAID5      5     0      0    Good



Note - The abbreviation ld can be substituted for the keyword logical-drive.



The following example returns all logical drives with logical drive index numbers 0 and 2. Logical drive 2 was not assigned.

sccli> show logical-drives ld0,ld2
LD    LD-ID         Size  Assigned    Type     Disks Spare  Failed Status
-------------------------------------------------------------------------
ld0   48CE0175   39.06GB  Primary     RAID5      5     0      0    Good

Returned values include: LD Index, LD ID, RAID level, Size (MB), Status, Number of disks, number of spares, and number of failed disk.

Status values include:

show logical-drives in a logical volume

This command displays information for all logical drives in a specified logical volume.

show logical-drives logical-volume {LV-Index | LV-ID}

TABLE 5-7 Arguments for show logical-drives in a logical volume

Argument

Description

LV-Index

Show specific drives in a logical volume. The index number is generated from the CLI. Use the show logical-volumes command to find the number.

LV-ID

Show specific drives in a logical volume. The ID number is generated from the CLI. Use the show logical-volumes command to find the number


 

The following example returns all logical drives with the logical volume ID of 12345678:

# sccli c2t0d0 show logical-drives logical-volume 12345678



Note - The abbreviation ld can be substituted for the keyword logical-drive. The abbreviation lv can be substituted for the keyword logical-volume.



The following example shows all logical drives in the logical volume with the ID of 0:

sccli> show ld lv lv0
LD    LD-ID         Size  Assigned    Type     Disks Spare  Failed Status
-------------------------------------------------------------------------
ld0   627D800A    2.00GB  Primary     RAID3      3     0      0    Good
ld1   29C8306F    2.00GB  Primary     RAID5      3     0      0    Good

Returned values include: LD Index, LD ID, RAID Level, Size (MB), Status, Number of Disks, Number of Spares, and Number of Failed Disks.

Status values include:

show logical-drives initializing

The show logical-drives initializing command displays the progress of the RAID controller initialization.

show logical-drives initializing

Returned values include: LD Index, LD ID, and Progress.

The following example returns the completion percentage of the RAID controller for the logical drive:

# sccli c2t0d0 show logical-drives initializing

show logical-drives parity-check

The show logical-drives parity-check command displays the status of a parity check being performed on a logical drive. Returned values include: LD Index, LD ID, and Progress.

show logical-drives parity-check 



Note - The abbreviation ld can be substituted for the keyword logical-drive.



The following example returns the percent complete for the parity check for logical drive 0:

sccli> check parity ld0
sccli> show ld parity
LD      LD-ID     Status
------------------------
ld0     627D800A  2% complete

show logical-drives rebuilding

The show logical-drives rebuilding command displays the status for all logical drives being rebuilt. Returned values include: LD Index, LD ID, and Progress.

show logical-drives rebuilding 

The following example returns the rebuilding process percent complete for the logical drive:

# sccli c2t0d0 show logical-drives rebuilding

shutdown logical-drive

This command permanently deactivates the specified logical drive so the associated physical drive can be physically removed from the array. For example, so the drives can be removed from the chassis.



Note - Other logical drives in the array are still accessible if only one logical drive is shut down.





caution icon

Caution - This command is not reversible. To access the logical drive again, the array must be rebooted.



shutdown logical-drive ld{n} | LD-ID



TABLE 5-8 Arguments for shutdown logical-drive

Argument

Description

ld n

Specify the logical drive index number. For example, ld3.

LD-ID

Specify the logical drive ID. For example, 71038221.


 

Note - The abbreviation ld can be substituted for the keyword logical-drive.



The following example shuts down the logical drive and then shows the status of that drive:

sccli> shutdown logical-drive ld3
WARNING: This is a potentially dangerous operation.
The logical drive will be placed permanently offline.
A controller reset will be required to bring it back online.
Are you sure? yes
sccli: ld3: offlined logical drive
sccli> show logical-drives
LD    LD-ID         Size  Assigned    Type     Disks Spare  Failed Status
-------------------------------------------------------------------------
ld0   0043BF50  101.01GB  Primary     RAID0      3     0      0    Good
ld1   025E42E1   33.67GB  Primary     RAID1      2     3      0    Good
ld2   05CC1F19   67.34GB  Primary     NRAID      2     0      0    Good
ld3   52AD5DEB   33.67GB  Primary     NRAID      1     0      0    ShutDown

unconfigure local-spare

The unconfigure logical-spare command removes a local spare disk as a dedicated spare disk for the specified logical drive.

unconfigure local-spare disk [ld-index | ld-id]

TABLE 5-9 Arguments for unconfigure local-spare

Argument

Description

disk

Specify the disk to create. For example, specify the disk with target ID 1 on channel 2 as 2.1.

ld-index

Specify the logical drive index number. For example, ld3.

ld-id

Specify the logical drive ID. For example, 71038221.


 

The following example unconfigures disk drive ID 5 on SCSI channel 2 as a local spare for the logical drive with index number 2:

# sccli c2t0d0 unconfigure local-spare 2.5 ld2

The following example unconfigures disk drive ID 5 on SCSI channel 2 as a local spare for the logical drive with ID 2C33AAEA:

# sccli c2t0d0 unconfigure local-spare 2.5 2C33AAEA


Partition Commands

The following commands are explained in this section:

configure partition size

This command specifies how much disk space to assign to the partition. When a logical drive or logical volume is created, it is automatically assigned to partition 0

configure partition partition size

TABLE 5-10 Arguments for configure partition size

Argument

Description

partition ID

Specify a combination of LD-ID/LV-ID and partition-number in XXXXXXXX-PP format where XXXXXXXX represents the Logical Drive/Volume ID, or a combination of LD/LV Index and partition number in ld{X}/lv{X}-PP format where LD/LV Index is the Logical Drive/Volume Index number. PP is a two-digital hexidecimal number that represents the partition number.

size

Specify the partition size in MB. For example, 4000MB.


 

Note - Changes to a partition tend to cause the next-higher-numbered partition to shrink or grow. Any change in the size of one partition causes the dimensions of the partition next to it to change as well, invalidating whatever data might be stored on both partitions. Before implementing a new partition layout, the layout is displayed and the user is warned that data in the old partitions will be lost. The user is prompted to continue.



The following example creates a partition for a logical drive with a logical drive index number of 2, partition number of 2, partition size of 4000 Mbyte, and leaves the remaining capacity for the next partition:

# sccli c2t0d0 configure partition ld2-02 4000MB

The following example creates a partition for a logical drive with a logical drive ID of 1D2F34AA, partition number of 2, partition size of 4000 Mbyte, and leaves the remaining capacity for the next partition:

# sccli c2t0d0 configure partition 1D2F34AA-02 4000MB

The following example creates a partition for a logical drive with a logical volume ID of AABBCCDD, partition number of 2, partition size of 4000 Mbyte, and leaves the remaining capacity for the next partition:

# sccli c2t0d0 configure partition AABBCCDD-02 4000MB

configure partition delete

This command deletes a specified partition.

configure partition partition delete

To delete a partition, assign a size of zero, or specify the delete keyword. For example:

# sccli device configure part ld0-0 delete

map partition

This command maps a partition to the specified host channel, target, and LUN on the specified controller.

To map a partition, use the following syntax:

map partition-id channel channel-number target SCSI-id lun lun-number 

Or, to map a partition, use the following syntax:

map partition-id channel.target.lun 



Note - In redundant controller configurations, the specified channel and target must be valid on the controller to which the specified logical drive or volume is assigned. This means you cannot assign a partition of a logical drive or logical volume to a target ID assigned to the secondary controller, and vice versa.



TABLE 5-11 Arguments for map partition

Argument

Description

partition ID

Specify a combination of LD-ID/LV-ID and partition-number in XXXXXXXX-PP format where XXXXXXXX represents the Logical Drive/Volume ID, or a combination of LD/LV Index and partition number in ld{X}/lv{X}-PP format where LD/LV Index is the Logical Drive/Volume Index number. PP is a two-digital hexidecimal number that represents the partition number. Valid partition-ids for a logical drive, for example, are 3C2B1111-01 or ld2-03. Valid partition-ids for a logical volume, for example, are 205FB9AC-01 or lv2-03.

channel ch

Specify a host channel number between 0-7.

target target

Specify a host channel SCSI target number between 0-126.

lun lun

Specify a host channel LUN number.

channel.target.lun

Specify the channel, target, and lun to map. For example, 4.1.2 represents physical channel 4, target ID 1, logical unit number 2.

primary

Maps the logical drive to the primary controller (default).

secondary

Maps the logical drive to the secondary controller.


The following example maps partition 0 of the logical drive with index number 2 to LUN 0 of SCSI channel 1 on SCSI ID 112 and 113:

# sccli c2t0d0 map ld2-00 channel 1 target 112 lun 0 

The following example maps partition 0 of the logical drive with index ID 2D1A2222 to LUN 0 of SCSI channel 1 on SCSI ID 112:

# sccli c2t0d0 map 2D1A2222-00 channel 1 target 112 lun 0 

The following example maps partition 0 of the logical volume with index number 2 to LUN 0 of SCSI channel 1 on SCSI ID 112:

# sccli c2t0d0 map lv2-00 1.112.0 

show lun-maps

This command shows all partitions mapped to specified host channel. Returned values include: Partition Number, Logical Volume or Logical Drive Index, Logical Volume or Logical Drive ID, Host Channel Number, On-Controller, and SCSI ID.

show lun-maps [channel host-channel-list]

TABLE 5-12 Arguments for show lun-maps

Argument

Description

host-channel-list

{n}[,...{m}] or a range format "{n}-{m}" or {n}[,...{p}-{m}]

a valid channel number is from 0-7 or 0-5 depending upon hardware configuration


 

The following example shows all partitions mapped to host channel 1 and 3:

sccli> show lun-maps channel 1-3
Ch Tgt LUN   ld/lv  ID-Partition  Assigned  Filter Map
--------------------------------------------------------------
 1   0   0   ld0    64D138EC-00   Primary
 3   1   0   ld1    3C67B2FD-00   Secondary

The following example shows all partitions mapped to the host channel:

sccli> show lun-maps
Ch Tgt LUN   ld/lv  ID-Partition  Assigned  Filter Map
--------------------------------------------------------------
 0  40   0   ld0    6508FFD9-00   Primary

show partitions

The show partitions command displays information about all disk partitions, or just those partitions allocated from the specified logical volumes or logical drives. Returned values include: Logical Volume or Logical Drive Index, Logical Volume or Logical Drive ID, Partition Number, Offset (MB), and Size (MB).

show partitions [{lv-index | lv-id} | {ld-index | ld-id}]

TABLE 5-13 Arguments for show partitions

Argument

Description

lv-index

Specify a comma-separated list of logical volume indexes, for example, lv0,lv1,lv2.

ld-index

Specify the logical drive index number. For example, ld3.

lv-id

Specify a logical volumes using an eight-digit hexadecimal logical volume ID, for example, 3C24554F.

ld-id

Specify the logical drive ID. For example, 71038221.


 

The following example shows the logical drive partition table for the logical drive with the ID 3C2D3322:

# sccli c2t0d0 show partitions logical-drive 3C2D3322

The following example shows the logical volume partition table for the logical volume with index number 0:

sccli> show part lv0
LD/LV    ID-Partition      Size
-------------------------------
lv0-00   02CE9894-00     4.00GB

unmap partition

This command unmaps a partition. Use one of two syntaxes depending on the target you want to unmap.

You can unmap a partition currently mapped to the specified channel.target.lun address. If a host WWPN or alias (previously defined using create host-wwn-name) is specified, the specified host LUN mapping is removed without affecting other host LUN maps on the same host LUN.

To unmap a partition using a channel, target, LUN address, use the following syntax:

unmap partition channel.target.lun [wwpn | host-wwn-name] 

You can unmap a specified partition from any LUNs to which its mapped, or if channel is specified, from LUNs on the specified channel.

To unmap a partition from a specified partition or channel, use the following syntax:

unmap partition partition [channel]

TABLE 5-14 Arguments for unmap partition

Argument

Description

partition ID

Specify a combination of LD-ID/LV-ID and partition-number in XXXXXXXX-PP format where XXXXXXXX represents the Logical Drive/Volume ID, or a combination of LD/LV Index and partition number in ld{X}/lv{X}-PP format where LD/LV Index is the Logical Drive/Volume Index number. PP is a two-digital hexidecimal number that represents the partition number. Valid partition IDs for a logical drive, for example, are 3C2B1111-01 or ld2-03. Valid partition IDs for a logical volume, for example, are 205FB9AC-01 or lv2-03.

channel ch

Specify a host channel number between 0 and 7 when unmapping a specific partition from only one channel.

target target

Specify a host channel SCSI target number between 0-126. Since a host channel can have multiple SCSI IDs, the user can map the partition to multiple SCSI IDs of a host channel. Use the SCSI-ID-list format: {p}[,...{q}[,...{n}]]

lun lun

Specify a host channel LUN number.

channel.target.lun

Specify the channel, target, and LUN to map. This must be on the same controller as the logical volume or the logical drive that you are napping. For example, 4.1.2 represents physical channel 4, target ID 1, logical unit number 2.


 

The following example unmaps the partition from host channel 1 LUN 1 on SCSI ID 112:

# sccli c2t0d0 unmap partition channel 1 target 112 lun 1

The following example unmaps the partition from host channel 1 LUN 1 on SCSI ID 114:

# sccli c2t0d0 unmap partition 1.114.1


Logical Volume Commands

The following commands are explained in this section:

create logical-volume

This command creates a logical volume from the specified logical drives on the specified controller. The logical drives used to create the logical volume must not already be mapped to any host channels. Be sure to specify the secondary keyword if the underlying logical drives are mapped to the secondary controller.



caution icon

Caution - Any time logical volumes are created or deleted, the numbering of logical volume indexes might change. After creating or deleting logical volumes, issue a show logical-volumes command to view an updated list of logical volume indexes. Or, use logical volume IDs, which do not change over the lifetime of the logical volume, rather than logical volume indexes.



create logical-volume ld-list [primary | secondary]



TABLE 5-15 Arguments for create logical-volume

Argument

Description

ld-list

A comma separated list of logical drive indexes, for example, ld0,ld1,ld2, or a list of logical drive identifiers, such as, 71038221.

primary

Maps the logical drive to the primary controller (default).

secondary

Maps the logical drive to the secondary controller.


 

The following example creates a logical volume using ld0 and ld2 and assigns it to the primary controller:

# sccli c2t0d0 create logical-volume ld0,ld2 primary

The following example creates a logical volume using IDs 2378FDED, 7887DDAB and assigns it to the secondary controller:

# sccli c2t0d0 create logical-volume 2378FDED,7887DDAB secondary

delete logical-volumes

This command deletes the specified logical volumes.



caution icon

Caution - Any time logical volumes are created or deleted, the numbering of logical volume indexes might change. After creating or deleting logical volumes, issue a show logical-volumes command to view an updated list of logical volume indexes. Or, use logical volume IDs, which do not change over the lifetime of the logical volume, rather than logical volume indexes.



delete logical-volumes {lvn | LV-ID}



TABLE 5-16 Arguments for delete logical-volumes

Argument

Description

lvn

Specify a comma-separated list of logical volume indexes, for example, lv0,lv1,lv2.

LV-ID

Specify a logical volumes using an eight-digit hexadecimal logical volume ID, for example, 3C24554F.


 

The following example deletes the logical volume with the logical volume index number 2:

# sccli c2t0d0 delete logical-volume lv2

The following example deletes the logical volume with the logical volume ID number 3C24554F:

# sccli c2t0d0 delete logical-drive 3C24554F

show logical-volumes

The show logical-volumes command displays information about all, or a specified list, of logical volumes. Returned values include: LV Index, LV ID, LD Count, LD ID list, Size (MB), and Assign to information.

show logical-volumes lv-list

TABLE 5-17 Arguments for show logical-volumes

Argument

Description

lv-list

Specify a list of logical volumes.

all

Show all logical volumes.


 

If no options are specified, all logical volumes are displayed. The following example returns all logical volume information:

sccli> show logical-volumes
LV    LV-ID         Size  Assigned    LDs
-----------------------------------------
lv0   02CE9894    4.00GB  Primary     2   ld0,ld1

The following example returns all logical volumes with logical volume index numbers 0 and 2:

# sccli c2t0d0 show logical-volumes lv0,lv2
LV    LV-ID         Size  Assigned    LDs
-----------------------------------------
lv0 02CE9894    4.00GB  Primary     2   ld0,ld1
lv2 02CE9894    4.00GB  Primary     2   ld0,ld1