Dear All,
How can I see the total disk size of my hard disk?
I have used the following command:
# fdisk -l | grep Disk Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors Disk identifier: 0x0003dd50 Disk /dev/mapper/fedora_new--host--5-swap: 6274 MB, 6274678784 bytes, 12255232 sectors Disk /dev/mapper/fedora_new--host--5-root: 53.7 GB, 53687091200 bytes, 104857600 sectors Disk /dev/mapper/fedora_new--host--5-home: 939.7 GB, 939712839680 bytes, 1835376640 sectors #
Should I conclude that the size of my hard disk is 1 TB?
Thanks in advance,
Paul
On Sat, Jun 22, 2013 at 11:54 AM, Paul Smith phhs80@gmail.com wrote:
How can I see the total disk size of my hard disk?
I have used the following command:
# fdisk -l | grep Disk Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors Disk identifier: 0x0003dd50 Disk /dev/mapper/fedora_new--host--5-swap: 6274 MB, 6274678784 bytes, 12255232 sectors Disk /dev/mapper/fedora_new--host--5-root: 53.7 GB, 53687091200 bytes, 104857600 sectors Disk /dev/mapper/fedora_new--host--5-home: 939.7 GB, 939712839680 bytes, 1835376640 sectors #
Should I conclude that the size of my hard disk is 1 TB?
And moreover, I would like to know the full specifications of my hard disk. How can one accomplish that?
Paul
Am 22.06.2013 12:55, schrieb Paul Smith:
Should I conclude that the size of my hard disk is 1 TB?
And moreover, I would like to know the full specifications of my hard disk. How can one accomplish that?
[root@srv-rhsoft:/lib/modules]$ smartctl --info --health --attributes /dev/sda smartctl 6.1 2013-03-16 r3800 [x86_64-linux-3.9.7-200.fc18.x86_64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION === Model Family: Seagate Constellation ES (SATA 6Gb/s) Device Model: ST2000NM0011 Serial Number: Z1P099YL LU WWN Device Id: 5 000c50 035f56f7c Firmware Version: SN02 User Capacity: 2.000.398.934.016 bytes [2,00 TB] Sector Size: 512 bytes logical/physical Rotation Rate: 7202 rpm Device is: In smartctl database [for details use: -P show] ATA Version is: ATA8-ACS T13/1699-D revision 4 SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Sat Jun 22 12:58:12 2013 CEST SMART support is: Available - device has SMART capability. SMART support is: Enabled
=== START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED
SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 080 063 044 Pre-fail Always - 102299621 3 Spin_Up_Time 0x0003 092 091 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 55 5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 8 7 Seek_Error_Rate 0x000f 085 060 030 Pre-fail Always - 368697483 9 Power_On_Hours 0x0032 083 083 000 Old_age Always - 14963 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 55 184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 188 Command_Timeout 0x0032 100 100 000 Old_age Always - 0 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 058 047 045 Old_age Always - 42 (Min/Max 35/44) 191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 30 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 28 193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 55 194 Temperature_Celsius 0x0022 042 053 000 Old_age Always - 42 (0 21 0 0 0) 195 Hardware_ECC_Recovered 0x001a 116 099 000 Old_age Always - 102299621 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
On Sat, Jun 22, 2013 at 11:58 AM, Reindl Harald h.reindl@thelounge.net wrote:
Should I conclude that the size of my hard disk is 1 TB?
And moreover, I would like to know the full specifications of my hard disk. How can one accomplish that?
[root@srv-rhsoft:/lib/modules]$ smartctl --info --health --attributes /dev/sda
Thanks a lot, Reindl! I was pretty convinced that my disk was of 1,5 TB...
Paul
On 06/22/13 19:01, Paul Smith wrote:
On Sat, Jun 22, 2013 at 11:58 AM, Reindl Harald h.reindl@thelounge.net wrote:
Should I conclude that the size of my hard disk is 1 TB?
And moreover, I would like to know the full specifications of my hard disk. How can one accomplish that?
[root@srv-rhsoft:/lib/modules]$ smartctl --info --health --attributes /dev/sda
Thanks a lot, Reindl! I was pretty convinced that my disk was of 1,5 TB...
Of course that doesn't tell you the "full specifications". To do that you'll need to do a bit of manually labor by googling the Device Model. Otherwise there isn't a way to know the RPM, cache size, environmental constraints, power consumption, etc. To me, that would mean "full specifications" :-)
On Sat, 22 Jun 2013 11:54:08 +0100 Paul Smith phhs80@gmail.com wrote:
Dear All,
How can I see the total disk size of my hard disk?
if you want a gui tool: yum install lshw-gui then look for hardware-lister.
here's a c&p from mine before clicking sub-menus. product: Hitachi HDS72161 vendor: Hitachi bus info: scsi@0:0.0.0 logical name: /dev/sda version: P22O serial: PVE331ZFRE9X0U size: 149GiB (160GB) capabilities: GUID Partition Table version 1.00, Partitioned disk, GUID partition table configuration: ansiversion: 5 guid: 69de2351-2e5f-4bab-b179-2fb997e1c70e sectorsize: 512
On 06/22/2013 02:05 PM, Heinz Diehl wrote:
On 22.06.2013, Paul Smith wrote:
How can I see the total disk size of my hard disk?
hdparm -I /dev/sda
Or
cfdisk /dev/sda