Hard-disk diagnostics
I have an old SAGEM digital box, with built in pvr. Trying to see if I can copy any data from this on to my main desktop pc.
GNU / Linux has lots of tools for disks, However I am getting odd results here, according to fdisk, the device is 80gb, so here it shows 74gb, which is right if you take in to account how file systems work.
Command (m for help): p
Disk /dev/sdg: 74.53 GiB, 80026361856 bytes, 156301488 sectors
Disk model: 0BB-55JKC0
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: 0xa4a88a04
Command (m for help): q
However df seems to think the device is 1.9 gb in size.
root@Desktop:~# df -h /dev/sdg
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
root@Desktop:~# fdisk /dev/sdg
Gnomedisks, has a benchmark tool which gave me the following results, however I am not sure what all the different colours mean, I would assume the red / green are indicating read / write. I am not sure what the big green mass indicates and there doesn't appear to be any sort of key to help interpret.
Finally I tried running the disk through testdisk, which can aid in data recovery, according to that there is no partition table The screen shot below is the basic test running, but I did run a deeper test after this. Takes about an hour on my system.
Need to do more digging but the disk does seem to be in a working condition.