On 28/07/2014 11:54, Sergey Mironov wrote:
> Hi, List! Looks like I've made not wise choice of locating /nix/store
> in root (/) partition on my build server. Now all 'no space left on a
> device' are my friends. Is it possible to relocate /nix/store's
> contents into /home (located on a much larger partition) without
> re-installing the entire system? In other words, I want my /nix/store
> to be a symlink pointing to /home/nix/store. Is it safe to just boot
> from the CD, move /nix/store to /home and drop the symlink ? Is there
> a well-known algorithm of solving this administration task? Store
> symlink management is the main thing I am worrying about.
Relocating means rebuilding everything from scratch.
The other possibility is to bind mount /home/nix/store to /nix/store.
The problem is that the nix store is needed in initrd. So the bind mount
is not easy, you may end up with the system not booting.
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev