help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: moving /gnu to different disk


From: Leo Famulari
Subject: Re: moving /gnu to different disk
Date: Tue, 12 Jan 2016 17:29:02 -0500
User-agent: Mutt/1.5.24 (2015-08-30)

On Tue, Jan 12, 2016 at 01:39:02PM -0800, carl hansen wrote:
> Rather than trying the following, I thought, "Why not ask first?"
> 
> Due to the sizes of various hard disks in my machine, I want to move /gnu
> to /directoryondifferentdisk/gnu
> and then do
> mount --bind /directoryondifferentdisk/gnu /gnu
> 
> (I have already formed a superstition that
> ln -s /directoryondifferentdisk/gnu /gnu
> won't work)
> 
> I see a vast collection of hard links in /gnu/store/.links...
> 
> I forsee problems when copying /gnu, not reproducing hard links
> but reproducing the data.

You could try moving the data with `rsync --hard-links`. Of course you
should test that it works as expected first or you might end up out of
space on the new device, too!

>From the rsync man page:
-H, --hard-links            preserve hard links

Of course, there may be a better solution altogether.

> 
> Are my fears founded? How to proceed?
> Or better to start over with new installation of gnux and /gnu?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]