LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 07-28-2007, 08:19 PM   #1
Mr.mick-duck
Member
 
Registered: Aug 2004
Location: Saudi Arabia
Distribution: Mandrake
Posts: 60

Rep: Reputation: 15
Question External hard disk


Hi guys ,I am trying to run my toshiba external hard disk(usb) on mandriva 2007.1 ,but the system is not mounting this disk .
what could be the problem........
 
Old 07-28-2007, 08:43 PM   #2
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
Originally Posted by Mr.mick-duck
Hi guys ,I am trying to run my toshiba external hard disk(usb) on mandriva 2007.1 ,but the system is not mounting this disk .
what could be the problem........
It must be throwing some error. Please quote that here so that we can better understand the problem.


regards
 
Old 07-28-2007, 08:43 PM   #3
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
mdv 2007.1 reveals the flash drives, cdroms, dvd, and floppy in /media/

Are you able to see the drive in start/system/configure your computer/mount points?

Does your usb work on other things.

Try lsusb in a console to see if the device is listed.

To reveal what it should be connected to, type lspci. (lspci -v for "more")

That should list all devices connected to the pci bus.

My flash drive just works.

Regards, Glenn
 
Old 07-28-2007, 08:53 PM   #4
Lunate
LQ Newbie
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 16

Rep: Reputation: 0
You can also try to disconnect the drive, then connect it again and run dmesg as root in a console. It should say if the driver (usb_storage) detects the hard disk or not.
 
Old 07-28-2007, 09:19 PM   #5
Mr.mick-duck
Member
 
Registered: Aug 2004
Location: Saudi Arabia
Distribution: Mandrake
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by GlennsPref
mdv 2007.1 reveals the flash drives, cdroms, dvd, and floppy in /media/

Are you able to see the drive in start/system/configure your computer/mount points?

Does your usb work on other things.

Try lsusb in a console to see if the device is listed.

To reveal what it should be connected to, type lspci. (lspci -v for "more")

That should list all devices connected to the pci bus.

My flash drive just works.

Regards, Glenn

when i ran lsusb ,it showed that the system had recognized the device ,but it not shown in /mnt......

Quote:
[root@localhost saad]# lsusb
Bus 005 Device 004: ID 04cf:8818 Myson Century, Inc. Fast 3.5" External Storage
Bus 005 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 062a:0000 Creative Labs
Bus 001 Device 001: ID 0000:0000
 
Old 07-28-2007, 09:25 PM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
It should show in /media
 
Old 07-28-2007, 09:31 PM   #7
Mr.mick-duck
Member
 
Registered: Aug 2004
Location: Saudi Arabia
Distribution: Mandrake
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by GlennsPref
It should show in /media
No,it's not...
 
Old 07-28-2007, 11:24 PM   #8
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Are you able to see the drive in start/system/configure your computer/mount points/Create delete and resize harddisk partitions?

Last edited by GlennsPref; 07-28-2007 at 11:26 PM.
 
Old 07-29-2007, 12:55 AM   #9
Mr.mick-duck
Member
 
Registered: Aug 2004
Location: Saudi Arabia
Distribution: Mandrake
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by GlennsPref
Are you able to see the drive in start/system/configure your computer/mount points/Create delete and resize harddisk partitions?
yes ,i am able to see it ,but i can't use it.
i mean i can do every thing on it except browsing files.

Last edited by Mr.mick-duck; 07-29-2007 at 12:57 AM.
 
Old 07-29-2007, 04:51 AM   #10
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
OK. At least you know what it is called.

Can you mount the drive from /configure your computer/mount points/Create delete and resize harddisk partitions?

You may need to set a mount point.

This will give it a listing in /etc/fstab.

Also check there to see that is has or not.
 
Old 07-29-2007, 04:12 PM   #11
Mr.mick-duck
Member
 
Registered: Aug 2004
Location: Saudi Arabia
Distribution: Mandrake
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by GlennsPref
OK. At least you know what it is called.

Can you mount the drive from /configure your computer/mount points/Create delete and resize harddisk partitions?

You may need to set a mount point.

This will give it a listing in /etc/fstab.

Also check there to see that is has or not.
I mounted the partition ,but a msg appeared to say that i must format the partition which i don't want to.......
 
Old 07-29-2007, 04:14 PM   #12
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Can you please post exact error messages?
 
Old 07-29-2007, 04:22 PM   #13
Mr.mick-duck
Member
 
Registered: Aug 2004
Location: Saudi Arabia
Distribution: Mandrake
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Nylex
Can you please post exact error messages?
The msg was in arabic ,but it mean that :

if you don't do format for this partition,you will not be able to add anew files for it.

sorry because i can't tell you the exact msg...
 
Old 07-29-2007, 04:47 PM   #14
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Try manually mounting it (as root) before editing your /etc/fstab file. One common mistake is to try to mount the disk instead of a partition. You may have better luck using the partitioner program to mount the filesystem. It might identify the encoding used and select the proper options for you such as "nls=" or "utf8".

Before that, see if you can see the partition using konqueror.
Enter "sysinfo:/" in the address bar. All of the partitions should be listed. It could be listed by its label, if it has one, or as something like "120 GM Media". The second column will indicate the filesystem. You haven't told us the device (e.g. /dev/sdb1) or the filesystem (e.g. ext3). You can try right-clicking on the partition in the sysinfo:/ page and select mount.

Also, you can use the fdisk command to list the partitions on the disk, and the file command to indicate the filesystem on a partition.
sudo /usr/fdisk -l /dev/sda

sudo file -s /dev/sda1

If you decide to create an entry in /etc/fstab instead of using automount, I would recommend using certain options.
For a vfat or ntfs formatted partition use the user,uid,gid,dmask,fmask and noauto options. This will allow you to set the ownership and permissions on the partition. It will be the same for the entire partition. The noauto option will prevent a boot up failure if the drive isn't present (being an external drive).

Also, instead of a device name such as /dev/sda1, use either "UUID=" or "LABEL=" entries. You can discover the filesystem UUID number using udevinfo.
udevinfo -q env -n /dev/sda1
Here is an example:
Code:
udevinfo -q env -n /dev/sda1
ID_VENDOR=Maxtor_6
ID_MODEL=Y250P0
ID_REVISION=YAR4
ID_SERIAL=Maxtor_6_Y250P0_0332005C
ID_TYPE=disk
ID_BUS=usb
ID_PATH=pci-0000:00:02.2-usb-0:1:1.0-scsi-0:0:0:0
ID_EDD=int13_dev81
ID_FS_USAGE=filesystem
ID_FS_TYPE=xfs
ID_FS_VERSION=
ID_FS_UUID=b545812a-57af-43e8-bbd8-f9b43dd25fc8
ID_FS_LABEL=NetDisk
ID_FS_LABEL_SAFE=NetDisk
I could use either "UUID=b545812a-57af-43e8-bbd8-f9b43dd25fc8" or "LABEL=NetDisk" in the first column of the /etc/fstab entry for this filesystem.

If you do add an entry to /etc/fstab, you may need to manually mount it with a mount command, as in: "mount/media/greatmusic" or "mount /mnt/greatmusic" instead of doing so graphically. Maybe if you use a mount point in /mnt/ instead it won't conflict with an automatic mountpoint under /media/.

Last edited by jschiwal; 07-29-2007 at 04:56 PM.
 
  


Reply

Tags
harddisk, usb, usb disk


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
external hard disk aral Linux - Hardware 10 04-25-2006 02:44 AM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
mounting external hard disk ankit_mcgill Linux - Newbie 2 09-03-2005 11:04 PM
external hard disk interface tcma Linux - Hardware 1 12-06-2004 08:54 PM
External Hard Disk sajikwt Linux - Hardware 4 08-24-2004 03:43 AM


All times are GMT -5. The time now is 12:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration