LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Adding a new HD (https://www.linuxquestions.org/questions/linux-newbie-8/adding-a-new-hd-318947/)

hywaydave 05-01-2005 12:27 AM

Adding a new HD
 
I'm running FC3 on my system. I have currently have three partitions. "/", "/var", and swap. My / partition is about out of space, only 100 mb left. I would like to add another HD to the machine. After I have added this, I'm not sure what I should do after this. Can I increase the size of my / partition and extend this space onto the new HD? Or do I just create a whole new partition on the new HD and give it some name of my choice? Any help would be appreciated, and help on how to go about this would be much appreciated as well.

Dave

visaris 05-01-2005 12:31 AM

If I were you, I would move my /home directory to the new drive. This should be as simple as using the cp command and then editing your /etc/fstab file. I think you will want to use -Rav as flags to cp. Read the manpage to be sure. Good luck!

hywaydave 05-01-2005 12:38 AM

But there's really nothing in my /home directory. That wouldn't free nothing up. Most of my programs are installed in /usr/local/.

hywaydave 05-01-2005 01:08 AM

Would the best practice be to partition the drive, format it, and then mount it to somewhere like /usr/local/? First I'd have to move everything that's in /usr/local, then mount the drive and then move everything back. Would this work or be the best way?

visaris 05-02-2005 03:22 PM

That would work fine. Yeah. Although, I would just mount the new drive as /usr. I guess /usr is a more standard setup.


All times are GMT -5. The time now is 08:53 PM.