[ale] Can't write to SSD
Chris Fowler
cfowler at outpostsentinel.com
Tue Nov 22 10:34:12 EST 2016
I've ran the secure erase
https://tinyapps.org/docs/wipe_drives_hdparm.html
I've even tried to wipe it. The secure erase worked because my data is no longer there and the system now boots the USB stick I'm using without interruption.
[root at cs-loader]# tr '\000' '\377' < /dev/zero | dd bs=16384 of=/dev/sda
dd: writing '/dev/sda': No space left on device
4+978068 records in
4+978067 records out
8012390400 bytes (7.5GB) copied, 85.521886 seconds, 89.3MB/s
[root at cs-loader]# fdisk /dev/sda
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x9f92ee66.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-974, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-974, default 974):
Using default value 974
Command (m for help): p
Disk /dev/sda: 8012 MB, 8012390400 bytes
255 heads, 63 sectors/track, 974 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9f92ee66
Device Boot Start End Blocks Id System
/dev/sda1 1 974 7823623+ 83 Linux
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[root at cs-loader]# fdisk /dev/sda
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0xead885c9.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help):
It is not locked
[root at cs-loader]# busybox hdparm -I /dev/sda
.....
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
6min for SECURITY ERASE UNIT.
Checksum: correct
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20161122/95fe158b/attachment.html>
More information about the Ale
mailing list