I am trying to write disk sectors in FreeBSD 13.3-RELEASE.
The disk is an 8TB Seagate BarraCuda 3.5 (SMR) with pending sectors:
I want to write the pending sectors:
But the sectors are non readable:
What I am missing ?
Regards.
--
Maurizio
The disk is an 8TB Seagate BarraCuda 3.5 (SMR) with pending sectors:
Code:
# smartctl -x -d sat /dev/da0 | grep -A 25 "Pending Defects log (GP Log 0x0c)"
Pending Defects log (GP Log 0x0c)
Index LBA Hours
0 11475952568 7477
1 11475952569 7477
2 11475952570 7477
3 11475952571 7477
4 11475952572 7477
5 11475952573 7477
6 11475952574 7477
7 11475952575 7477
8 11475952624 7477
9 11475952625 7477
10 11475952626 7477
11 11475952627 7477
12 11475952628 7477
13 11475952629 7477
14 11475952630 7477
15 11475952631 7477
16 11475952640 7477
17 11475952641 7477
18 11475952642 7477
19 11475952643 7477
20 11475952644 7477
21 11475952645 7477
22 11475952646 7477
23 11475952647 7477
I want to write the pending sectors:
Code:
# sysctl kern.geom.debugflags=16
kern.geom.debugflags: 0 -> 16
# time dd of=/dev/da0 if=/dev/zero bs=512 count=8 skip=11475952568
8+0 records in
8+0 records out
4096 bytes transferred in 0.004727 secs (866431 bytes/sec)
_______________________________________________________
Executed in 54.48 mins fish external
usr time 15.13 mins 1.65 millis 15.13 mins
sys time 39.35 mins 0.00 millis 39.35 mins
But the sectors are non readable:
Code:
# dd if=/dev/da0 of=/tmp/8sects.bin bs=512 count=8 skip=11475952568
dd: /dev/da0: Input/output error
0+0 records in
0+0 records out
0 bytes transferred in 0.053658 secs (0 bytes/sec)
What I am missing ?
Regards.
--
Maurizio