LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-02-2003, 11:26 PM   #1
enk0d
Member
 
Registered: May 2003
Location: Miami, Florida. U.S.A
Distribution: Slackware 9.1
Posts: 102

Rep: Reputation: 15
External Hard drive: Maxtor 5000 DV 120GB


Hi everyone

I brought myself a external hardrive but i am not sure if redhat 9 supports it seeing how it is a maxtor 5000 dv 120GB usb/firewire drive.

Has anyone had success mounting this drive? If so i would really appreciate a little help here.
 
Old 06-03-2003, 12:40 AM   #2
enk0d
Member
 
Registered: May 2003
Location: Miami, Florida. U.S.A
Distribution: Slackware 9.1
Posts: 102

Original Poster
Rep: Reputation: 15
well i was able ot get the module loaded for usb storage using modprobe usb-storage but i get a error when i try to mount it. Seeing how it isn't in the fstab you would think it is a good idea to add it but i am not sure if i used the right sequence for it but when i tried inputing

Code:
 

/dev/sda1    /mnt/usbhd       ext2            defaults   1   2
I save it and at start up i get a error why is that? and what can i do to get this drive up and running.
 
Old 06-03-2003, 05:23 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,698

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Shouldn't be any problems with the USB side. I don't know about firewire.

There are additional SCSI modules in addition to the mass storage module that are required. Can't remember off hand and I am not running linux at the moment.

Look at the output of dmesg. If everything is working you should see something about the drive being recognized. Or look at RH hardware detection GUI and see if the drive is present.

Did you partition and format the drive?
 
Old 06-03-2003, 10:38 AM   #4
enk0d
Member
 
Registered: May 2003
Location: Miami, Florida. U.S.A
Distribution: Slackware 9.1
Posts: 102

Original Poster
Rep: Reputation: 15
No how can i achieve this in RH 9 because i am not using windows on this pc got tired and fed up with all of it foolishness
 
Old 06-03-2003, 11:15 AM   #5
enk0d
Member
 
Registered: May 2003
Location: Miami, Florida. U.S.A
Distribution: Slackware 9.1
Posts: 102

Original Poster
Rep: Reputation: 15
I was able to recognize it under my mnt directory and access it but i am wondering though if there should be a entry for it in fstab or in mtab. i tried to put in the entry but i kept getting a error after rebooting and as for my dmesg out put this is what i got.

Code:
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 132k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Found IRQ 12 for device 00:0b.0
usb-ohci.c: USB OHCI at membase 0xe084a000, IRQ 12
usb-ohci.c: usb-00:0b.0, OPTi Inc. 82C861
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
hub.c: new USB device 00:0b.0-2, assigned address 2
hub.c: USB hub found
hub.c: 4 ports detected
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal
Adding Swap: 1044216k swap-space (priority -1)
hub.c: new USB device 00:0b.0-2.2, assigned address 3
usb.c: USB device 3 (vend/prod 0xd49/0x5020) is not claimed by any active driver.
hub.c: new USB device 00:0b.0-2.3, assigned address 4
input0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb1:4.0
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: Maxtor    Model: 5000DV v01.00.00  Rev: 0100
  Type:   Direct-Access                      ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
USB Mass Storage support registered.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
hdb: attached ide-cdrom driver.
hdb: ATAPI 40X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
hdc: attached ide-scsi driver.
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: Memorex   Model: 40MAXX 1248AJ     Rev: ZWS1
  Type:   CD-ROM                             ANSI SCSI revision: 02
parport0: PC-style at 0x378 [PCSPP,TRISTATE]

How can i correct that warning i am getting about my data itegrity not assured?
 
Old 06-03-2003, 11:18 AM   #6
enk0d
Member
 
Registered: May 2003
Location: Miami, Florida. U.S.A
Distribution: Slackware 9.1
Posts: 102

Original Poster
Rep: Reputation: 15
Oh i forgot to mention what i used to access this drive......

[code] mkdir /mnt/usbhd

mount -a /dev/sda1 /mnt/usbhd

When i looked at in the browser i noticed it said FAT32 can i format and partition this drive from the CL?
 
Old 06-03-2003, 03:47 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,698

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
The drive probably already was formated as FAT32 out of the box.

Don't think the data intregrity is a problem.

You can use the commands fdisk or cfdisk to partition the drive.
Run as root with the drive unmounted.

For ext2 use mke2fs /dev/sda and then tune2fs -j /dev/sda to convert to ext3
 
