[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Move /gnu/store to another filesystem
From: |
Tobias Geerinckx-Rice |
Subject: |
Re: Move /gnu/store to another filesystem |
Date: |
Fri, 27 May 2022 13:28:52 +0200 |
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
signature.asc
Description: PGP signature
- Re: Move /gnu/store to another filesystem, (continued)
- Re: Move /gnu/store to another filesystem, Théo Maxime Tyburn, 2022/05/26
- Re: Move /gnu/store to another filesystem, Kaelyn, 2022/05/26
- Re: Move /gnu/store to another filesystem, Théo Maxime Tyburn, 2022/05/26
- Re: Move /gnu/store to another filesystem, Giovanni Biscuolo, 2022/05/27
- Re: Move /gnu/store to another filesystem, Théo Maxime Tyburn, 2022/05/27
- Re: Move /gnu/store to another filesystem, Théo Maxime Tyburn, 2022/05/27
- Re: Move /gnu/store to another filesystem, Giovanni Biscuolo, 2022/05/27
- Re: Move /gnu/store to another filesystem, Théo Maxime Tyburn, 2022/05/27
- Re: Move /gnu/store to another filesystem, Giovanni Biscuolo, 2022/05/27
- Re: Move /gnu/store to another filesystem, Théo Maxime Tyburn, 2022/05/27
- Re: Move /gnu/store to another filesystem,
Tobias Geerinckx-Rice <=
- Re: Move /gnu/store to another filesystem, Tobias Geerinckx-Rice, 2022/05/27
- Re: Move /gnu/store to another filesystem, Théo Maxime Tyburn, 2022/05/27
- Re: Move /gnu/store to another filesystem, Théo Maxime Tyburn, 2022/05/27