Re: hardisk full

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

 



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 -----
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@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux