LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-20-2006, 02:36 PM   #1
eMcJagger
LQ Newbie
 
Registered: Jun 2006
Posts: 7

Rep: Reputation: 0
External usb drive taking space on root fs?


[Hmm, I think I just posted this but it seems to have disappeared -- sorry if it's double posted.]


Hello,

First of all, I'm a newbie, so pardon my ignorance.

I'm trying to backup just my home directory onto an external usb hard drive. I don't need any fancy compression or anything, just a straight recursive copy of my home directory and all its subdirectories so that I can reinstall Ubuntu 5.10 Breezy (due to unresolvable ati graphics card issues with Ubuntu 6.06 -- see http://www.linuxquestions.org/questi...70#post2300170) and copy the contents back. I followed these instructions to create a filesystem on a brand new "Safe Store" 250 GB external usb drive.: http://www.thelinuxpimp.com/main/mod...rticle&sid=561. Now I have a nice filesystem mounted at /mnt/usbdrive/ and it seems that I can read + write to it fine.

To copy over my home, I did this:

Code:
sudo mkdir /mnt/usbdrive/backup
sudo cp -r /home/jeremy /mnt/usbdrive/backup
It seemed to be working slowly but surely (files were appearing in /mnt/usbdrive/backup), but then I got warnings that my memory was low, and when I used the System > Administration > System Monitor tool, I noticed that the memory on / was indeed being eaten away bit by bit (so to speak) as the the copy proceeded. I cancelled the copy and recursively removed /mnt/usbdrive/backup.

This doesn't make any sense to me. Isn't the whole point of an external drive that it doesn't take the space from your root filesystem? Are my method and/or understanding flawed?

Any help much appreciated.
 
Old 06-20-2006, 04:51 PM   #2
eMcJagger
LQ Newbie
 
Registered: Jun 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Oops, I'm not sure exactly what happened last time but it seems to be working now. I'm guessing I didn't mount the external drive properly and was just copying to a regular directory on mnt. Currently, "cp -r /home/jeremy/ usbdrive/jerBak" is processing and I can see the progress in the system monitor: /dev/sda1 is getting slowly fuller while /dev/hda1 is sitting pretty at 89%. All is well.


Sorry for my confusion.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can only access USB external drive when in ROOT user bytebull Mandriva 15 01-06-2007 12:02 PM
External usb drive taking space on root fs? eMcJagger Linux - Hardware 3 06-22-2006 01:05 AM
best way to find out what is taking up the bulk of your hard drive space? dr_zayus69 Linux - Software 2 06-30-2005 07:51 AM
Mounting root filesystem from an external USB hard drive? ChrisHart Linux - Laptop and Netbook 6 04-02-2005 10:49 PM
External USB drive -- only WRITE as root 1kyle Linux - Hardware 0 08-03-2004 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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