LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-30-2004, 12:16 PM   #1
joe6pack
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake, Vector
Posts: 22

Rep: Reputation: 15
multiple /home partitions?


I have Mandy 9.2 on a 20 gig hdd. My home partition is full, music, vid clips, etc. Can the /home partition be extended to another hdd? Maybe I am not saying that correctly. Can you have more than 1 /home partition, 1 on one hdd and 1 on the other? Or can you create a partition and name it something like /media or /music for example?
 
Old 04-30-2004, 12:39 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Moved: More suitable in Newbie, not General.
 
Old 04-30-2004, 12:40 PM   #3
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Quote:
Or can you create a partition and name it something like /media or /music for example?
Yes you can. just add the new partition to your
/etc/fstab
 
Old 04-30-2004, 12:55 PM   #4
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
You may want to look at LVM HOW-TO LVM allows you to add drives, partitions to a logical volume that groups the disparate pieces together. It's not as bad as you think the installation/config will be. Here is a good IBM article about LVMs.

Download and install LVM software, do
Code:
pvcreate /dev/whatever
vgcreate VG_NAME /devwhatever1 /dev/whatever2...
vgdisplay VG_NAME | grep "PE" (to see VGs and verify info)
lvcreate -l VG_NAME -n LV_NAME
mke2fs -j /dev/VG/LV
mount /dev/VG_NAME/LV_NAME /some/dir
Note that this is a distructive process and you will loose all data in the devices you add to the INITIAL VG. Once in place, you can add a HDD and carve off partitions to add to LV and not loose data already in the LV, you will just have more space.

As a short term fix, you can always do this:

Code:
mount /dev/NEWDRIVE /home/myhome/somedir
This isn't very flexibale but will give you space.

You can also make a symlink to another dir in your home dir so if you want to make a partition named /Music, you can do:
Code:
ln -s /home/myhome/Music /Music
and your Music dir in your home dir will point to /Music. You will need rights to /Music for it to do any good for you.

Hope that helped and wasn't too confusing...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
multiple partitions noz6 Linux - Newbie 4 03-06-2005 08:32 PM
mount / , /home , /home/usr on different partitions alekoos Slackware 14 05-03-2004 12:39 PM
mounting other partitions to /home mcd Linux - Newbie 4 08-28-2003 07:29 PM
Multiple Partitions: What is best? enk0d Slackware 14 06-02-2003 12:28 PM
Multiple Partitions Ju Deddo Koinu Linux - Newbie 4 05-07-2003 03:37 PM


All times are GMT -5. The time now is 03:38 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration