LinuxQuestions.org
Visit Jeremy's Blog.
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 12-29-2010, 11:28 AM   #1
treewojima
LQ Newbie
 
Registered: Feb 2006
Posts: 3

Rep: Reputation: 0
Adding another hdd, want to turn my /home RAID0 into JBOD. Could/should I use aufs?


Hello, long time lurker, first time poster.

Basically, I've got an existing RAID0 array with two 500GB drives, and a spare 1TB drive sitting around that was used for backup. I'm out of space on the array, so I figure this is a good chance to add additional storage, and ditch the risky RAID0 setup (I can never remember to do backups

The RAID0 is currently mounted as my /home, and I want to disassemble the array, add the new drive, and have just a bunch of disks all working together to store my personal files. (This probably doesn't matter, but the array is also encrypted using dm-crypt/LUKS.) What's the best way to go about this? I vaguely know of UnionFS, and aufs2 seems to be the maintained successor, and that looks like a good choice. I also have a little experience with mount --bind with my NFS shares, but I'm not sure if that would really work.

Overall, I want to avoid having multiple partitions on the drives mounted to individual directories, since my /home layout can change pretty quickly now and again, and resizing partitions with data is just a pain. So yeah, any suggestions? Running a fully updated Arch system, BTW.
 
Old 12-30-2010, 04:52 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,139

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
btrfs. Note my signature.

Never saw the point in encryption. I'm (at least) as paranoid as the next guy, but I've seen enough to know the people I *really* don't want to read my shit already can. No matter what I do.

I run btrfs on several (non prod) systems and haven't had any problems I didn't deliberately cause. Note my signature.
 
Old 12-30-2010, 06:24 AM   #3
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
Plug in the new drive, format it, mount it as /home.new. Then copy everything from /home to /home.new. Unmount both /home and /home.new (logged in as root from the console, otherwise /home will be busy). Modify /etc/fstab and mount the new drive as /home.

Partition, format, the other 2 500Gb drives how you want.

I've used btrfs in a vm, and it is way cool. But I haven't convinced myself that it is ready to be used in anger. So I'm going to suggest LVM, and then duck cos it seems not many here get on with it.

Also automate your backup system. I've got mine down to:
  1. Plug in backup drive
  2. Upon receiving email report, unplug drive
 
Old 12-30-2010, 06:28 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,139

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
Hey phil, we gunna keep head-butting each other ??? ....

Lots of options, but none will work without you (the OP) copying the data off first. That'll at least make your first backup ...
 
Old 12-30-2010, 06:34 AM   #5
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
Quote:
Originally Posted by syg00 View Post
Hey phil, we gunna keep head-butting each other ??? ....
For the next 12 months or so, most likely!
 
  


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
Turn a RAID0 into a RAID1 locodude Fedora 3 04-27-2007 10:09 AM
Adding Raid0 to Fedora 5 installation on ich7 chipset amerdsp Linux - Hardware 0 10-27-2006 12:50 PM
Adding Via Raid0 to Grub??? Jordees SUSE / openSUSE 4 10-25-2006 11:41 AM
Adding A New HDD as a new /home & for 2nd OS ixus_123 Linux - Hardware 2 02-23-2005 09:37 AM
Installing Linux on 2nd HDD (IDE) when WinXP installed on SATA RAID0 steve264 Linux - Hardware 1 06-12-2004 05:44 PM

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

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