HP-UX – Disk management

Scan system for disk:

ioscan -fnkCdisk

Get disk info:

diskinfo /dev/rdsk/c3t2d0

Show VG and linked PV:

vgdisplay -v

Show PV info:

pvdisplay -v /dev/dsk/c3t2d0

Check for disk IO error or successful read:

dd if=/dev/rdsk/c3t2d0 of=/dev/null bs=1024k

Enable VG if needed:

vgchange -a y /dev/vg00

Show mount point:

df

or

bdf

 

You are also able to manage disk using “sam”.

Advertisements

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