View previous topic :: View next topic |
Author |
Message |
Rainmaker Veteran
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Tue Apr 27, 2004 11:43 pm Post subject: 2 discs 1 partition |
|
|
Hi guys, simple and short question:
I have 2 disks, a 60 gb and a 10 gb.
I want to make one "device" of that. i.e. i want to have on partition instead of mounting /dev/hdb1 under /mnt/extradiscspace or something.
I there a way to let linux write to the first disc until it's full, then continue with the second one as though nothing happened? |
|
Back to top |
|
|
Insanity5902 Veteran
Joined: 23 Jan 2004 Posts: 1228 Location: Fort Worth, Texas
|
Posted: Tue Apr 27, 2004 11:50 pm Post subject: |
|
|
to my knowledge no ... well you can, but you wouldn't want to do it.
The only way I can think of how to do it is RAID, but this would suck b/c using raid 0, it would combine the two drives, but only use the size of the smallest drive. So in your case, this setup would use all 10 gigs of the smallest one and only 10 gigs of the 60 to give you one drive that is 20 gigs.
The other way to do it, is have it mount up on boot, in your fstab and use it as a folder for /home or something similiar to that. _________________ Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
monkey89 Guru
Joined: 08 Mar 2004 Posts: 596
|
Posted: Wed Apr 28, 2004 12:48 am Post subject: |
|
|
First of all, I think you can use Linux software raid to combine two 10gb partitions as one, and then use the rest of the 60 gb hard drive as another, but that would defeat the purpose of what is being attempted here.
As for the question itself - how about LVM? I think it should be fine here.
http://www.tldp.org/HOWTO/LVM-HOWTO/ |
|
Back to top |
|
|
bone Apprentice
Joined: 07 Jun 2002 Posts: 255 Location: Midwest, USA
|
Posted: Wed Apr 28, 2004 3:14 am Post subject: |
|
|
No offense, but I think trying to do this is a little stupid. Either drop the 10gb hd (your only going to lose 10gb, come on) and use only the 60gb hd, or partition the 10gb hd as your main system hd (/,/usr,/var mounts) and then use teh 60gb hd as your /home mount. Seems alot more logical. |
|
Back to top |
|
|
Rainmaker Veteran
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Wed Apr 28, 2004 3:39 am Post subject: |
|
|
thanx for the tips.
It might be illogical with a 10 gig drive, I know. The problem is that I'm planning to buy a 120 Gb SATA drive... Then, this is getting a lot more important... I hate mounting 1 disc under /home/ or something, just because of the simple fact that I can run out of discspace, while I still have 20 gigs available on the other disc.. .Solved by moving some content, but I just think it's annoying |
|
Back to top |
|
|
Rainmaker Veteran
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Wed Apr 28, 2004 3:45 am Post subject: |
|
|
LVM looks very intereseting. Actually it's exactly what I need.
How do I use this for the gentoo setup? I can't use the normal fdisk, can I?
Should I partition using LVM management tools from knoppix or something? |
|
Back to top |
|
|
Nate_S Guru
Joined: 18 Mar 2004 Posts: 414
|
Posted: Wed Apr 28, 2004 2:09 pm Post subject: |
|
|
Look in the docs, there's a LVM2 install guide.
-Nate |
|
Back to top |
|
|
Rainmaker Veteran
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
|
Back to top |
|
|
|