Red Hat This forum is for the discussion of Red Hat Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-02-2004, 02:33 PM
|
#1
|
LQ Newbie
Registered: Oct 2004
Location: PA
Distribution: Red Hat 8, 9
Posts: 21
Rep:
|
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
|
|
|
12-02-2004, 03:54 PM
|
#2
|
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:
|
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.
|
|
|
12-02-2004, 03:58 PM
|
#3
|
LQ Newbie
Registered: Oct 2004
Location: PA
Distribution: Red Hat 8, 9
Posts: 21
Original Poster
Rep:
|
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?
|
|
|
12-02-2004, 04:14 PM
|
#4
|
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:
|
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 04:16 PM.
|
|
|
12-02-2004, 04:27 PM
|
#5
|
LQ Newbie
Registered: Oct 2004
Location: PA
Distribution: Red Hat 8, 9
Posts: 21
Original Poster
Rep:
|
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?
|
|
|
12-02-2004, 04:43 PM
|
#6
|
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:
|
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.
|
|
|
12-02-2004, 04:49 PM
|
#7
|
LQ Newbie
Registered: Oct 2004
Location: PA
Distribution: Red Hat 8, 9
Posts: 21
Original Poster
Rep:
|
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?
|
|
|
12-02-2004, 05:13 PM
|
#8
|
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:
|
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
|
|
|
12-02-2004, 05:29 PM
|
#9
|
LQ Newbie
Registered: Oct 2004
Location: PA
Distribution: Red Hat 8, 9
Posts: 21
Original Poster
Rep:
|
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...
|
|
|
12-02-2004, 06:08 PM
|
#10
|
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:
|
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
|
|
|
12-03-2004, 07:10 AM
|
#11
|
LQ Newbie
Registered: Oct 2004
Location: PA
Distribution: Red Hat 8, 9
Posts: 21
Original Poster
Rep:
|
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.
|
|
|
12-06-2004, 05:11 AM
|
#12
|
Member
Registered: Sep 2004
Distribution: Debian, Ubuntu, BeatrIX, OpenWRT
Posts: 273
Rep:
|
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
|
|
|
12-06-2004, 08:50 AM
|
#13
|
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:
|
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)
|
|
|
05-26-2005, 09:33 PM
|
#14
|
LQ Newbie
Registered: Mar 2004
Location: Pasadena
Distribution: RedHat 9
Posts: 4
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|