Deutsch   English   Français   Italiano  
<v8jlc0$2ralv$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.misty.com!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: =?UTF-8?Q?Bj=C3=B6rn_Lundin?= <bnl@nowhere.com>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Move bookworm system from SSD to NVME
Date: Sat, 3 Aug 2024 00:08:00 +0200
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <v8jlc0$2ralv$2@dont-email.me>
References: <v8cqd6$1gdnp$1@dont-email.me> <v8e73l$1o2dm$1@dont-email.me>
 <v8frll$24ic1$1@dont-email.me> <v8ft4f$250uj$1@dont-email.me>
 <v8gamm$28554$1@dont-email.me>
 <20240801171000.46ce321a2dd0cb03be7cba00@eircom.net>
 <v8ghss$290sp$1@dont-email.me>
 <20240801192923.a827ba8d22853e9bc6c5cfb3@eircom.net>
 <v8gm3e$2atj2$1@dont-email.me> <v8go75$2bmb1$1@dont-email.me>
 <v8i9jp$2oohc$1@dont-email.me> <v8ikp3$2qqdd$2@dont-email.me>
 <v8ip08$2ralv$1@dont-email.me> <v8iph9$2rqib$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 03 Aug 2024 00:08:01 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="efc9bd2175bdf72bae3e59ba945183ed";
	logging-data="2992831"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/pdF7Ez+57aE85jTwlRtf1"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Vr8k49GklOSWL8PC4NnOEYjaEHk=
In-Reply-To: <v8iph9$2rqib$2@dont-email.me>
Content-Language: en-US
Bytes: 2636

On 2024-08-02 16:12, The Natural Philosopher wrote:
> On 02/08/2024 15:03, Björn Lundin wrote:
>> On 2024-08-02 14:51, The Natural Philosopher wrote:
>>
>>> Never mind sync.
>>>
>>> It's important to wait anyway on an SSD/nvm until it has finished its 
>>> internal business.
>>>
>>> For any copy process.
>>
>>
>> dd'ing 500 Gb to an ssd disk, I've seen sync taking 30 s or more
>> and sync is of course started AFTER dd is done
>>
>> So - how do you know it is done its internal business?
>> Not all drives have blinking LEDs
>>
>> sync makes it easy to know
>>
>>
> Even sync may not be enough.
> SSDS/NVM have their own internal  caching.
> 

Then the question remains - how do you know when its done?

from man sync you get
"sync - Synchronize cached writes to persistent storage"

In other words, doing sync at least clear the cache,
which must be better than nothing? or?

Or are you saying that ripping the power to a newly sync()ed disk may 
mess it up?

as in

dd ....
sync
rip out usb cord for a 2.5" ssd sata in a usb case or something similar ?


-- 
/Björn