1832494 Members
6410 Online
110043 Solutions
New Discussion

DISK DRIVE DETAILS

 
Sumeshks
Occasional Advisor

DISK DRIVE DETAILS

Hi all,
Can i get the commands(Intention is to gather information from commandline only-No manual searching) required for getting following informations(Disk drive details)?
1.Media type
2.Logical or Partition
3.Logical Disk pointer to physical disk
Also i can't use any commands that does not comes under minimal(default) installation.Also i should know which command is used for which information and which part of the output should be taken(as am new to hardware).It will be great if anybody is kind enough to provide these commands.
Thanks in adavance
Sumesh
2 REPLIES 2
unixguy_1
Regular Advisor

Re: DISK DRIVE DETAILS

Hi Sumeshks,

ioscan -fnC disk

Above Command will show all the disk details.

Regards,
Unixguy.

Ganesan R
Honored Contributor

Re: DISK DRIVE DETAILS

Hi,

You could elaperate your questions to provide clear informations to you..

Anyway we will provide based on what we understand.

To find the disks available to the system

#ioscan -fnC disk

To find the details of specific disk.

#diskinfo /dev/rdsk/c0t0d0
#diskinfo -v /dev/rdsk/c0t0d0

To find the details of physical volume. Physical volume is nothing but the disks configured for LVM(Logical Volume manager)

#pvdisplay -v /dev/dsk/c0t0d0

This pvdisplay command provide most of the details which you asked. Like which Volume group this disk belongs, Size in PE's, logical volumes residing on the disk, space occupied by each logical volume, PE mapping to the logical volumes, status of PE's, etc..

Note:PE is nothing but the small partitions of disks. disk's will be divided into multiple PE's to allocate to logical volumes

To know specific logical volume details

#lvdisplay -v /dev/vg00/lvol7

you can use vgdisplay command also to know about volume group details.

#vgdisplay -v vg00
Best wishes,

Ganesh.