Re: Move /gnu/store to another filesystem

2022-05-27 Thread Théo Maxime Tyburn
Giovanni Biscuolo writes: >>> ...but please don't hold your breath :-) >> >> What do you mean? ^^ > > Oh sorry, I mean I don't know when I'll succeed in doing what I want :-) Ah I get it :) No problem!

Re: Move /gnu/store to another filesystem

2022-05-27 Thread Giovanni Biscuolo
Théo Maxime Tyburn writes: [...] > I’ll try my best! Thank you >> ...but please don't hold your breath :-) > > What do you mean? ^^ Oh sorry, I mean I don't know when I'll succeed in doing what I want :-) Thanks, Gio' -- Giovanni Biscuolo Xelera IT Infrastructures signature.asc Descript

Re: Move /gnu/store to another filesystem

2022-05-27 Thread Théo Maxime Tyburn
Hi Tobias, Tobias Geerinckx-Rice writes: > I forgot to add: > > You can probably reclaim most of that space by deleting the (now > bogus) /gnu/store/.links directory. That's safe. Can you elaborate on that? In my case since I used cp without the -a option all elements of /gnu/store/.links are j

Re: Move /gnu/store to another filesystem

2022-05-27 Thread Théo Maxime Tyburn
Hi Tobias, Tobias Geerinckx-Rice writes: > 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

Re: Move /gnu/store to another filesystem

2022-05-27 Thread Théo Maxime Tyburn
Hi Gio’ [...] > Sorry, now I can't help with setting up a Guix development environment, > all I can suggest you is to read the "19 Contrubuting" manual section, > in particular "19.1 Building from Git" and "19.2 Running Guix Before It > Is Installed". No problem. I will post that to guix devel d

Re: Move /gnu/store to another filesystem

2022-05-27 Thread Giovanni Biscuolo
Hi Théo Théo Maxime Tyburn writes: > Hi again, > I ran into 2 errors when running the tests after running make in > the repo. One error has to do with crate. I guess there is a dependency > missing. The other error has to do with channels. Not sure why. [...] Sorry, now I can't help with set

Re: Move /gnu/store to another filesystem

2022-05-27 Thread Tobias Geerinckx-Rice
I forgot to add: You can probably reclaim most of that space by deleting the (now bogus) /gnu/store/.links directory. That's safe. Kind regards, T G-R signature.asc Description: PGP signature

Re: Move /gnu/store to another filesystem

2022-05-27 Thread Tobias Geerinckx-Rice
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.

Re: Move /gnu/store to another filesystem

2022-05-27 Thread Théo Maxime Tyburn
Hi again, I ran into 2 errors when running the tests after running make in the repo. One error has to do with crate. I guess there is a dependency missing. The other error has to do with channels. Not sure why. Here are my test logs == GNU Guix

Re: Move /gnu/store to another filesystem

2022-05-27 Thread Théo Maxime Tyburn
Hi Gio’ Giovanni Biscuolo writes: > Great! IMHO it'd be useful for other users to have a "Move store to > another device" section in our cookbook: would you like to try to add a > patch to it and see if maintainers accept it? I can help if needed. Yes good idea. I’ll try to setup my guix git

Re: Move /gnu/store to another filesystem

2022-05-26 Thread Giovanni Biscuolo
Hello Théo Théo Maxime Tyburn writes: > I figured out where the problem came from. I forgot to use the -p option > while copying the store with cp. Because of this some scheme files where > newer than their compiled counterpart, which forced to compile them anew. > > Just did everything again wi

Re: Move /gnu/store to another filesystem

2022-05-26 Thread Théo Maxime Tyburn
Hello Gio and Kaelyn, I figured out where the problem came from. I forgot to use the -p option while copying the store with cp. Because of this some scheme files where newer than their compiled counterpart, which forced to compile them anew. Just did everything again with cp -p and it worked li

Re: Move /gnu/store to another filesystem

2022-05-26 Thread Kaelyn
Hi Théo, n Thursday, May 26th, 2022 at 3:44 AM, Théo Maxime Tyburn wrote: > Hi Gio, > > Giovanni Biscuolo g...@xelera.eu writes: > > > [...] > > > maybe you misconfigured "mount-point" and "type"? > > > > what about: > > > > --8<---cut here---start->8--- > >

Re: Move /gnu/store to another filesystem

2022-05-26 Thread Théo Maxime Tyburn
Hi Gio, Giovanni Biscuolo writes: [...] > maybe you misconfigured "mount-point" and "type"? > > what about: > > --8<---cut here---start->8--- > > (define %store-fs ;; <--- This is what I want to add. >(file-system (device (file-system-label "storage-fs

Re: Move /gnu/store to another filesystem

2022-05-26 Thread Giovanni Biscuolo
Hello Théo Théo Maxime Tyburn writes: [...] > (define %store-fs ;; <--- This is what I want to add. > (file-system (device (file-system-label "storage-fs")) > (mount-point mt-point) > (type "/gnu/store") maybe you misconfigured "mount-point" and "type"? what about

Move /gnu/store to another filesystem

2022-05-25 Thread Théo Maxime Tyburn
Hello, I am running out of space on my 128GB SDD. It seems to be too small for holding 2 months of store with regular updates. So I want to "transfer" it to an interal HDD which is much larger and has a btrfs on it. This is what I tried so far. I created a btrfs subvolume on my HDD and called it