hardisk full
Bilal Dar
bdar at pbad.sbg.com.sa
Sun Apr 11 10:46:42 UTC 2004
Well thanks but i am not even at this step now, my new device is /dev/hdb. I made two partitions /dev/hdb1 and /dev/hdb2. Now what should be my next step. I dont know what to do next.
Thanks
----- Original Message -----
From: Gertjan Vinkesteijn
To: For users of Fedora Core releases
Sent: Sunday, April 11, 2004 2:10 PM
Subject: Re: hardisk full
Bilal Dar wrote:
Dear all,
I am having this problem, my harddrive got full so i added another one to my machine. Now i don't know how to move my /home /var to the new drive. Can someone guide me, i just made the partitions using fdisk.
Thanks.
What I do normally is:
# mkdir <newdrive>/var
# mv /home/var /home/var.old
# ln -s <newdrive>/var/home/var
# cd /home/var
# find . | cpio -dump <newdrive>/var
// you could also use tar nowadays for it
# reboot // because of open file descriptors of /home/var
// then
// make a spare backup of /home/var.old, one never knows
# cd /home
# rm -rf var.old
// it should work now
--
Vink
------------------------------------------------------------------------------
--
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040411/aa49ca99/attachment-0001.htm>
More information about the fedora-list
mailing list