Operating System - HP-UX
1752726 Members
5514 Online
108789 Solutions
New Discussion юеВ

How to check if DISK is stripped or not

 
SOLVED
Go to solution
Sushil Singh_1
Advisor

How to check if DISK is stripped or not

Hi All,
Just wondering how can I check if the disk on HP-UX 11i is stripped or not.

Thanks
Sushil Singh
4 REPLIES 4
Jeff Schussele
Honored Contributor
Solution

Re: How to check if DISK is stripped or not

Hi Sushil,

Can't really tell at the device level, but a lvdisplay -v will show whether the LV is striped as well as what PV(s) contain it.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Brian Bergstrand
Honored Contributor

Re: How to check if DISK is stripped or not

Do an lvdisplay on one of the lvols in the vg.

Then you'll see the following two fields:

Stripes 0
Stripe Size (Kbytes) 0

If you add a -v arg, it should show you how the extents are distributed across the striped disks.

HTH.
Sundar_7
Honored Contributor

Re: How to check if DISK is stripped or not

Sushil,

You have to check the individual logical volumes..

# lvdisplay -v /dev/vg??/lvol??

Check the columns - Strips, Stripesize & Allocation.

Thanks,

Sundar.
Learn What to do ,How to do and more importantly When to do ?
Alzhy
Honored Contributor

Re: How to check if DISK is stripped or not

If you meant by "disk" is the volume (or LVOL) underneath your filesystems -- then yes displaying the properties of the LVOL if using LVM will show you how they are built. You have not exactly told us if you are using VxVM or LVM.. If VxVM, then you could do a "vxprint -Aht" and it will be obvious -- striped volumes will have a STRIPE column output.
.
If you want to know how the "disks" -- assuming these are from an external SAN/Array - then there is NO way to tell whether these are 'striped' LUNS on the array itself... You will need to ask your array/SAN administrator... Remember, there are two RAID congigurations - one on your array/SAN hardware and on your host level.
Hakuna Matata.