Red Hat Topics - how do i get a portable usb hard disk mounted and visible under RH9??

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > March 2005 > how do i get a portable usb hard disk mounted and visible under RH9??





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author how do i get a portable usb hard disk mounted and visible under RH9??
ExtraT

2005-03-09, 8:45 pm

Hello All,

I am trying to get a Iomega HDD 80GB portable USB hard drive working
on a pc with Redhat 9.0

How do I mount it??

TIA!!
Gumby

2005-03-10, 2:45 am

ExtraT wrote:

> Hello All,
>
> I am trying to get a Iomega HDD 80GB portable USB hard drive working
> on a pc with Redhat 9.0
>
> How do I mount it??


Red Hat will see the drive as a scsi disk, what I usually do
is plug in the hard drive and use "dmesg" to get the
device name, suppose dmesg says the scsi device it points
to is sda, then you'd mount with (assuming the format is ext3)

mount -t ext3 /dev/sda /mnt/usbdrive

(assuming the mount directory you made is /mnt/usbdrive)

Once you see this working, put a permanent entry in the
/etc/fstab file

/dev/sda /mnt/usbdrive ext3 noauto,users 0 0

note the "users" is useful because then you don't have
to be root to do mounting and unmounting of it
(I know Fedora does this, I'm assuming RH 9 can do that)

You can get away with mounting it via:

mount /mnt/usbdrive

Mark

Rincewind

2005-03-10, 5:45 pm

On Wed, 09 Mar 2005 22:42:35 -0400, ExtraT mumbled something like this:

> Hello All,
>
> I am trying to get a Iomega HDD 80GB portable USB hard drive working on a
> pc with Redhat 9.0
>
> How do I mount it??
>
> TIA!!


I believe USB storage devices show up to the system as scsi drives.

Assuming the drive is formatted as FAT32, the command you want is probably:

mount -t vfat /dev/sda1 /path_to_mountpoint

--
Rinso
/\
/ \
/wizz\
~~~~~~~~~~~~

ExtraT

2005-03-11, 5:45 pm

On Thu, 10 Mar 2005 03:07:45 GMT, Gumby <none@xxxyy.com> wrote:

>ExtraT wrote:
>
>
>Red Hat will see the drive as a scsi disk, what I usually do
>is plug in the hard drive and use "dmesg" to get the
>device name, suppose dmesg says the scsi device it points
>to is sda, then you'd mount with (assuming the format is ext3)
>
>mount -t ext3 /dev/sda /mnt/usbdrive
>
>(assuming the mount directory you made is /mnt/usbdrive)
>
>Once you see this working, put a permanent entry in the
>/etc/fstab file
>
>/dev/sda /mnt/usbdrive ext3 noauto,users 0 0
>
>note the "users" is useful because then you don't have
>to be root to do mounting and unmounting of it
>(I know Fedora does this, I'm assuming RH 9 can do that)
>
>You can get away with mounting it via:
>
>mount /mnt/usbdrive
>
>Mark


Thanks Mark,

I browsed dmesg output but couldn't see any reference to the USB
drive, or at least nothing looked anything like it to my linux
beginner's eyes.

I am at another pc, otherwise I'd include the output in this msg.
I will do so when at home later.

I did create a mountpoint with the name usbdrive, tried to mount it
as you mentioned, but instead with vfat filesystem because the drive
has data on it written by XP. (mount -t vfat /dev/sda /mnt/usbdrive)
It did not work.

It is a Iomega HDD 80GB usb portable drive and trying to get it to
work on a IBM Netvista 6823-MAU.




Lenard

2005-03-11, 5:45 pm

ExtraT wrote:

> I did create a mountpoint with the name usbdrive, tried to mount it
> as you mentioned, but instead with vfat filesystem because the drive
> has data on it written by XP. (mount -t vfat /dev/sda /mnt/usbdrive)
> It did not work.


Is the disk formatted as NTFS???

Quick test the drive and check to see if it is recognized or not;

/sbin/fdisk -l /dev/sd*

In addition try something like; mount -t vfat /dev/sda1 /mnt/usbdrive
(hint let the output of the fdisk command be your guide)


--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
Rincewind

2005-03-21, 7:45 am

On Fri, 11 Mar 2005 16:35:58 -0400, ExtraT mumbled something like this:

> On Thu, 10 Mar 2005 03:07:45 GMT, Gumby <none@xxxyy.com> wrote:
>
>
> Thanks Mark,
>
> I browsed dmesg output but couldn't see any reference to the USB drive, or
> at least nothing looked anything like it to my linux beginner's eyes.
>
> I am at another pc, otherwise I'd include the output in this msg. I will
> do so when at home later.
>
> I did create a mountpoint with the name usbdrive, tried to mount it as you
> mentioned, but instead with vfat filesystem because the drive has data on
> it written by XP. (mount -t vfat /dev/sda /mnt/usbdrive) It did not work.
>
> It is a Iomega HDD 80GB usb portable drive and trying to get it to work on
> a IBM Netvista 6823-MAU.


Your mount effort shown below is probably wrong:

> mount -t vfat /dev/sda /mnt/usbdrive


It should probably be:

mount -t vfat /dev/sda1 /mnt/usbdrive
--
Rinso
/\
/ \
/wizz\
~~~~~~~~~~~~

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com