cancel
Showing results for 
Search instead for 
Did you mean: 
Level 1
9 7 0 0
Message 1 of 13
208
Flag Post

HP SSD format

HP Recommended
hp ssd S700

I can't format ssd disk. In Linux I/O errors. It was a part of RAID disks. There's no HP software to check SMART. Crystal says it's ok, Linux - overheat. Surface is ok. I assume it reached the limit of endurance and went to read-only mode. I can boot SUSE on it (till errors of RAID disk lacking), 7 partitions, GPT. Is it possible, that SMART locked ssd, but it could be good enough for storing movies, etc. How to unlock, reformat?

Tags (1)
12 REPLIES 12
Level 16
Level 16
28,502 28,422 2,606 6,241
Message 2 of 13
Flag Post
HP Recommended

@Aksar 

How old is the SSD? Asking because I have SSDs that are YEARS old and still working fine.

 

You need to use the manufacturer's utilities to check the health of the drive and those run only in Windows.

 

We don't provide Linux support here, so if that is your intent, you would have to track down support from the Linux distro support forums.

***If my post helped, click the White thumbs-up symbol to say thanks***

***Please mark Accept As Solution if my post solved your problem***

I am a volunteer and I do not work for, nor represent, HP
Reply
0 Kudos
Author
Level 1
9 7 0 0
Message 3 of 13
Flag Post
HP Recommended

Thank you for replay. It's 2018, as I mentioned it's HP SSD and HP doesn't have hdd utilities as other manufacturers. It's from server, so I think you can't compare with you disk lifetime. I have no difference - Windows or Linux. This disk has no  important data. I can do anything with it. I'm thinking about rewriting SMART through serial adapter.  I'm doing this to satisfy my curiosity. So, is the way to make sure this disk is out of order?

Reply
0 Kudos
Level 17
Level 17
43,980 43,766 7,020 12,377
Message 4 of 13
Flag Post
HP Recommended

Exactly how are you trying to work with the disk in Linux? hdparm will allow you to "unfreeze" the disk

 

https://askubuntu.com/questions/253096/low-level-format-of-hard-drive

 

gparted also is a very powerful partition editor. You want to run the commands as a root user. You could also remove the disk and attach it to a Windows machine and do a clean all on the disk from the diskpart command, again as an administrative user.


Reply
0 Kudos
Level 16
Level 16
28,502 28,422 2,606 6,241
Message 5 of 13
Flag Post
HP Recommended

@Aksar 

I haven't tried these myself, so I could easily be wrong, but I don't think the standard Linux hard drive utilities will work on SSDs.

 

You need to do searches for Linux SSD utilities -- which is why I suggested contacting Linux support forums instead of posting here.

***If my post helped, click the White thumbs-up symbol to say thanks***

***Please mark Accept As Solution if my post solved your problem***

I am a volunteer and I do not work for, nor represent, HP
Reply
0 Kudos
Level 17
Level 17
43,980 43,766 7,020 12,377
Message 6 of 13
Flag Post
HP Recommended

The Linux disk utilities work fine on SSDs for manipulating partitions. If you want to get detailed info on the times the SSD has been written to, etc. use a utility called smartcl

 

https://www.techrepublic.com/article/how-to-check-ssd-health-in-linux/


Reply
0 Kudos
Author
Level 1
9 7 0 0
Message 7 of 13
Flag Post
HP Recommended

Thank you for reply. Screenshot from 2020-12-28 08-53-50.pngScreenshot from 2020-12-28 08-32-19.png

root@mint:~# fdisk -l
Disk /dev/loop0: 1.75 GiB, 1863593984 bytes, 3639832 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: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: HP SSD S700 500G
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 2659A1E0-AEEF-B549-9AB7-52D6A852594C

Device Start End Sectors Size Type
/dev/sda1 2048 2099199 2097152 1G BIOS boot
/dev/sda2 2099200 106956799 104857600 50G Linux RAID
/dev/sda3 106956800 211814399 104857600 50G Linux RAID
/dev/sda4 211814400 316671999 104857600 50G Linux RAID
/dev/sda5 316672000 421529599 104857600 50G Linux RAID
/dev/sda6 421529600 442501119 20971520 10G Linux RAID
/dev/sda7 442501120 966789119 524288000 250G Linux RAID

 

root@mint:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 1.8G 1 loop /rofs
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 1G 0 part
├─sda2 8:2 0 50G 0 part
├─sda3 8:3 0 50G 0 part
├─sda4 8:4 0 50G 0 part
├─sda5 8:5 0 50G 0 part
├─sda6 8:6 0 10G 0 part
└─sda7 8:7 0 250G 0 part
sdb 8:16 1 58.6G 0 disk
├─sdb1 8:17 1 5G 0 part /cdrom
└─sdb2 8:18 1 53.6G 0 part /media/mint/0AB0-0F56

 

