- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to view the total size of one disk or lun
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
Discussions
Discussions
Forums
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
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
тАО05-07-2009 08:46 AM
тАО05-07-2009 08:46 AM
I am using HP-UX 11.00, 11.11.
I want to see the size of the whole disk or lun.
# ioscan is not showing this.
how to create this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 08:46 AM
тАО05-07-2009 08:46 AM
Re: how to view the total size of one disk or lun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 08:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 12:30 AM
тАО05-11-2009 12:30 AM
Re: how to view the total size of one disk or lun
diskinfo will work...
Rgds-Kranti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 12:37 AM
тАО05-11-2009 12:37 AM
Re: how to view the total size of one disk or lun
through ioscan you can get disk path info and then through diskinfo can get size info for disk.
other way is you can run sam > disk and file system > disk devices can get all info,
thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 12:53 AM
тАО05-11-2009 12:53 AM
Re: how to view the total size of one disk or lun
Best way is the "diskinfo" command as mentioned above.
Another way is the "pvdisplay" as below:
# pvdisplay /dev/dsk/c0t1d0
--- Physical volumes ---
PV Name /dev/dsk/c0t1d0
VG Name /dev/vg01
PV Status available
Allocatable yes
VGDA 2
Cur LV 1
PE Size (Mbytes) 4 <----
Total PE 4340 <----
Free PE 4336
Allocated PE 4
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
=========================
So, the disk size will be:
SIZE = Total PE * PE Size
= 4340 * 4 MB
= 17360 MB
=========================
Regds,
R.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 12:54 AM
тАО05-11-2009 12:54 AM
Re: how to view the total size of one disk or lun
>>I want to see the size of the whole disk or lun.
your command will be
#diskinfo /dev/rdsk/cXtXdX
For more informaton do "man diskinfo" or visit below link
http://www.docs.hp.com/en/B2355-90691/diskinfo.1M.html
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 12:57 AM
тАО05-11-2009 12:57 AM
Re: how to view the total size of one disk or lun
You can check everything from nickel output
#cd /opt/contrib/bin
#./nickel
check the nickel output.
Rgds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 01:00 AM
тАО05-11-2009 01:00 AM
Re: how to view the total size of one disk or lun
Dear Senthil
diskinfo is the command
while using diskinfo u should use raw device(r)
/dev/rdsk/c#t#d#
thanks and regards
Sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 01:03 AM
тАО05-11-2009 01:03 AM
Re: how to view the total size of one disk or lun
Other than diskinfo, you could use this also to find out the disk size.
# pvdisplay /dev/dsk/c1t2d0 |egrep "PE Size|Total PE"
PE Size (Mbytes) 8
Total PE 2170
#
PE Size * Total PE => Total disk size
Ganesh.