- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: URGENT How can I figure out EXACTLY raw disk s...
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
09-26-2001 11:13 AM
09-26-2001 11:13 AM
Any help, including just the answer, would be great. These are raw data LVs.
Thx!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 11:19 AM
09-26-2001 11:19 AM
SolutionI am sure you are not looking for the info returned by diskinfo /dev/rdsk/cxtydz.
If this disk is part of a volume group, the way to find the unused disk space is
do a pvdisplay /dev/dsk/cxtydz.
Multiply Free PE with PE Size
Multiply the result with 1024.
You will get the free size on the PV in K Bytes.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 11:21 AM
09-26-2001 11:21 AM
Re: URGENT How can I figure out EXACTLY raw disk size in KB
1K = 1024, so, 2000 MB = 2,048,000 KB
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 11:22 AM
09-26-2001 11:22 AM
Re: URGENT How can I figure out EXACTLY raw disk size in KB
For a disk use diskinfo /dev/rdsk/cXdXtX
Ovidiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 11:22 AM
09-26-2001 11:22 AM
Re: URGENT How can I figure out EXACTLY raw disk size in KB
So, in your case it would be 2000*1024=2048000 KB and this is what you get in bdf command for normal logical volumes.
I hope I understood your question.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 11:23 AM
09-26-2001 11:23 AM
Re: URGENT How can I figure out EXACTLY raw disk size in KB
Did you already try diskinfo
diskinfo /dev/rdsk/cXtYdZ
and 1MB is always 1024KB or 1024*1024 bytes
-Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 12:08 PM
09-26-2001 12:08 PM
Re: URGENT How can I figure out EXACTLY raw disk size in KB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 12:37 PM
09-26-2001 12:37 PM
Re: URGENT How can I figure out EXACTLY raw disk size in KB
The MB is our usage is 2^20 (1024 * 1024); so your value is 2000 * 1024 * 1024 = 2,097,152,000 Bytes.
You are obviously confused by the 'marketing MB' which is calculated by taking the above value and dividing by 10^6 to get 2097.152MB and obviously makes our 2.1GB drive much better than your dinky 2GB drive eventhough they are exactly the same.
Regards, Clay
In your case
2000 * 1024 * 1024