Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
One folder, multiple hard disks
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
TheMysteriousX
n00b
n00b


Joined: 30 Aug 2007
Posts: 10

PostPosted: Sat Oct 13, 2007 3:19 am    Post subject: One folder, multiple hard disks Reply with quote

My gentoo box has about 70 gigs of free space. 70 is good, but 150 is better. So.

It's main use is as a samba share, at /var/smb/default
I have a spare 80 GB usb drive kicking around, so.

What I would like, is to somehow "join" that drive to that folder, kind of like JBOD or raid0, but not, so that space from both the local filesystem and can be used for the samba share, in effect spanning the folder across multiple volumes.
I don't particularly want to have to repartition the system; if that is the only solution, then i'll just live with mounting the usb drive at /var/smb/default.

So, any ideas?

Edit: one idea I had would be to create "virtual" filesystems on each device, loop mount them and raid/jbod them. This has the side effect of me having to preallocate space on the local device. Can anyone figure something based on this?
Back to top
View user's profile Send private message
ronmon
Veteran
Veteran


Joined: 15 Apr 2002
Posts: 1043
Location: Key West, FL

PostPosted: Sat Oct 13, 2007 12:07 pm    Post subject: Reply with quote

What you are looking for is LVM. This HOWTO is kind of old, but still applies.

http://www-128.ibm.com/developerworks/library/l-lvm2.html
_________________
Ask Questions the Smart Way - by ESR
Back to top
View user's profile Send private message
likewhoa
l33t
l33t


Joined: 04 Oct 2006
Posts: 778
Location: Brooklyn, New York

PostPosted: Sun Oct 14, 2007 2:37 am    Post subject: Reply with quote

gentoo.org lvm2 &
gentoo-x86+raid+lvm2-quickinstall. are more up to date.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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