LinuxQuestions.org
Help answer threads with 0 replies.
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 11-23-2006, 07:27 AM   #1
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Rep: Reputation: 31
Put /home on USB?


Forumites,

My main disk is a 40GB SATA hard drive, currently loaded with PCLinuxOS and all my data. I've been trying to set up dual boot scenarios with my external 160GB USB hard drive for over a week, as some of you know. That's proving to be difficult, so I'm concocting backup plans to make sure I get my money's worth.

Yes, I would have gotten a second SATA drive if there was room in my computer, however it is a "compact" model

Backup idea #1: use the USB for backup and "overflow" of data; unlikely to need it for this, since the most storage-intensive stuff I have is photos of the baby; slice up my SATA drive at will and have a place to protect my data.

Backup idea #2: transfer my /home and /usr directories to the USB drive, repartition, install other OSs on the SATA drive and have all my data on the USB. Then switch the mount points so the chosen USB partitions are on /home and /usr. Basically the SATA drive becomes the "OS disk" and the USB becomes the "data disk." As long as they still use Linux filesystems, I could even use the same /home and /usr across multiple OSs (e.g., PCLinuxOS and Slackware, plus an "experimental" partition for messing with window managers and other stuff).

Does anybody have this setup? Does anyone foresee any problems with it? Isn't that the beauty of UNIX, being able to mount whatever devices wherever you need them? Like I said, my most storage-intensive things are (a) MP3s and (b) photos.

A third setup would be to backup my data once, repartition and install new OSs, then move my /home directory back to where it was on the main drive. This seems to actually involve more work.

Joel
 
Old 11-23-2006, 07:50 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
certainly all of those scenarios are possible.

for backup purposes having your data in two different locations on two diffenet hard drives would be the best solution. you could write a small backup script using rsync and schedule it with a cron job to scan your data directories and copy the changes over to the USB attached drive. if either the main drive or the USB drive fals all your data woud still be safe on the other device. (barring a lighting strike that takes out both devices.. )

Making the USB drive you main /home partition would work as well but I would think the slower transfer rate of USB might be a performance hit to use as a mian drive.
 
  


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
How do I put my home folder icon on my desktop? randell6564 Linux - Newbie 5 08-23-2006 10:43 PM
USB flash drive -- what do I put on it and how? Gadren Linux - Newbie 4 07-19-2006 10:36 AM
Can I put /home to a nother partition g-string 3 Linux - Software 41 08-24-2005 05:55 PM
Why would I put /home on it's own partition? glenn69 Linux - Newbie 10 08-11-2005 10:50 AM
Where does FC3 put usb? Not under /dev tonydavo Fedora 2 12-04-2004 04:58 AM

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

All times are GMT -5. The time now is 10:37 PM.

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