Liste des Groupes | Revenir à cs raspberry-pi |
On 2024-08-03 12:07, The Natural Philosopher wrote:Well I will be at some stage dd-ing about 60GByte across to a 2TB disk, but given the hassle, sync and a cup of coffee wait before unplugging it, is likely.
I am on the edge of my comfort patch here.And that is my point. sync will do no harm either,
If I were building an SSD I would have a diode and a large capacitor inside it to make sure all its caches were dumped to NVRAM before the voltage collapsed completely.
>
But on a big unit this could take a bit of time.
>
What happens between a SATA/USB plug and the actual NVRAM is a bit of a mystery.
>
We know its nothing like a 1:1 correlation between 'sector' and physical RAM location.
We knows that physical RAM locations are regularly shuffled for 'wear levelling'
When is all this done?
What happens if, during it, there is power failure?
>
I honestly do not know, hence the warning to leave the SSD for a few seconds before yanking any power cords
>
It can do no harm
but it might save you, especially when you are dd()ing an image smaller that the RAM of the computer.
Like I have 32 Gb RAM, and dd an image of 4 Gb (like a headless) onto a SD-card to run an old pi. The interface is slow, yet dd reports done within a minute. sync takes a long time to flush it over.
Just waiting a few secs will end in disappointment
Les messages affichés proviennent d'usenet.