Having Problems Mounting my External Hard-Disk

Having Problems Mounting my External Hard-Disk

sara fink sara.fink at gmail.com
Sat Jul 25 16:22:53 IDT 2009


Hi Shlomi

Your  /etc/fstab suggests that the usb hd isn't mounted automatically
upon boot. So when you mount as root sometimes you can specify ext3 as
filesystem and sometimes you don't need. I had this case once. This
was solved.

as root mount /dev/sdd1 /mnt/external or mount -t ext3 /dev/sdd1 /mnt/external

>From dmesg it appears as sg5 try to do ls -l /dev/sg* to see if you
have some symlink to any device number of sdd. Maybe it was changed
from sdd1 to sdd2 or other? you have some timing estimation from
dmesg? Maybe the output of dmesg is older and sdd became sde or other?

to get an information to my previous question try to run

ls -l /dev/sd*

try to run lsusb and see if the hd is seen at all. There might be a
simple cable issue.

If  it appears in lsusb maybe you should consider this line in fstab:
none                    /proc/bus/usb   usbfs
devgid=1014,devmode=664 0 0

Good Luck

On 7/25/09, Shlomi Fish <shlomif at iglu.org.il> wrote:
> Hi all!
>
> I have an external USB hard-disk ( Maxtor 500 GB). Up to a few weeks ago, I
> was able to mount it and access it properly on my Mandriva Cooker system.
> Recently, however I got this error:
>
> {{{{{{{{{{{
> shlomi:~$ echo "Before connecting the external disk"
> Before connecting the external disk
> shlomi:~$ cat /etc/fstab | grep external
> /dev/sdd1      /mnt/external       ext3    rw,noauto,user  1 0
> shlomi:~$ mount /mnt/external/
> mount: special device /dev/sdd1 does not exist
> shlomi:~$ echo "Connecting external disk"
> Connecting external disk
> shlomi:~$ mount /mnt/external/
> mount: /dev/sdd1 already mounted or /mnt/external busy
> shlomi:~$ dmesg | tail
> scsi 4:0:0:0: Direct-Access     Maxtor   OneTouch         0125 PQ: 0 ANSI: 4
> sd 4:0:0:0: Attached scsi generic sg5 type 0
> usb-storage: device scan complete
> sd 4:0:0:0: [sdd] 976773168 512-byte hardware sectors: (500 GB/465 GiB)
> sd 4:0:0:0: [sdd] Write Protect is off
> sd 4:0:0:0: [sdd] Mode Sense: 2d 08 00 00
> sd 4:0:0:0: [sdd] Assuming drive cache: write through
> sd 4:0:0:0: [sdd] Assuming drive cache: write through
>  sdd: sdd1
> sd 4:0:0:0: [sdd] Attached SCSI disk
> shlomi:~$ mount /dev/sde1 /mnt/external/
> mount: only root can do that
> shlomi:~$ mount
> /dev/sdc1 on / type xfs (rw)
> none on /proc type proc (rw)
> /dev/sdc2 on /home type xfs (rw)
> /dev/sdc5 on /mnt/Test-fedora type ext3 (rw,nosuid)
> /dev/sdc6 on /mnt/archlinux type ext3 (rw,nosuid)
> /dev/sdb3 on /mnt/kubuntu type xfs (rw,nosuid)
> /dev/sdb1 on /mnt/old-mandriva type xfs (rw,nosuid)
> /dev/sda1 on /mnt/win_c type vfat
> (rw,uid=502,gid=502,iocharset=iso8859-8,codepage=862,umask=002)
> /dev/sda5 on /mnt/win_d type vfat
> (rw,uid=502,gid=502,iocharset=iso8859-8,codepage=86,umask=002)
> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
> gvfs-fuse-daemon on /home/shlomi/.gvfs type fuse.gvfs-fuse-daemon
> (rw,nosuid,nodev,user=shlomi)
> shlomi:~$
> }}}}}}}}}}}}}}}}}}}}}}}
>
> Can anyone tell me what's wrong? I'm using:
>
> {{{
> Linux telaviv1.shlomifish.org 2.6.30.2-desktop-1mnb #1 SMP Mon Jul 20
> 23:44:44
> EDT 2009 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GNU/Linux
> }}}
>
> Regards,
>
> 	Shlomi Fish
>
> --
> -----------------------------------------------------------------
> Shlomi Fish       http://www.shlomifish.org/
> Rethinking CPAN - http://xrl.us/bjn7p
>
> God gave us two eyes and ten fingers so we will type five times as much as
> we
> read.
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>



More information about the Linux-il mailing list