Closed Af0x closed 1 year ago
I need to disable read and write caching because my SMART values get cluttered with errors corresponding to failing reads and writes (primarily the Read Error Rate
value is increasing strongly).
I/O error, dev sdc, sector xxxx op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Buffer I/O error on dev sdc1, logical block 9, async page read
I can´t issue a mkfs
command because it is failing with input/output errors
sudo mkfs.ext4 /dev/sdc1
mke2fs 1.46.5 (30-Dec-2021)
Creating filesystem with 976754176 4k blocks and 244195328 inodes
Filesystem UUID: 123456789
Superblock backups stored on blocks:
### RandomBlocks - Removed by OP###
Allocating group tables: done
Writing inode tables: done
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: mkfs.ext4: Input/output error while writing out and closing file system
Creating the partition table with GPT worked though. I was also able to disable the Write-Cache with SeaChest like so
SeaChest_Configure -d /dev/sg1 --sctWriteCache disable
But for the rest I´m pretty clueless because I thought the OS would not use READ BUFFER
READ LONG
WRITE BUFFER
or WRITE LONG
commands as they have been removed from the SED´s repertoire, see Page 10 of this source.
I solved this issue by doing an ATA Secure Erase to low level format the drive.
I have a Seagate ST4000NM0053 drive and a lot of issues making it work. I can´t create a partition with a filesystem (e.g. ext4) on it using Fedora 38. After resetting it with
sedutil-cli --yesIreallywanttoERASEALLmydatausingthePSID <PSID> /dev/sdc
it saysrevertTper completed successfully
Querying the drive afterwards gives me
I can run the initial setup like so
Interestingly it set 2 Bands that look like this
There is no length in any of these. I can erase the second band but I can´t set a length on the first one. Setting a length on the second Band is possible:
Another thing is that I can´t issue the reverttper command
and I also can´t change the SID Password or the Admin1 Password
I also can´t set any MBR related commands because it gives me for example
Lastly the drive seems to accumulate
Current Pending Sector Count
andUncorrectable Sector Count
in the SMART Data (both have the same, increasing value but there are no reallocated sectors).