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 - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-13-2010, 08:56 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
LVM? fuse?... how to merge a 250gb and 160gb harddisks for the /home


Hello

I have 2 harddisks for data, ie. /home.

How to merge them? they are empty for the moment. shall we use fuse for that? how can it be done at the installation of debian ?
 
Old 05-13-2010, 08:59 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
No idea how you expect to use fuse for that. fuse itself is a framework for mounting dozens of different kinds of pseudo-filesystems.

But LVM, that's exactly what you need. Create LVM partitions on both, join them to a single PV and then create a LV on top of it for /home.
 
Old 05-13-2010, 09:12 AM   #3
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by acid_kewpie View Post
No idea how you expect to use fuse for that. fuse itself is a framework for mounting dozens of different kinds of pseudo-filesystems.

But LVM, that's exactly what you need. Create LVM partitions on both, join them to a single PV and then create a LV on top of it for /home.
OK, I have 5 hardware harddisks, and would like to merge them all into a main partition.

shall I use raid software with LVM?

how to configure that at the installation (no link to url please, i googled hard alreadz)
 
Old 05-13-2010, 09:13 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by acid_kewpie View Post
... join them to a single PV and then create a LV on top of it for /home.
s/PV/VG/
 
Old 05-13-2010, 09:15 AM   #5
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by syg00 View Post
s/PV/VG/
OK, I try it...

But is it not better with raid. Some says that raid is good too, for backing up the disks and more secured for teh data?
 
Old 05-14-2010, 03:57 AM   #6
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Quote:
Some says that raid is good too, for backing up the disks and more secured for teh data?
RAID = Redundant Array of Independent Disks

Now you get hardware raid controllers which are devices made to manage RAID and you also get software raid controllers in Linux; which can also perform RAID for you.

There are four commonly used RAID levels:

RAID 0 - This is also referred to as a stripe where data is written across all the disks you have - the downside is that if one of your disks fails you basically lose all your data

RAID 1 - This is for TWO disks ONLY. It is a perfect mirror where data gets written to one disk and written again to the other disk (hence its called a mirror) - Disadvantage is that you lose 1 disk worth of space

RAID 1/0 & 0/1: Striped Mirror/Mirrored Stripe; in this setup for and even number of disks (4 minimum); data is striped across half the disks and then mirrored to the other half. Disadvantage is that you lose half of your disks worth of disk space

RAID 5: Stripe with Parity - for 3 disks or more; parity data is written to every disk; so that if a disk fails; you can insert a new one and the parity on the other disks will rebuild your data. Disadvantages here include losing a disks worth of space as well as the fact that if you have more than one drive failing; your data will be lost.

So as you can see above - RAID is not the easiest concept in the world to understand. And bear in mind I haven't even talked about speed of data access in the above.

I think the information you have provided thus far is a bit too generic; if you can provide specific information around:

1. What type of system are you installing? Is it for personal use or for commercial use?
2. How critical is your data? What would happen if it were lost?
3. What's more important to you - data safety or speed of access?
4. What type of applications will be reading/writing to the drives? Are they more read intensive or write intensive?

Provide the above and I'm sure you'll get a bit more specific information on the route to follow with your endeavours.

Cheers
Yas
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Increasing my /home directory using LVM Nagglfar Linux - General 3 07-15-2009 02:01 PM
how to merge two hard drives by LVM arshzia Linux - Software 3 08-12-2008 05:49 AM
FUSE works but fuse group does not exist? violagirl23 Linux - Software 3 01-21-2008 04:01 AM
LXer: KHTML Vs Webkit: To Merge or Not To Merge LXer Syndicated Linux News 0 10-27-2007 06:41 AM
/home on two harddisks ZaphyR Linux - General 3 09-03-2004 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:04 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