root@mint:~# hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
Model Number: HP SSD S700 500GB
Serial Number: HBSA39375700334
Firmware Revision: S0704A1
Media Serial Num:
Media Manufacturer:
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Used: unknown (minor revision code 0x0110)
Supported: 9 8 7 6 5
Likely used: 9
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 976773168
Logical Sector size: 512 bytes
Physical Sector size: 4096 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 476940 MBytes
device size with M = 1000*1000: 500107 MBytes (500 GB)
cache/buffer size = unknown
Form Factor: 2.5 inch
Nominal Media Rotation Rate: Solid State Device
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 1 Current = 1
Advanced power management level: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* DOWNLOAD_MICROCODE
* Advanced Power Management feature set
SET_MAX security extension
* 48-bit Address feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* WRITE_{DMA|MULTIPLE}_FUA_EXT
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
* Native Command Queueing (NCQ)
* Phy event counters
* READ_LOG_DMA_EXT equivalent to READ_LOG_EXT
* DMA Setup Auto-Activate optimization
* Software settings preservation
* SANITIZE feature set
* BLOCK_ERASE_EXT command
* DOWNLOAD MICROCODE DMA command
* WRITE BUFFER DMA command
* READ BUFFER DMA command
* Data Set Management TRIM supported (limit 8 blocks)
* Deterministic read ZEROs after TRIM
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
supported: enhanced erase
2min for SECURITY ERASE UNIT. 2min for ENHANCED SECURITY ERASE UNIT.
Checksum: correct
root@mint:~# echo -n mem > /sys/power/state
root@mint:~# hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
Model Number: HP SSD S700 500GB
Serial Number: HBSA39375700334
Firmware Revision: S0704A1
Media Serial Num:
Media Manufacturer:
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Used: unknown (minor revision code 0x0110)
Supported: 9 8 7 6 5
Likely used: 9
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 976773168
Logical Sector size: 512 bytes
Physical Sector size: 4096 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 476940 MBytes
device size with M = 1000*1000: 500107 MBytes (500 GB)
cache/buffer size = unknown
Form Factor: 2.5 inch
Nominal Media Rotation Rate: Solid State Device
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 1 Current = 1
Advanced power management level: 128
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* DOWNLOAD_MICROCODE
* Advanced Power Management feature set
SET_MAX security extension
* 48-bit Address feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* WRITE_{DMA|MULTIPLE}_FUA_EXT
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
* Native Command Queueing (NCQ)
* Phy event counters
* READ_LOG_DMA_EXT equivalent to READ_LOG_EXT
* DMA Setup Auto-Activate optimization
* Software settings preservation
* SANITIZE feature set
* BLOCK_ERASE_EXT command
* DOWNLOAD MICROCODE DMA command
* WRITE BUFFER DMA command
* READ BUFFER DMA command
* Data Set Management TRIM supported (limit 8 blocks)
* Deterministic read ZEROs after TRIM
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
supported: enhanced erase
2min for SECURITY ERASE UNIT. 2min for ENHANCED SECURITY ERASE UNIT.
Checksum: correct

Errors for all partitions, disk not mounted

GParted io error.pngGParted io error2.pngScreenshot from 2020-12-28 08-31-24.png

After all ignores need power cycle

 

Reply
0 Kudos
Author
Level 1
9 7 0 0
Message 8 of 13
Flag Post
HP Recommended

After reboot nothing has changed, same 7 partitions, disk frozen.

 

root@mint:~# hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
Model Number: HP SSD S700 500GB
Serial Number: HBSA39375700334
Firmware Revision: S0704A1
Media Serial Num:
Media Manufacturer:
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Used: unknown (minor revision code 0x0110)
Supported: 9 8 7 6 5
Likely used: 9
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 976773168
Logical Sector size: 512 bytes
Physical Sector size: 4096 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 476940 MBytes
device size with M = 1000*1000: 500107 MBytes (500 GB)
cache/buffer size = unknown
Form Factor: 2.5 inch
Nominal Media Rotation Rate: Solid State Device
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 1 Current = 1
Advanced power management level: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* DOWNLOAD_MICROCODE
* Advanced Power Management feature set
SET_MAX security extension
* 48-bit Address feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* WRITE_{DMA|MULTIPLE}_FUA_EXT
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
* Native Command Queueing (NCQ)
* Phy event counters
* READ_LOG_DMA_EXT equivalent to READ_LOG_EXT
* DMA Setup Auto-Activate optimization
* Software settings preservation
* SANITIZE feature set
* BLOCK_ERASE_EXT command
* DOWNLOAD MICROCODE DMA command
* WRITE BUFFER DMA command
* READ BUFFER DMA command
* Data Set Management TRIM supported (limit 8 blocks)
* Deterministic read ZEROs after TRIM
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
supported: enhanced erase
2min for SECURITY ERASE UNIT. 2min for ENHANCED SECURITY ERASE UNIT.
Checksum: correct

root@mint:~# dd if=/dev/sda bs=1M count=5
�c������t��pt���y|1��؎м ��d|<�t��R��}��|�A��U�ZRr=��U�u7��t21��D@�D��D�f�\|f�f�`|f�\
...

5+0 records out
5242880 bytes (5.2 MB, 5.0 MiB) copied, 0.282312 s, 18.6 MB/s

 

Nothing has changed

root@mint:~# shred -vfz -n 10 /dev/sda
shred: /dev/sda: pass 1/11 (random)...
shred: /dev/sda: error writing at offset 46333952: Input/output error
shred: /dev/sda: error writing at offset 46334464: Input/output error
shred: /dev/sda: error writing at offset 46334976: Input/output error

...

all offsets errors

Need power cycle

Reply
0 Kudos
Author
Level 1
9 7 0 0
Message 9 of 13
Flag Post
HP Recommended

After reboot the disk is frozen, nothing has changed.

Unfrozing the disk.

 

root@mint:~# wipefs -a /dev/sda
/dev/sda: 8 bytes were erased at offset 0x00000200 (gpt): 45 46 49 20 50 41 52 54
/dev/sda: calling ioctl to re-read partition table: Success

 

Need power cycle

 

Reply
0 Kudos
Level 17
Level 17
43,980 43,766 7,020 12,377
Message 10 of 13
Flag Post
HP Recommended

These are not positive results. I would say the disk is corrupted


Reply
0 Kudos
Warning Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation