HP Server HDD with incorrect size information

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
Post Reply
athi
Level 5
Level 5
Posts: 576
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

HP Server HDD with incorrect size information

Post by athi » Sat Jul 13, 2019 3:37 pm

I need some help with some HP server HDD that I am trying to reclaim for use in my PC. These are 3TB HP MB3000EBKAB Proliant HDD with HPG3 firmware (manufactured by Seagate) from a decommissioned HP server that are showing up as 4GB when installed in the PC. Tried deleting/changing partition tables, getting error when trying to change firmware and just cannot change it from 4GB to 3TB as it should.

Is there a way to flash the firmware on these HDD in Mint or Windows? I am open to any suggestions.

Thank you

Edit: I was hoping some of the servers admin with HP experience might have some idea why these HDD from a retired HP server are acting this way and know how to correct the issue. These were most likely used with SAS controllers.
Last edited by athi on Sun Jul 14, 2019 9:14 am, edited 1 time in total.
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core2duo.

deepakdeshp
Level 14
Level 14
Posts: 5252
Joined: Sun Aug 09, 2015 10:00 am

Re: HP Server HDD with incorrect size information

Post by deepakdeshp » Sat Jul 13, 2019 5:15 pm

What does

Code: Select all

 sudo fdisk -l
report?
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 19.1 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

athi
Level 5
Level 5
Posts: 576
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: HP Server HDD with incorrect size information

Post by athi » Sat Jul 13, 2019 5:33 pm

deepakdeshp wrote:
Sat Jul 13, 2019 5:15 pm
What does

Code: Select all

 sudo fdisk -l
report?
Not detected in fdisk, since I cannot format (getting an error trying to format), should be sdb

Code: Select all

Disk /dev/loop0: 1.8 GiB, 1948155904 bytes, 3804992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 7E952B8A-323C-43C8-A7A6-78A7228168D9

Device       Start        End    Sectors   Size Type
/dev/sda1     2048    1023999    1021952   499M Windows recovery environment
/dev/sda2  1024000    1228799     204800   100M EFI System
/dev/sda3  1228800    1261567      32768    16M Microsoft reserved
/dev/sda4  1261568 1953523711 1952262144 930.9G Microsoft basic data




Disk /dev/sdc: 14.5 GiB, 15518924800 bytes, 30310400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x7012e9a0

Device     Boot   Start     End Sectors  Size Id Type
/dev/sdc1  *          0 3964927 3964928  1.9G  0 Empty
/dev/sdc2       3951336 3956007    4672  2.3M ef EFI (FAT-12/16/32)
Below is the screenshot of Disks output
Screenshot at 2019-07-13 21-24-27.png
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core2duo.

deepakdeshp
Level 14
Level 14
Posts: 5252
Joined: Sun Aug 09, 2015 10:00 am

Re: HP Server HDD with incorrect size information

Post by deepakdeshp » Sat Jul 13, 2019 5:38 pm

Is there any way to access firmware of the HDD , to update it,or enable some HDD parameters or run test on HDD?
What about

Code: Select all

 sudo gparted /dev/sdb
?
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 19.1 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

athi
Level 5
Level 5
Posts: 576
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: HP Server HDD with incorrect size information

Post by athi » Sat Jul 13, 2019 5:55 pm

Tried GParted and getting an error
Screenshot at 2019-07-13 21-47-38.png
Screenshot at 2019-07-13 21-47-38.png (10.35 KiB) Viewed 208 times
Tried using TestDisk to change partition table with no effect. Tried TestDisk to create partition and getting an error too. Tried using a couple of HPE firmware flash tools from both SATA and LSI SAS controller and getting errors also.
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core2duo.

deepakdeshp
Level 14
Level 14
Posts: 5252
Joined: Sun Aug 09, 2015 10:00 am

Re: HP Server HDD with incorrect size information

Post by deepakdeshp » Sun Jul 14, 2019 2:11 am

Is it SMART enabled. Install smartmontools.Then run

Code: Select all

 sudo smartctl -a /dev/sdb |grep -a error
should give the errors occurred so far for the disk.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 19.1 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

athi
Level 5
Level 5
Posts: 576
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: HP Server HDD with incorrect size information

Post by athi » Sun Jul 14, 2019 9:13 am

Cannot access SMART.

I was hoping some of the servers admin with HP experience might have some idea why these HDD from a retired HP server are acting this way and know how to correct the issue. These were most likely used with SAS controllers.
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core2duo.

User avatar
AndyMH
Level 8
Level 8
Posts: 2163
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: HP Server HDD with incorrect size information

Post by AndyMH » Sun Jul 14, 2019 10:42 am

athi,

In one of your earlier posts I see you have windows on sda, what does windows think of this drive, can it see it and what size does it think it is?

Does sudo blockdev --getsz /dev/sdb provide any sensible output. It should return the number of 512byte sectors on the drive, e.g.

Code: Select all

andy@T432 ~ $ sudo blockdev --getsz /dev/sdb
976773168
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate

athi
Level 5
Level 5
Posts: 576
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: HP Server HDD with incorrect size information

Post by athi » Sun Jul 14, 2019 11:33 am

AndyMH wrote:
Sun Jul 14, 2019 10:42 am
athi,

In one of your earlier posts I see you have windows on sda, what does windows think of this drive, can it see it and what size does it think it is?

Does sudo blockdev --getsz /dev/sdb provide any sensible output. It should return the number of 512byte sectors on the drive, e.g.

Code: Select all

andy@T432 ~ $ sudo blockdev --getsz /dev/sdb
976773168
deepakdeshp and AndyMH, thank you for the help.

These are the output from Windows diskpart from my Win10 guest PC. the 3TB HDD shows as disk 1:

Code: Select all

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          931 GB      0 B        *
  Disk 1    Online         3950 MB  3950 MB
  Disk 2    Online           14 GB    14 GB

DISKPART> select disk 1

Disk 1 is now the selected disk.

DISKPART> detail disk

ST_M13FQBL
Disk ID: 00000000
Type   : SATA
Status : Online
Path   : 2
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(1F02)#ATA(C02T00L00)
Current Read-only State : No
Read-only  : No
Boot Disk  : No
Pagefile Disk  : No
Hibernation File Disk  : No
Crashdump Disk  : No
Clustered Disk  : No

There are no volumes.
device manager properties output:

Code: Select all

Device SCSI\Disk&Ven_&Prod_ST_M13FQBL\4&4dda929&0&020000 was configured.

Driver Name: disk.inf
Class Guid: {4d36e967-e325-11ce-bfc1-08002be10318}
Driver Date: 06/21/2006
Driver Version: 10.0.17763.1
Driver Provider: Microsoft
Driver Section: disk_install.NT
Driver Rank: 0xFF0005
Matching Device Id: GenDisk
Outranked Drivers: 
Device Updated: false
Parent Device: PCI\VEN_8086&DEV_1E02&SUBSYS_B0051458&REV_04\3&11583659&0&FA
$ sudo blockdev --getsz /dev/sdb returns 8089950
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core2duo.

User avatar
AndyMH
Level 8
Level 8
Posts: 2163
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: HP Server HDD with incorrect size information

Post by AndyMH » Sun Jul 14, 2019 12:27 pm

blockdev agrees with windows, 8089950 sectors = 4044975 1K blocks = 3950.170898 MB = 4GB, but you say it is a 3TB drive? And disks thinks it is 4GB as well!

I suspect sudo parted -l (that's lowercase L) will fail as you had problems with gparted.

There is something strange with that drive, and I don't know what. :(
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate

athi
Level 5
Level 5
Posts: 576
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: HP Server HDD with incorrect size information

Post by athi » Sun Jul 14, 2019 12:58 pm

AndyMH wrote:
Sun Jul 14, 2019 12:27 pm
blockdev agrees with windows, 8089950 sectors = 4044975 1K blocks = 3950.170898 MB = 4GB, but you say it is a 3TB drive? And disks thinks it is 4GB as well!

I suspect sudo parted -l (that's lowercase L) will fail as you had problems with gparted.

There is something strange with that drive, and I don't know what. :(
Tried sudo parted -l and GParted and both just hanged.

I have 4 HDD from this server with the same issue, too much for a coincidence. Never seen anything like this before either. All I can figure is it have something to do with either the HP HDD firmware or the SAS controller some how changed and locked the HDD in this configuration. There are a lot of sysadmin on this board and was kind of hoping for somebody with HP server experience to see this and maybe explain to me why the HDD are this way. And if there is a way to reset HDD to standard operation.

Appreciate you taking time to look at this.
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core2duo.

Post Reply

Return to “Other topics”