LinuxQuestions.org
Visit Jeremy's Blog.
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 04-07-2004, 04:14 AM   #16
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled

You have to use sync in the mounting options or get into a habit of running sync before you unmount and disconnect the drive. Putting USB storage devices in the fstab file is not smart. Use hotplug to handle the mounting.

Also when I was copying 80+ GB files, both the source and the destination did freeze for a few seconds. I had to make a script to copy each file individually because if I did a recursive copy it will missed some files. I think there is a bug in the usb-storage, sd_mod and maybe the scsi module when working with large files and a few days of copying 50000+ files. Using dd and using its sync option to get a perfect copy of the file will might work better. Probably kernel 2.6.x version might fix the problems with USB.

I formatted my 120 GB hard drive as FAT32 under LINUX but it was through diskdruid. I did not get to the console in time and type ps ax to find out the command that it used. You can use Win98 format utility. It formats 120 GB hard drives just fine. I have not try running Wiin98 format utility in WINE.

I was not using an external usb brand. I was using a regular IDE hard drive and a USB to IDE board.
 
Old 04-11-2004, 03:53 PM   #17
nix21
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
Will it make a difference if the partition is logical or primary? I have a external 160gb maxtor with a 100gb NTFS primary and a 60gb FAT32 logical, that doesn't want to mount.
 
Old 04-11-2004, 05:44 PM   #18
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Its easier to get your files back when they are on the primary partition if the partition table got corrupted. It does not matter if you made one big logical partition or one big primary.

nix21, when you type fdisk -l for the USB drive. What does it list. I think you are trying to mount the extended partition. The extended partition is a container for logical partitions. The partition after the extended partition is the one you want to mount.
 
Old 04-12-2004, 08:37 AM   #19
nix21
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
Electro - I actually tried mounting all three.

sda1 was the container for sda2 - NTFS and sda5 - FAT32. So there seemed to be no reason why the normal

mount -t vfat /dev/sda5 /mnt

shouldn't have worked. Basically I decided that somehow the FAT partition may not have been formated correctly. So last night decided to re-format the FAT32 partition, luckily had only a few files on there that I could restore later. After the format I tried the mount command again and this time it worked!

So who knows what was wrong with it because I formated exaclty the same as I did the first time with Partition Magic in Windows. With the addition of a fstab entry the drive is now automounting correctly.
 
Old 05-09-2004, 07:00 PM   #20
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Rep: Reputation: 30
what filesystem is mac osx?
i have a 160gb Lacie hdd (with bungs of mac osx stuff including all my mp3's) which im trying to mount using fedora, mount -l /dev/sda /mnt/lacie
Code:
invalid argument
bogus cluster size 0
VFS: cant find a valid FAT filesystem on dev 08:01
mount: you must specify a file system type
one small problem... my system aslo has a scsi card, with a hard drive and a cd writer attached to it, neather of which are working in fedora at all at the moemnt... are theese problems related? how do i get everything working? can i have some food? chicken?

Last edited by crm; 05-09-2004 at 07:03 PM.
 
Old 05-31-2004, 10:23 AM   #21
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Quote:
Originally posted by BeckerB
Thanks for your help. Hope you don't mind a few more questions. Currently, my maxtor external drive seems to be somewhat detected; when I do a "mount", one of the returned lines is "usbdevfs on /proc/bus/usb type usbdevfs (rw)". I seem to be stuck trying to determine which /dev/file is associated with the usb device; if I could determine that, then I could put a record in /etc/fstab, unplug and replug the device, and see what happens. Any idea how to determine which /dev/file is associated with the usb device? The other line of thought is that there must be .conf file somewhere that determines the default mount parameters; if I could locate that and edit it, perhaps that would mount it correctly. Any suggestions? One last question: when I unplug the drive, are there any other steps I need to take, like unmounting the device first?
during installation of mandrake 9.1, if you specify "Standard" security, mandrake will automatically detect the attached maxtor drive and make it available automatically whenever you sign in. if you have a higher security level, you end up with read-only access.

initially i think i had to fiddle with hotplug in order to get it to detect and use the drive. other than that i don't know what to tell you concerning redhat other than make sure your usb support is uptodate and ofcourse pay special attention to your hotpug version. incidentally, most of the devices listed below are attached by way of external linksys usb hub and work great (except for the backpack now giving it needs a backpack rpm, a newer hotplug, but it's starting to wear out so i'm leaving it out for now)

hope this helps

- perry
 
Old 06-06-2004, 08:28 AM   #22
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Cool

this is what i got for an external 40 gig maxtor:

Code:
/dev/sdb1 /mnt/maxtor vfat iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
works pretty good

- perry
 
Old 06-22-2004, 08:56 PM   #23
rhettd
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Rep: Reputation: 0
Just wanted to add to this, I'm using mandrake 10.0 and have a 120GB maxtor one touch usb harddrive (NTFS) and was having some problems due to mandrake automatically mounting the drive incorrectly, but after deleting the entry for /mnt/removable in my fstab file, and putting in:
/dev/sda1 /mnt/removable ntfs user,umask=0,nls=iso8859-1,ro 0 0
users can mount (mount /dev/sda1) and access files on the drive fine! For some reason mandrake kept mounting it thinking it was fat32.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
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
Problem formatting and using Maxtor 5000LE external hard drive jwilde Linux - Hardware 1 08-11-2003 05:58 PM
External Hard drive: Maxtor 5000 DV 120GB enk0d Linux - Hardware 18 06-06-2003 11:15 AM

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

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