From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: Re: moving /gnu to different disk Date: Wed, 13 Jan 2016 10:06:49 -0800 Message-ID: <87vb6xuzdw.fsf@dustycloud.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJPpO-0006mv-6b for help-guix@gnu.org; Wed, 13 Jan 2016 13:07:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJPpL-0001tk-0t for help-guix@gnu.org; Wed, 13 Jan 2016 13:07:26 -0500 Received: from dustycloud.org ([50.116.34.160]:40598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJPpK-0001ta-TI for help-guix@gnu.org; Wed, 13 Jan 2016 13:07:22 -0500 In-reply-to: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: carl hansen Cc: help-guix@gnu.org carl hansen writes: > 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. > > Are my fears founded? How to proceed? > Or better to start over with new installation of gnux and /gnu? On my last machine I started out with a too-small root partition, but I was installing a lot of guix packages, so I bind-mounted /home/guix-gnu/ to /gnu/ and everything worked great.