Old 06-04-2003, 10:36 PM   #8
enk0d
Member
 
Registered: May 2003
Location: Miami, Florida. U.S.A
Distribution: Slackware 9.1
Posts: 102

Original Poster
Rep: Reputation: 15
I am not sure what is going on with this drive because i would like to format it and partition it all over that is if i can do that i tried using the fdisk command mentioned above but everytimei try i get this following error that the cylinders are set to 14946 where as nothing is wrong with it but it is higher than 1024 and may cause problems for software that runs at boot time and also for partitioning software from other OS's

Is there something i am missing because as for actually partition the only thing i can find that can clarify each one is the /dev/sda1.

If this is my location for my usb mass storage what is needed to format and do i really need to seeing how i normally can mount it using the mount -a command as root.
 
Old 06-05-2003, 06:36 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,698

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
The 1024 cylinder warning is for bootloaders which isn't a problem for you.

Nope, no need to reformat if your satisified with the way it is working now.
 
Old 06-06-2003, 07:57 AM   #10
enk0d
Member
 
Registered: May 2003
Location: Miami, Florida. U.S.A
Distribution: Slackware 9.1
Posts: 102

Original Poster
Rep: Reputation: 15
Well i think i will need to format it because for some reason or the other i can't mount it anymore it tells me i need to specify a filesystem type when using the mount -a /dev/sda1 /mnt/usbhd command.

Now when i run the fdisk -l command this is what i get....................


Disk /dev/sda: 122.9 GB, 122941341696 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 14593 117218241 c Win95 FAT32 (LBA)

Disk /dev/hda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 2304 18402457+ 83 Linux
/dev/hda3 2305 2434 1044225 82 Linux swap


Now seeing how alot of people these days have data on their external drives and prefer not to format them this isn't the case here because what is on this drive i have a backup of so. The only thing is getting fdisk to work. Is there a way i can correct this issue quickly and easily?

And in case you were wondering about using munt -t vfat /dev/sda1 /mnt/usbhd i already tried it doesn't work.
 
Old 06-06-2003, 08:25 AM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,698

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
What are your exact error message.
 
Old 06-06-2003, 08:34 AM   #12
enk0d
Member
 
Registered: May 2003
Location: Miami, Florida. U.S.A
Distribution: Slackware 9.1
Posts: 102

Original Poster
Rep: Reputation: 15
Here is the error message i get........All of this happened when i tried the mke2fs command you gave me it froze my pc and when i tried restarting this is when all of this started not being to mount the drive
Code:
mount -a /dev/sda1 /mnt/usbhd/
mount: you must specify the filesystem type
 
Old 06-06-2003, 08:37 AM   #13
enk0d
Member
 
Registered: May 2003
Location: Miami, Florida. U.S.A
Distribution: Slackware 9.1
Posts: 102

Original Poster
Rep: Reputation: 15
And this is what is in my fstab
Code:
/dev/sda1              /mnt/usbhd               auto    noauto,owner,0 0
 
Old 06-06-2003, 08:44 AM   #14
enk0d
Member
 
Registered: May 2003
Location: Miami, Florida. U.S.A
Distribution: Slackware 9.1
Posts: 102

Original Poster
Rep: Reputation: 15
also when i try to use the mount -t vfat command this is what i get considering that right now after rebooting i can't mount the drive.

Code:
 

# mount -t vfat /dev/sda1 /mnt/usbhd/
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       or too many mounted file systems
 
Old 06-06-2003, 10:05 AM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,698

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
If you didn't use fdisk to change the filesystem type from fat32 to linux then that is probably why the computer locked up.
And now your partition isn't formatted correctly anymore.

You will need to use fdisk to change the filesystem type and then use mke2fs. Or use mkfs to format back to fat32.
 
  


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
no permissions to external hard drive Maxtor OneTouche II roler Linux - Hardware 4 11-08-2005 08:04 AM
Mounting an External Maxtor 120GB Hardrive cheetahman SUSE / openSUSE 7 04-08-2005 03:09 PM
Problem with a Maxtor 120GB External Hard Drive cheetahman Linux - Hardware 3 03-06-2005 06:25 PM
external hard drive - Maxtor naijaguy Linux - Hardware 2 08-23-2004 12:51 PM
formating 120gb external hard drive to ext2 is it possible? enk0d Slackware 3 11-09-2003 01:22 PM

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

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