LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-02-2004, 01:33 PM   #1
linuxmarine
LQ Newbie
 
Registered: Oct 2004
Location: PA
Distribution: Red Hat 8, 9
Posts: 21

Rep: Reputation: 15
Backing up files with a USB Extrenal hard drive


I wasn't sure which forum to put this in, but I figured I would place it here since it has to do with redhat 9.0

I am running a file server here at work with Redhat 9.0 on it.
I want to use an USB external drive to backup files and use it as a portable backup.

Unfortunately I have been googling all day, and I only founf one mention to using redhat 9.0 with a USB hard drive and it did not sound good.

Has anyone done this with 9.0 and did it work well?

If so, what procedure did you use to format the external drive and mount it?

Thank you
 
Old 12-02-2004, 02:54 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Assuming the disk's enclosure is supported, it will show up as a SCSI device (/dev/sdX). You partition/mkfs/mount it just like any other drive.
 
Old 12-02-2004, 02:58 PM   #3
linuxmarine
LQ Newbie
 
Registered: Oct 2004
Location: PA
Distribution: Red Hat 8, 9
Posts: 21

Original Poster
Rep: Reputation: 15
Thank you for the response!

Quote:
Originally posted by sigsegv
Assuming the disk's enclosure is supported, it will show up as a SCSI device (/dev/sdX). You partition/mkfs/mount it just like any other drive.
When you say the disk's enclosure is supported, what do you mean?
 
Old 12-02-2004, 03:14 PM   #4
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
I mean the chipset inside the external drive casing that communicates from and to the host computer.

to elaborate -- When you plug the disk into the server, tail off /var/log/messages and see if it picks it up (you should see messages regarding USB mass storage and all that). This will also tell you what device the system uses to represent the disk.

Last edited by sigsegv; 12-02-2004 at 03:16 PM.
 
Old 12-02-2004, 03:27 PM   #5
linuxmarine
LQ Newbie
 
Registered: Oct 2004
Location: PA
Distribution: Red Hat 8, 9
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks, I will try that. I deciding whether to use a Western or Segate. I found an this article:
Seagate 200GB External Drive Review

They used the segate 200 Gig drive and worked fine, but it was tested with 3 other distributions and not redhat 9.0.
Which has me concerned. I didn't want to go out buy a drive for the company if it doesn't work right.

What are your thoughts?
 
Old 12-02-2004, 03:43 PM   #6
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
I don't know what any of the distros in the article use for a kernel (Or what RH9 uses for that matter), but if they're the same it should work. There's a good chance if they're even the same branch (2.4.x or whatever). I have a Maxtor external, a WD external, and a 2.5" external and Linux/BSD see all of them, though Linux goes down in flames bigtime if I hook the WD to a USB1.1 and actually try to use it.

You should be fine, but a return policy check might be in order.
 
Old 12-02-2004, 03:49 PM   #7
linuxmarine
LQ Newbie
 
Registered: Oct 2004
Location: PA
Distribution: Red Hat 8, 9
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks again for the input!!

One last question: How can I tell if my USB is 1.1 or 2.0?
I am looking at the spec sheet of the server I am using, and it says 2 USB ports, it says nothing about version?
 
Old 12-02-2004, 04:13 PM   #8
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
If it's 2.0 it should have a little + above the logo (yes, that's the only way to tell from the outside). The other way you can tell is through dmesg | grep USB. If you see lines like
Code:
usb 5-1: new low speed USB device using address 2
You have 1.1. If on the other hand you see:
Code:
usb 3-1.5: new full speed USB device using address 5
You have 2.0
 
Old 12-02-2004, 04:29 PM   #9
linuxmarine
LQ Newbie
 
Registered: Oct 2004
Location: PA
Distribution: Red Hat 8, 9
Posts: 21

Original Poster
Rep: Reputation: 15
Yep, that did the trick! Thank you so much for the help.

This is the place to be....

I was disappointed to see the options for backup where Linux is concerned, I had to do a lot of websurfing just to find a couple of tape drives that supported Linux, but they were way out of our price range, so the external drive seemed like the next best option. Even with that, there doesn't seem to be an over whelming amout of info out there about Linux with USB drives...
 
Old 12-02-2004, 05:08 PM   #10
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Tape is pricey, but you can drop a tape off a desk and it'll still work. Just keep in mind that hard drives are not very "shock tolerant" and external != portable.

There's a reason people backup HDDs to tape -- "mag rot" aside, tapes are tough
 
Old 12-03-2004, 06:10 AM   #11
linuxmarine
LQ Newbie
 
Registered: Oct 2004
Location: PA
Distribution: Red Hat 8, 9
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by sigsegv
Tape is pricey, but you can drop a tape off a desk and it'll still work. Just keep in mind that hard drives are not very "shock tolerant" and external != portable.

There's a reason people backup HDDs to tape -- "mag rot" aside, tapes are tough
LOL... Point well taken!!!

Thank you for all your help.
 
Old 12-06-2004, 04:11 AM   #12
kees-jan
Member
 
Registered: Sep 2004
Distribution: Debian, Ubuntu, BeatrIX, OpenWRT
Posts: 273

Rep: Reputation: 30
I'm having much trouble getting USB mass storage to work reliably. Didn't investigate, though.

Suffice to say that if I need to copy significant amounts of data to my USB harddisk (an X-Drive), I connect it to my XP box and mount a samba share.

Groetjes,

Kees-Jan
 
Old 12-06-2004, 07:50 AM   #13
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Quote:
Originally posted by kees-jan
I'm having much trouble getting USB mass storage to work reliably. Didn't investigate, though.

Suffice to say that if I need to copy significant amounts of data to my USB harddisk (an X-Drive), I connect it to my XP box and mount a samba share.
Ick! :P

I know what you mean though. I have some Dell PE2650s that RHEL3 doesn't care for the USB controllers in *at all*. My solution was the same. Jacked into my laptop (which had GigE in it too, so it was fine speedwise)
 
Old 05-26-2005, 08:33 PM   #14
Buddy213
LQ Newbie
 
Registered: Mar 2004
Location: Pasadena
Distribution: RedHat 9
Posts: 4

Rep: Reputation: 0
Quote:
Originally posted by sigsegv
Assuming the disk's enclosure is supported
Where can I find a list of compatible USB hard drive enclosures??

As mentioned, the info regarding backups and USB harddrive enclosures is slim. So, your help is appreciated! I'm running RedHat 9.
 
  


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
backing up a directory to another hard drive aducarrab Linux - Newbie 1 01-29-2005 09:27 PM
USB Hard Drive mounted: No files shown. mooreted Slackware 3 12-06-2004 06:51 PM
copy files from your hard drive to usb key with Knoppix ziegen Linux - Distributions 1 08-09-2004 01:06 PM
Backing up my hard drive? brynjarh Linux - Newbie 1 07-04-2004 05:28 PM
Adding Hard Drive and Backing Up Cynthia Blue Linux - Hardware 2 12-26-2002 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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