Solved

How big is this drive

Posted on 2007-12-05
3
174 Views
Last Modified: 2013-12-27
When I issue this Solaris command I get the following. How to I convert this information to size in Gigs?

#  prtvtoc /dev/rdsk/c1t5d0s2
* /dev/rdsk/c1t5d0s2 partition map
*
* Dimensions:
*     512 bytes/sector
*      64 sectors/track
*      64 tracks/cylinder
*    4096 sectors/cylinder
*    8617 cylinders
*    8615 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
* Unallocated space:
*       First     Sector    Last
*       Sector     Count    Sector
*        4096      4096      8191
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       2      5    01          0  35287040  35287039
       3     15    01          0      4096      4095
       4     14    01       8192  35278848  35287039
#
0
Comment
Question by:jjc_mn
3 Comments
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
Comment Utility
The disk size is

35287040 sectors (512 bytes)
17643520 KB
17230 MB
16.826 GB
0
 

Author Closing Comment

by:jjc_mn
Comment Utility
35287040 X (512 bytes) = 18066964480
18066964480 / 1024      = 17643520 KB
17643520      / 1024       = 17230 MB
17230            / 1024       = 16.826 GB


Thanks!
0
 
LVL 48

Expert Comment

by:Tintin
Comment Utility
You'll find it easier to view the disk size by running the format command.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

5 Experts available now in Live!

Get 1:1 Help Now