Re: Move bookworm system from SSD to NVME

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Re: Move bookworm system from SSD to NVME
De : not (at) *nospam* telling.you.invalid (Computer Nerd Kev)
Groupes : comp.sys.raspberry-pi
Date : 04. Aug 2024, 00:30:38
Autres entêtes
Organisation : Ausics - https://newsgroups.ausics.net
Message-ID : <66aebd9e@news.ausics.net>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
User-Agent : tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
Bj?rn Lundin <bnl@nowhere.com> wrote:
looking at <https://linux.die.net/man/8/sync>
 
"""
The kernel keeps data in memory to avoid doing (relatively slow) disk
reads and writes. This improves performance, but if the computer
crashes, data may be lost or the file system corrupted as a result. sync
ensures that everything in memory is written to disk.
"""
 
 
So, what I think is that dd writes to a slow device, and it is cached by
the OS.
sync forces the OS to actually write to slow device.

I've used the "conv=fsync" option to dd so that sync is done
automatically. Since the man page is rather vague about it, I did
a web search to double check that I wasn't imagining things and
found this page which describes the behaviour with some examples:

https://abbbi.github.io/dd/

This may not be true with new and shiny fast NVM storage, but the
principle holds.

The tests at that link were done with a RAM disk, and the kernel
was caching writes to that, so it doesn't look like the caching
system is smart enough to know when a device is fast enough that
the cache isn't required.

--
__          __
#_ < |\| |< _#

Date Sujet#  Auteur
31 Jul 24 * Move bookworm system from SSD to NVME56Jesper
31 Jul 24 +* Re: Move bookworm system from SSD to NVME52druck
1 Aug 24 i+* Re: Move bookworm system from SSD to NVME3The Natural Philosopher
1 Aug 24 ii`* Re: Move bookworm system from SSD to NVME2druck
2 Aug 24 ii `- Re: Move bookworm system from SSD to NVME1The Natural Philosopher
1 Aug 24 i`* Re: Move bookworm system from SSD to NVME48Jesper
1 Aug 24 i +* Re: Move bookworm system from SSD to NVME46The Natural Philosopher
1 Aug 24 i i`* Re: Move bookworm system from SSD to NVME45Jesper
1 Aug 24 i i +* Re: Move bookworm system from SSD to NVME43Ahem A Rivet's Shot
1 Aug 24 i i i+- Re: Move bookworm system from SSD to NVME1The Natural Philosopher
1 Aug 24 i i i`* Re: Move bookworm system from SSD to NVME41Jesper
1 Aug 24 i i i +- Re: Move bookworm system from SSD to NVME1The Natural Philosopher
1 Aug 24 i i i +* Re: Move bookworm system from SSD to NVME38Ahem A Rivet's Shot
1 Aug 24 i i i i+- Re: Move bookworm system from SSD to NVME1The Natural Philosopher
1 Aug 24 i i i i`* Re: Move bookworm system from SSD to NVME36Jesper
1 Aug 24 i i i i +* Re: Move bookworm system from SSD to NVME33Björn Lundin
2 Aug 24 i i i i i+- Re: Move bookworm system from SSD to NVME1Jesper
2 Aug 24 i i i i i+* Re: Move bookworm system from SSD to NVME18Björn Lundin
2 Aug 24 i i i i ii`* Re: Move bookworm system from SSD to NVME17The Natural Philosopher
2 Aug 24 i i i i ii `* Re: Move bookworm system from SSD to NVME16Björn Lundin
2 Aug 24 i i i i ii  `* Re: Move bookworm system from SSD to NVME15The Natural Philosopher
3 Aug 24 i i i i ii   +* Re: Move bookworm system from SSD to NVME9Björn Lundin
3 Aug 24 i i i i ii   i`* Re: Move bookworm system from SSD to NVME8The Natural Philosopher
3 Aug 24 i i i i ii   i `* Re: Move bookworm system from SSD to NVME7Björn Lundin
3 Aug 24 i i i i ii   i  `* Re: Move bookworm system from SSD to NVME6The Natural Philosopher
3 Aug 24 i i i i ii   i   `* Re: Move bookworm system from SSD to NVME5Björn Lundin
4 Aug 24 i i i i ii   i    `* Re: Move bookworm system from SSD to NVME4Computer Nerd Kev
4 Aug 24 i i i i ii   i     `* Re: Move bookworm system from SSD to NVME3The Natural Philosopher
4 Aug 24 i i i i ii   i      `* Re: Move bookworm system from SSD to NVME2The Natural Philosopher
5 Aug 24 i i i i ii   i       `- Re: Move bookworm system from SSD to NVME1Lawrence D'Oliveiro
3 Aug 24 i i i i ii   +* Re: Move bookworm system from SSD to NVME4Lawrence D'Oliveiro
3 Aug 24 i i i i ii   i`* Re: Move bookworm system from SSD to NVME3Björn Lundin
3 Aug 24 i i i i ii   i `* Re: Move bookworm system from SSD to NVME2Richard Kettlewell
4 Aug 24 i i i i ii   i  `- Re: Move bookworm system from SSD to NVME1Lawrence D'Oliveiro
3 Aug 24 i i i i ii   `- Re: Move bookworm system from SSD to NVME1Richard Kettlewell
16 Aug 24 i i i i i`* Re: Move bookworm system from SSD to NVME13Jesper
16 Aug 24 i i i i i +* Re: Move bookworm system from SSD to NVME6The Natural Philosopher
16 Aug 24 i i i i i i`* Re: Move bookworm system from SSD to NVME5Jesper
16 Aug 24 i i i i i i `* Re: Move bookworm system from SSD to NVME4The Natural Philosopher
16 Aug 24 i i i i i i  `* Re: Move bookworm system from SSD to NVME3Jesper
16 Aug 24 i i i i i i   +- Re: Move bookworm system from SSD to NVME1Jesper
16 Aug 24 i i i i i i   `- Re: Move bookworm system from SSD to NVME1The Natural Philosopher
16 Aug 24 i i i i i +* Re: Move bookworm system from SSD to NVME3Ahem A Rivet's Shot
16 Aug 24 i i i i i i`* Re: Move bookworm system from SSD to NVME2The Natural Philosopher
16 Aug 24 i i i i i i `- Re: Move bookworm system from SSD to NVME1Jesper
16 Aug 24 i i i i i `* Re: Move bookworm system from SSD to NVME3druck
17 Aug 24 i i i i i  `* Re: Move bookworm system from SSD to NVME2Lawrence D'Oliveiro
19 Aug 24 i i i i i   `- Re: Move bookworm system from SSD to NVME1druck
2 Aug 24 i i i i `* Re: Move bookworm system from SSD to NVME2The Natural Philosopher
2 Aug 24 i i i i  `- Re: Move bookworm system from SSD to NVME1Lawrence D'Oliveiro
1 Aug 24 i i i `- Re: Move bookworm system from SSD to NVME1druck
1 Aug 24 i i `- Re: Move bookworm system from SSD to NVME1The Natural Philosopher
1 Aug 24 i `- Re: Move bookworm system from SSD to NVME1druck
1 Aug 24 `* Re: Move bookworm system from SSD to NVME3Lawrence D'Oliveiro
1 Aug 24  +- Re: Move bookworm system from SSD to NVME1Chris Townley
1 Aug 24  `- Re: Move bookworm system from SSD to NVME1druck

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal