Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2 discs 1 partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Tue Apr 27, 2004 11:43 pm    Post subject: 2 discs 1 partition Reply with quote

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
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Tue Apr 27, 2004 11:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
monkey89
Guru
Guru


Joined: 08 Mar 2004
Posts: 596

PostPosted: Wed Apr 28, 2004 12:48 am    Post subject: Reply with quote

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
View user's profile Send private message
bone
Apprentice
Apprentice


Joined: 07 Jun 2002
Posts: 255
Location: Midwest, USA

PostPosted: Wed Apr 28, 2004 3:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Wed Apr 28, 2004 3:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Wed Apr 28, 2004 3:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Nate_S
Guru
Guru


Joined: 18 Mar 2004
Posts: 414

PostPosted: Wed Apr 28, 2004 2:09 pm    Post subject: Reply with quote

Look in the docs, there's a LVM2 install guide.

-Nate
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Thu Apr 29, 2004 12:05 am    Post subject: Reply with quote

:shame:

found it. Thanks everyone. For people who are interested in doing the same:

http://www.gentoo.org/doc/en/lvm2.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum