UFS Restoring dd image to mSata drive

I've just located a dd image of an mStata drive I blitzed a few weeks, so before I attempt to restore it I'd ask if I needed to anything else in addition to:-
dd if=mSata.img of=/dev/ada0 bs=2M
(not sure what the optimal bs should be). The mSata drive is 238GB . I don't know if I will need to run any gpart bootcode to get it to boot... This disk had a Windows 7 and FreeBSD partition.
 
Generally, for hard disks, the minimum value that give decent performance coincide (or are greater) than the size of a sector, therefore 512 or 4096.
For solid state devices, especially in writing, it's very complex (it depends on whether SLC, MLC... and which page-writing technology etc).
In general, a large value (1M) gives the maximum, or almost maximum, performance

If the image dd has been made "full", of each sector, I don't think it will be necessary to do anything more.
Obviously, maximum caution due to the risk of overwriting important data!
 
Back
Top