1855803 Members
2552 Online
104103 Solutions
New Discussion

HDD Size Calculation

 
SOLVED
Go to solution
Din_1
Frequent Advisor

HDD Size Calculation

Hi all,

how can i view a single hdd size rather than multiplying its pe size with no of pes

any ideas
5 REPLIES 5
Sandy Chen
Honored Contributor
Solution

Re: HDD Size Calculation

hi,

# diskinfo /dev/rdsk/cXtYdZ

regards,
Sandy
I never think of the future. It comes soon enough.
vinu_2
Advisor

Re: HDD Size Calculation

Hi Dinesh,
You can use diskinfo command for getting the size of the HDD. Along with HDD size you will get the HDD make, model number etc.

diskinfo


Example:
diskinfo -v /dev/rdsk/c2t2d0

SCSI describe of /dev/rdsk/c2t2d0:
vendor: HP 36.4G
product id: ST336753LC
type: direct access
size: 35566480 Kbytes
bytes per sector: 512
rev level: HPC3
blocks per disk: 71132960
ISO version: 0
ECMA version: 0
ANSI version: 3
removable media: no
response format: 2
(Additional inquiry bytes: (32)48 (33)58 (34)30 (35)51 (36)31 (37)35 (38)50 (39)20 (40)20 (41)20 (42)20 (43)53 (44)45 (45)41 (46)47 (47)41 (48)54 (49)45 (50)20 (51)f (52)0 (53)0 (54)0 (55)0 (56)0 (57)0 (58)0 (59)0 (60)0 (61)0 (62)0 (63)0 (64)0 (65)0 (66)0 (67)0 (68)0 (69)0 (70)0 (71)0 (72)0 (73)0 (74)0 (75)0 (76)0 (77)0 (78)0 (79)0 (80)0 (81)0 (82)0 (83)0 (84)0 (85)0 (86)0 (87)0 (88)0 (89)0 (90)0 (91)0 (92)43 (93)6f (94)70 (95)79 (96)72 (97)69 (98)67 (99)68 (100)74 (101)20 (102)28 (103)63 (104)29 (105)20 (106)32 (107)30 (108)30 (109)32 (110)20 (111)53 (112)65 (113)61 (114)67 (115)61 (116)74 (117)65 (118)20 (119)41 (120)6c (121)6c (122)20 (123)4 (124)3d (125)67 (126)20 (127)0 (128)0 (129)2 (130)0 (131)77 (132)fd (133)e0 (134)38 (135)77 (136)ff (137)4 (138)54 )



Thanks and regards,

Vinu
Think before whatever you are doing
Din_1
Frequent Advisor

Re: HDD Size Calculation

Sandy , Vinu

Thank you to your feedbacks

Its worked
Din_1
Frequent Advisor

Re: HDD Size Calculation

Thanks
dipesh_2
Regular Advisor

Re: HDD Size Calculation

Hi Dinesh,
You can use diskinfo command for getting the size of the HDD.
diskinfo


Example:
diskinfo -v /dev/rdsk/cxtxdx

SCSI describe of /dev/rdsk/c2t2d0:
vendor: HP 36.4G
product id: ST336753LC
type: direct access
size: 35566480 Kbytes (size/1024/1024)
bytes per sector: 512