All Distros, System/Adapters

[iprconfig 8/8] Verifying what is the RAID for your label

To display the name of your disk providing the label you used when you created the RAID, issue:

[root@jupiter1-lp1 ~]# iprconfig -c query-array-label foobar
/dev/sdb

Now you know the ‘foobar’ disk is the ‘/dev/sdb’ RAID device. (in oder to see what disks are included in this RAID, issue the show-config/show-alt-config command).

NOTE: After a reboot, the label configuration is preserved (even though the device name may change). So it is safe to use the label name on a script or automated procedure. For example, after a reboot:

[root@jupiter1-lp1 ~]# iprconfig -c query-array-label foobar
/dev/sde                <-- not /dev/sdb anymore, now */dev/sde*, but RAID disks are the same

Thank you.

[prev]

Advertisements

One thought on “[iprconfig 8/8] Verifying what is the RAID for your label

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s