- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- output of storage subsystem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 04:21 AM
01-26-2005 04:21 AM
I am looking for a script that maps the volume groups, logical volumes, physical volumes, sizes and raid information.
Appreciate a response.
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 04:56 AM
01-26-2005 04:56 AM
Re: output of storage subsystem
"Mirrored disk information requires the installation of the optional HP
MirrorDisk/UX software, which is not included in the standard HP-UX
operating system."
Is there any other way to find out if volume group has mirrored disks besides using sam?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 05:00 AM
01-26-2005 05:00 AM
Solution# lvdisplay -v /dev/vg00/lvol1
Look for "Mirror Copies" and that will tell you if you have mirroring on that logical volume and how many. If it's 0, then that LV is not mirrored.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 05:06 AM
01-26-2005 05:06 AM
Re: output of storage subsystem
# /opt/ignite/bin/print_manifest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 07:54 AM
01-26-2005 07:54 AM
Re: output of storage subsystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 11:46 AM
01-26-2005 11:46 AM
Re: output of storage subsystem
I like it ...
#!/usr/bin/ksh
#
# @(#) vginfo - snsap shot info of all disks configured under LVM.
#By Rajesh G
#Version 1.2
#Addition in V 1.2 is checking /etc/fstab with lv info for mismatch.
#this script will display a warning if any lvol is not present in /etcfstab
#main
for VGNAME in `strings /etc/lvmtab |grep vg`
do
echo " \n\n Volume Group Name $VGNAME"
PESIZE=`vgdisplay $VGNAME|grep "PE Size"|awk '{print $4}'`
PE=`vgdisplay $VGNAME|grep "Total PE"|awk '{print $3}'`
let TOT_SIZE=PESIZE*PE/1024
echo "Total size is: $TOT_SIZE GB"
for DISK in `vgdisplay -v $VGNAME|grep "PV Name"|awk '{print $3}'`
do
HW_PATH=`lssf $DISK| awk '{print $15}'`
RDSK=/dev/rdsk/`echo $DISK| cut -d "/" -f 4`
DSKSIZE=`diskinfo $RDSK|grep size|awk '{printf "%.2f", $2/1048576}'`
echo " Disk device: $DISK H/W Path: $HW_PATH Size: $DSKSIZE GB"
done
for LVNAME in `vgdisplay -v $VGNAME |grep "LV Name"|awk '{print $3}'`
do
LVSIZE=`lvdisplay $LVNAME|grep "LV Size"|awk '{print $4}'`
MNTPNT=`grep $LVNAME /etc/fstab|awk '{print $2}'`
FSTYPE=`grep $LVNAME /etc/fstab|awk '{print $3}'`
echo " LV Name\t $LVNAME"
if ( grep $LVNAME /etc/fstab )
then
echo " Mount point : $MNTPNT Size : $LVSIZE MB FSType $FSTYPE"
else
echo " Size : $LVSIZE MB "
echo " WARNING LV name $LVNAME not found in /etc/fstab"
fi
done
done