unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: "Théo Maxime Tyburn" <theo.tyburn@gmail.com>
Cc: Kaelyn <kaelyn.alexi@protonmail.com>,
	Giovanni Biscuolo <g@xelera.eu>,
	guix-devel@gnu.org
Subject: Re: Move /gnu/store to another filesystem
Date: Fri, 27 May 2022 13:28:52 +0200	[thread overview]
Message-ID: <87v8trurzp@nckx> (raw)
In-Reply-To: <87v8tsvzn7.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 779 bytes --]

Hi Théo,

Théo Maxime Tyburn 写道:
> I figured out where the problem came from. I forgot to use the 
> -p option
> while copying the store with cp.

I think this will probably work (I mean—it obviously did, but also 
longer-term).

However, ‘cp -p’ does not preserve everything, including hard 
links.  Applications shouldn't care but you might be surprised at 
how much disc space hard links save on my system:

~ λ du -hs /gnu/store
86G	/gnu/store
~ λ du -hs --count-links /gnu/store
192G	/gnu/store

I was!

‘cp -a’ should preserve hard links but I personally recommend 
using rsync instead, with a paranoid helping of -aHAX flags. 
Unlike cp, it's resumable, which is nice when copying 100s of 
gigabytes.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

  parent reply	other threads:[~2022-05-27 11:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-25 16:56 Move /gnu/store to another filesystem Théo Maxime Tyburn
2022-05-26 10:28 ` Giovanni Biscuolo
2022-05-26 10:44   ` Théo Maxime Tyburn
2022-05-26 16:24     ` Kaelyn
2022-05-26 19:48       ` Théo Maxime Tyburn
2022-05-27  5:56         ` Giovanni Biscuolo
2022-05-27  9:34           ` Théo Maxime Tyburn
2022-05-27 11:08           ` Théo Maxime Tyburn
2022-05-27 12:48             ` Giovanni Biscuolo
2022-05-27 14:12               ` Théo Maxime Tyburn
2022-05-27 15:55                 ` Giovanni Biscuolo
2022-05-27 16:37                   ` Théo Maxime Tyburn
2022-05-27 11:28         ` Tobias Geerinckx-Rice [this message]
2022-05-27 11:37           ` Tobias Geerinckx-Rice
2022-05-27 14:09             ` Théo Maxime Tyburn
2022-05-27 13:56           ` Théo Maxime Tyburn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v8trurzp@nckx \
    --to=me@tobias.gr \
    --cc=g@xelera.eu \
    --cc=guix-devel@gnu.org \
    --cc=kaelyn.alexi@protonmail.com \
    --cc=theo.tyburn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).