LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-22-2004, 09:51 PM   #1
Linus VanPelt
Member
 
Registered: Mar 2003
Location: Manchester, NH, USA
Distribution: SuSE 9.1
Posts: 73

Rep: Reputation: 15
Changing physical location of directories


OK, I know in Linux the filesystem is viewed as all one filesystem, but different directories can reside on different disks.

I have two physical disks in my system, one a 10GB IDE drive that is about 60% Win2K and about 40% Linux. The Linux portion is mounted as root. (/).

The other disk is a 10GB SCSI drive, about 40% FAT32 that I share between the two systems, the other 60% Journalized with /home, /var, and swap partitions.

I've noticed that as I become more and more application hungry my IDE drive is getting filled up while my SCSI drive is largely empty.

What I'd like to do is move my /home directory to my IDE drive and move my /usr directory to the SCSI drive. That will balance everything out better and give me room to grow on both disks.

First of all, is this possible, and second of all, how would I go about doing it?

TIA.
 
Old 02-23-2004, 05:02 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
http://www.linuxquestions.org/questi...threadid=15684

should tell you what you want, you might have a few complications though if you basically want to swap the two over directly, as you'll need to store one of them somewhere else first... it's certainly possible though.
 
Old 02-23-2004, 07:42 AM   #3
Linus VanPelt
Member
 
Registered: Mar 2003
Location: Manchester, NH, USA
Distribution: SuSE 9.1
Posts: 73

Original Poster
Rep: Reputation: 15
Temporary storage isn't a problem, I have an iPod that I can mount and use as temporary storage.

Once I've got the backups taken care of, I can basically edit my /etc/fstab, remove my reference to /home and replace it with /usr and then recopy the data? Once I remove the /home reference, will a /home directory be created or will I have to manually create it?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing location of /etc/fstab? Aeiri Linux - Software 1 11-23-2004 04:36 PM
changing the temp location? fred22 Linux - Newbie 4 06-30-2004 10:15 AM
Changing default Mozilla location compassman Linux - Software 2 06-26-2004 03:44 PM
changing default mount location MeanJoshGreen Linux - Hardware 3 12-07-2003 02:19 AM
Changing boot location podollb Linux - Hardware 8 10-15-2003 02:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration