MultiDrive – free backup, clone & wipe disk utility from Atola Technology

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 66 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Another useless data recovery toy?
PostPosted: January 9th, 2025, 8:37 
Offline
User avatar

Joined: September 11th, 2024, 10:21
Posts: 64
Location: Russia
The work continues.

Device ID received. Data transfer (read and write), recalibrate, sleep - everything is working well. The last things are left - software and hardware reset. My test disk drive especially has few UNC sectors for testing that.

I think it makes no sense to implement SMART, there are a lot utilities for this.

Attachment:
2025-01-09 22-25-18.png
2025-01-09 22-25-18.png [ 45.8 KiB | Viewed 43273 times ]


Top
 Profile  
 
 Post subject: Re: Another useless data recovery toy?
PostPosted: January 9th, 2025, 8:43 
Offline

Joined: November 7th, 2020, 5:31
Posts: 1303
Location: United Kingdom
aekhv wrote:
I think it makes no sense to implement SMART, there are a lot utilities for this.
It's better to have it all in one place though, especially if the eventual goal is for a stand alone imager rather than just an interface for other tools.

_________________
Data Recovery Services in the UK.
https://www.usbrecovery.co.uk/


Top
 Profile  
 
 Post subject: Re: Another useless data recovery toy?
PostPosted: January 15th, 2025, 5:49 
Offline
User avatar

Joined: September 11th, 2024, 10:21
Posts: 64
Location: Russia
Guys, please point me where to find an actual SMART attributes description. I found the manual from Seagate (Seagate SMART Attribute Specification, March 10, 2011), according to it SMART structure version number must be 0x000A, but my test drive send me 0x0010.

Attachment:
2025-01-15 19-42-50.png
2025-01-15 19-42-50.png [ 187.68 KiB | Viewed 42949 times ]


Top
 Profile  
 
 Post subject: Re: Another useless data recovery toy?
PostPosted: January 15th, 2025, 15:18 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 17091
Location: Australia
Are you looking at the ATA command spec?

https://people.freebsd.org/~imp/asiabsdcon2015/works/d2161r5-ATAATAPI_Command_Set_-_3.pdf (page 285)

There are later versions, but the SMART information would be the same.

This is the NVMe spec:

https://nvmexpress.org/wp-content/uploads/NVM-Express-1_4-2019.06.10-Ratified.pdf

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Another useless data recovery toy?
PostPosted: January 15th, 2025, 21:23 
Offline
User avatar

Joined: September 11th, 2024, 10:21
Posts: 64
Location: Russia
fzabkar wrote:
Are you looking at the ATA command spec?

Nope, you din't understood. I have these docs already. Take a look on page 262 of ATA/ATAPI Command Set 3:
Attachment:
2025-01-16_11-15-10.png
2025-01-16_11-15-10.png [ 22.2 KiB | Viewed 42826 times ]

Bytes 0...361 are vendor specific, and these bytes are actually contain SMART atrributes. I need an actual SMART attributes description/specification. The Seagate manual that I have seems to be too old.


Top
 Profile  
 
 Post subject: Re: Another useless data recovery toy?
PostPosted: January 15th, 2025, 21:46 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 17091
Location: Australia
It appears that you already have this document:

https://t1.daumcdn.net/brunch/service/user/axm/file/zRYOdwPu3OMoKYmBOby1fEEQEbU.pdf

If you are asking for the definition of attribute #n, then there is no standard. Every vendor does it differently, and there is no consistency even between their own models. That why smartmontools has a large database. As for 0x10 versus 0x0A, I seem to recall that WD drives also report a version number of 0x10.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Another useless data recovery toy?
PostPosted: January 15th, 2025, 22:01 
Offline

Joined: January 29th, 2012, 1:43
Posts: 991
Location: United States
I went through this and it seems I only saved one link. I think it is what I used for HDDSuperClone. I remember searching and searching, but I don't remember if I found anything more useful.

https://www.data-medics.com/forum/threa ... ific.1476/

_________________
http://www.hddsuperclone.com
Home of HDDSuperClone


Top
 Profile  
 
 Post subject: Re: Another useless data recovery toy?
PostPosted: January 15th, 2025, 22:37 
Offline
User avatar

Joined: September 11th, 2024, 10:21
Posts: 64
Location: Russia
fzabkar wrote:
As for 0x10 versus 0x0A, I seem to recall that WD drives also report a version number of 0x10.

Yeah, I think the same, it's WD specific.

maximus wrote:
I went through this and it seems I only saved one link. I think it is what I used for HDDSuperClone. I remember searching and searching, but I don't remember if I found anything more useful.

Very useful, thanks. But no info about structure: length (byte, word, dword etc) and signed/unsigned. That's what I want to know.


Top
 Profile  
 
 Post subject: Re: Another useless data recovery toy?
PostPosted: January 15th, 2025, 23:04 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 17091
Location: Australia
aekhv wrote:
But no info about structure: length (byte, word, dword etc) and signed/unsigned. That's what I want to know.

You are asking an impossible question. There is no standard for these attributes. Every model is potentially different.

All you can do is to report the 56-bit raw value in hexadecimal format, just as CrystalDiskInfo does. The user should be left to make the appropriate interpretations because it is inevitable that yours will sometimes be wrong.

Why do SMART tools report attributes differently?

https://www.hddoracle.com/viewtopic.php?p=22249#p22249

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Another useless data recovery toy?
PostPosted: January 15th, 2025, 23:23 
Offline

Joined: January 29th, 2012, 1:43
Posts: 991
Location: United States
Quote:
Very useful, thanks. But no info about structure: length (byte, word, dword etc) and signed/unsigned. That's what I want to know.

My best answer would be to always provide the raw data (raw value) so the end user could try to figure it out. The values are often vendor specific and subject to their interpretation.

_________________
http://www.hddsuperclone.com
Home of HDDSuperClone


Top
 Profile  
 
 Post subject: Re: Another useless data recovery toy?
PostPosted: January 16th, 2025, 0:24 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 17091
Location: Australia
This is just one case (Toshiba MQ01ACF050) which demonstrates why one cannot rely on interpretations of SMART reports by any SMART tool:

https://forums.tomshardware.com/threads/toshiba-mq01acf050-has-high-udma-error-count-c7-and-high-write-error-rate-c8.3823356/#post-23119437

In this case UDMA_CRC_Error_Count is actually a Seek Error Rate attribute, and Multi_Zone_Error_Rate appears to be counting the number of times that the drive switches between serpentine zones. But the user and I did not have the benefit of any documentation. Instead, we worked this out by experimenting.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Another useless data recovery toy?
PostPosted: January 16th, 2025, 7:28 
Offline
User avatar

Joined: September 11th, 2024, 10:21
Posts: 64
Location: Russia
Hooray! S.M.A.R.T. status is implemented. Attributes values are the same as in CrystalDiskInfo.
Attachment:
2025-01-16 21-21-17.png
2025-01-16 21-21-17.png [ 202.72 KiB | Viewed 42673 times ]


From this moment MiniAHCI kernel module and QMiniAHCIDevice library are completed. Both placed to my GitHub: https://github.com/aekhv


Top
 Profile  
 
 Post subject: Re: Another useless data recovery toy?
PostPosted: January 16th, 2025, 8:47 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 17091
Location: Australia
I would report big-endian raw values rather than little-endian. Little-endian would confuse people.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Another useless data recovery toy?
PostPosted: January 16th, 2025, 9:27 
Offline

Joined: October 3rd, 2005, 0:40
Posts: 4779
Location: Hungary
in this form, eg raw bytes, i think this order is better. Few systems use BE natively, for those who are consumers of such info it is trivial it is LE.
i also hate when some prog is written to group like 2 or 4 bytes together and it is just the same order as they were, ie LE but looks like a 16 or 32bit number. That's what i would call confusing.
I would omit the colons tho, the numbers look like MAC addresses :D (yeah, those are 6 bytes only)

_________________
Adatmentés - Data recovery


Top
 Profile  
 
 Post subject: Re: Another useless data recovery toy?
PostPosted: January 16th, 2025, 14:22 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 17091
Location: Australia
pepe wrote:
in this form, eg raw bytes, i think this order is better. Few systems use BE natively, for those who are consumers of such info it is trivial it is LE.

Ordinary people "consume" SMART info. Data recovery people hardly ever use it, I would think. Perhaps the OP could provide an LE/BE toggle -- LE for you and him, and BE for the rest of us. ;-)

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Another useless data recovery toy?
PostPosted: January 16th, 2025, 21:47 
Offline
User avatar

Joined: September 11th, 2024, 10:21
Posts: 64
Location: Russia
Relax guys, this is just a basic test application to demonstrate library's features. :roll:

By the way, it's time to think about clone application. The best example for me is PC-3000 Data Extractor, so I'll be moving in that direction.


Top
 Profile  
 
 Post subject: Re: MiniNVMe and MiniAHCI kernel modules for Linux
PostPosted: January 17th, 2025, 7:37 
Offline
User avatar

Joined: September 11th, 2024, 10:21
Posts: 64
Location: Russia
Dmitry was so kind to rename this topic's name. :D


Top
 Profile  
 
 Post subject: Re: MiniNVMe and MiniAHCI kernel modules for Linux
PostPosted: January 18th, 2025, 7:14 
Offline
User avatar

Joined: September 11th, 2024, 10:21
Posts: 64
Location: Russia
A little history lesson. Five years ago, in 2020, I already did a simple Parallel ATA reader with clone application. The reader device was based on Arduino DUE (Atmel SAM3X8E chip). Unfortunately it's not supports UltraDMA transfer mode, only PIO mode was available (3 MB/sec max).
Attachment:
arduindo-due-reader-11.jpg
arduindo-due-reader-11.jpg [ 586.78 KiB | Viewed 42393 times ]

Attachment:
arduindo-due-reader-22.jpg
arduindo-due-reader-22.jpg [ 415.45 KiB | Viewed 42393 times ]

The clone application was named Easy-Reader. And the video of course:
https://rutube.ru/video/9913748b63d7258da382d27d81e7760c/
https://rutube.ru/video/f75a529e31bdc712a3184fa4959ed009/
https://rutube.ru/video/ba6a718e5811a45304d3be95c785dbaa/

I also experimented a lot with FPGA-based readers, but I was completely disappointed in this. It's too complicated devices. Now the perfect solution has been found: it's a regular AHCI/NVMe controller and the alternative driver.


Top
 Profile  
 
 Post subject: Re: MiniNVMe and MiniAHCI kernel modules for Linux
PostPosted: March 30th, 2025, 2:22 
Offline
User avatar

Joined: September 11th, 2024, 10:21
Posts: 64
Location: Russia
MiniNVMe driver for Windows? Hm... Actually why not? In progress... 8)
Attachment:
2025-03-30_16-08-36.png
2025-03-30_16-08-36.png [ 146.47 KiB | Viewed 24924 times ]


Top
 Profile  
 
 Post subject: Re: MiniNVMe and MiniAHCI kernel modules for Linux
PostPosted: April 2nd, 2025, 4:51 
Offline
User avatar

Joined: July 12th, 2010, 4:38
Posts: 1451
Location: Portugal
The Easy Reader seems very impressive.
Are you going to "add" it to the NVME system? Will it also work with regular HDD?

Thanks

_________________
http://www.pclab.com.pt facebook.com/PCLAB.A.T
ACELab partner


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 66 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group