HP-UX - Identifying Available Disks
发表于 : 2014年 10月 10日 09:40 星期五
• Use ioscan to list disks on the system
# ioscan –funC disk
• Use bdf to determine which disks are already in use as whole disk file systems
# bdf
• Use swapinfo to determine which disks are already in use as whole disk device swap
# swapinfo –d
• Use /etc/lvmtab to determine which disks are already in VGs
# strings /etc/lvmtab
• Use vxdisk to determine which disks (if any) are managed by VxVM
# vxdisk list
• Use dd to determine the physical location of your chosen disk
# dd if=/dev/rdsk/c0t1d0 of=/dev/null bs=8192
• Use diskinfo to verify the size of your chosen disk
# diskinfo /dev/rdsk/c0t1d0
# ioscan –funC disk
• Use bdf to determine which disks are already in use as whole disk file systems
# bdf
• Use swapinfo to determine which disks are already in use as whole disk device swap
# swapinfo –d
• Use /etc/lvmtab to determine which disks are already in VGs
# strings /etc/lvmtab
• Use vxdisk to determine which disks (if any) are managed by VxVM
# vxdisk list
• Use dd to determine the physical location of your chosen disk
# dd if=/dev/rdsk/c0t1d0 of=/dev/null bs=8192
• Use diskinfo to verify the size of your chosen disk
# diskinfo /dev/rdsk/c0t1d0