From: Ray Olszewski <ray@comarre.com>
To: linux-newbie@vger.kernel.org
Subject: Re: Backup up Linux fileserver via Maxtor External Hard Drive
Date: Wed, 29 Dec 2004 09:35:45 -0800 [thread overview]
Message-ID: <5.1.0.14.1.20041229091647.0220c310@celine> (raw)
In-Reply-To: <004501c4edc3$e036f440$1f0aa8c0@lanadmin>
At 11:31 AM 12/29/2004 -0500, Eve Atley wrote:
>We recently purchased a Maxtor External Hard Drive 250gb OneTouchII. We were
>considering using this to backup data on our RedHat Linux 9 fileserver,
>hooking it directly to this fileserver. One unrelated issue is that the usb
>is probably 1.1 while specs are 2.0, though the drive does say it's 1.1
>compatible. Second, what issues do we need to resolve in order for a. the
>Linux box to read the drive, and b. formatting the unformatted external
>drive to work with the Linux box?
Eve -- I waited a bit before replying, in the hope that someone with more
specific knowledge than I can offer would turn up. My own experience with
USB drives is limited to flash drives (those little keychain thingies). But
I suspect that the issues for these USB hard disks are the same, so I'll
tell you what I know in the hope that you will find it helpful.
First, to mount and read the drive, you need a few things set in your
kernel. (This is for 2.4.x kernels; if you use 2.6.x, the details may
differ a bit.)
USB Storage -> Support for USB -> USB mass storage support
needs to be enabled (in kernel or loaded as a module)
In this area, you probably also want to enable
USB Storage -> Support for USB ->Preliminary USB device
filesystem
USB drives are mounted as scsi drives, so basic scsi drive support
needs to me provided, either in kernel or loaded as a set of modules (two,
as I recall). Abd you need the /dev pseudofile entries for scsi devices,
probably just /dev/sda and /dev/sda*
an appropriate filesystem driver needs to be loaded, in the kernel
or as a module; ext2 works fine.
Second, once you have all that set up, you should be able to use the usual
tools to set up your USB drive. It will (probably; I don't know your setup)
show up as /dev/sda, so you can fdisk that device to set up your
partitions, then mkfs.ext2 whatever partitions you choose to set up, then
use whatever you are used to using (cp, tar, whatever) to do the actual
backups.
Third, one thing Linux is never very smart about is noticing when mounted
filesystems are removed. You'll want to be careful to umount any
filesystems on this drive before you disconnect it. (The USB stuff itself
is fine about noticing the connection and disconnection of USB devices.)
And ... this was probably obvious ... you need to umount the partitions
after you connect the device.
Last, the only likely issue your use of USB 1.1 will raise is speed of
packups. If that proves to be an issue for you, and your server is an i86
system, you might want to spend the US$10 or so for a PCI card that
provides USB 2.0.
As I said at the outset, I haven't actually used these drives myself, so
I'm extrapolating hee from my experiences with USB flash. If I've gotten
some details wrong, I do hope that someone will spot them and post a
correction.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.6 - Release Date: 12/28/2004
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2004-12-29 17:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-29 7:06 CD-RW-Drive Peter H.
2004-12-29 7:26 ` CD-RW-Drive Richard Adams
2004-12-29 7:45 ` CD-RW-Drive Peter Garrett
2004-12-29 7:29 ` CD-RW-Drive Peter Garrett
2004-12-29 10:26 ` CD-RW-Drive Jim Nelson
2004-12-29 12:04 ` CD-RW-Drive chuck gelm
2004-12-29 16:15 ` CD-RW-Drive Ray Olszewski
2004-12-29 16:31 ` Backup up Linux fileserver via Maxtor External Hard Drive Eve Atley
2004-12-29 17:35 ` Ray Olszewski [this message]
2004-12-29 21:26 ` chuck gelm
2004-12-29 22:13 ` Jeremy Abbott
2004-12-29 19:17 ` CD-RW-Drive & cdrecord & ATAPI chuck gelm
2004-12-29 19:43 ` Ray Olszewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.1.20041229091647.0220c310@celine \
--to=ray@comarre.com \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox