Re: Moving /gnu/store safely?

2021-03-03 Thread Phil
Thanks v much for the explanations. Tobias Geerinckx-Rice writes: > As gremlin's go this one is pretty tame, even cuddly: the Guix daemon > deduplicates identical files, and creates hard links instead, saving a > good amount of space. That's all. > > By default, rsync does not preserve hard link

Re: Moving /gnu/store safely?

2021-03-03 Thread Phil
André Batista writes: >> Move the old store create the correct directory for the new >> cd /gnu/store > ^ > I assume the above command should be 'cd /gnu', right? Yes - thanks for spotting. It was a typo in the e-mail only.

Re: Moving /gnu/store safely?

2021-03-03 Thread Tobias Geerinckx-Rice
Phil, Barring unnoticed devils in details your process looks safe. Running ‘guix gc --verify’ is a good idea; add ‘=repair[,contents]’ if you're paranoid. Phil 写道: There were some gremlins tho - on restarting Guix the /gnu/store was seen to grow to approximately double it's size. [...]

Re: Moving /gnu/store safely?

2021-03-03 Thread André Batista
Hi Phil, qua 03 mar 2021 às 13:44:56 (1614789896), p...@beadling.co.uk enviou: > [...] > Assuming that you have a /some_other_disk mount with more room: > mkdir /some_other_disk/gnu > rsync -va /gnu/store /some_other_disk/gnu/ > > Move the old store create the correct directory f

Re: Moving /gnu/store safely?

2021-03-03 Thread Julien Lepiller
I suppose the doubling of size is due to deduplication not working well with rsync: we use hard links for identical files, but I suppose rsync doesn't recreate the hard links? Maybe try guix gc --optimize? Le 3 mars 2021 08:44:56 GMT-05:00, Phil a écrit : >Hi all, > >My growing /gnu/store need