- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: How to get disksize?
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
тАО01-26-2005 09:57 AM
тАО01-26-2005 09:57 AM
How to get disksize?
I want to know who can see the size disks there are installed in my Tru64 box.
Thank you !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2005 04:32 PM
тАО01-26-2005 04:32 PM
Re: How to get disksize?
"sysconfig" can give you the entire system information. another way is by using "diskconfig",Looking into each disk will show you the disk size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2005 05:47 PM
тАО01-26-2005 05:47 PM
Re: How to get disksize?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2005 07:33 PM
тАО01-26-2005 07:33 PM
Re: How to get disksize?
Then, by using "disklabel -r dsk(the-disk-device-number-from-above-command) will show you the size of the disks as well as the partitions. (i.e. "disklabel -r dsk5")
/JB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2005 07:58 PM
тАО01-26-2005 07:58 PM
Re: How to get disksize?
If you need the hardware (disktype etc.)information etc. use the other commands given in previous postings. Btw. if a san or disk array is used the information must be got on the storage controller itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2005 09:34 PM
тАО01-26-2005 09:34 PM
Re: How to get disksize?
If the disk is already partioned with disklabel, then try:
disklabel dsk99 | grep " c:" | awk 'print $2/2048}'
It gives you the size in megabytes.
If the disk is not yet partitioned, then use:
hwmgr get attrib -id 123 | grep capacity | awk '{print $3/2048}'
__ Johan ;-)
_JB_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2005 10:20 PM
тАО01-26-2005 10:20 PM
Re: How to get disksize?
Therefore I suggest to use the 2nd command suggested by Johan.
If you are really desparate to get the latest information from the storage device, then you can use the "show capacity" command in "scu". This will query the device.