Having Problems Mounting my External Hard-Disk
Shlomi Fish
shlomif at iglu.org.il
Sat Jul 25 21:32:36 IDT 2009
On Saturday 25 July 2009 16:22:53 sara fink wrote:
> 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
Same problem:
{{{
[root at telaviv1 shlomi]# mount -t ext3 /dev/sdd1 /mnt/external/mount:
/dev/sdd1 already mounted or /mnt/external/ busy
}}}
>
> 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?
>
{{{{{{{{{{
[root at telaviv1 shlomi]# ls -l /dev/sg*
crw-rw---- 1 shlomi cdwriter 21, 0 2009-07-25 10:42 /dev/sg0
crw-rw---- 1 shlomi cdwriter 21, 1 2009-07-25 10:42 /dev/sg1
crw-rw----+ 1 shlomi cdwriter 21, 2 2009-07-25 10:42 /dev/sg2
crw-rw----+ 1 shlomi cdwriter 21, 3 2009-07-25 10:42 /dev/sg3
crw-rw---- 1 shlomi cdwriter 21, 4 2009-07-25 10:42 /dev/sg4
crw-rw---- 1 shlomi cdwriter 21, 5 2009-07-25 21:20 /dev/sg5
}}}}}}}}}}}
> to get an information to my previous question try to run
>
> ls -l /dev/sd*
>
{{{{{{{
[root at telaviv1 shlomi]# ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 2009-07-25 10:42 /dev/sda
brw-rw---- 1 root disk 8, 1 2009-07-25 10:42 /dev/sda1
brw-rw---- 1 root disk 8, 2 2009-07-25 10:42 /dev/sda2
brw-rw---- 1 root disk 8, 5 2009-07-25 10:42 /dev/sda5
brw-rw---- 1 root disk 8, 16 2009-07-25 10:42 /dev/sdb
brw-rw---- 1 root disk 8, 17 2009-07-25 10:42 /dev/sdb1
brw-rw---- 1 root disk 8, 18 2009-07-25 10:42 /dev/sdb2
brw-rw---- 1 root disk 8, 19 2009-07-25 10:42 /dev/sdb3
brw-rw---- 1 root disk 8, 21 2009-07-25 10:42 /dev/sdb5
brw-rw---- 1 root disk 8, 32 2009-07-25 10:42 /dev/sdc
brw-rw---- 1 root disk 8, 33 2009-07-25 10:42 /dev/sdc1
brw-rw---- 1 root disk 8, 34 2009-07-25 10:42 /dev/sdc2
brw-rw---- 1 root disk 8, 35 2009-07-25 10:42 /dev/sdc3
brw-rw---- 1 root disk 8, 37 2009-07-25 10:42 /dev/sdc5
brw-rw---- 1 root disk 8, 38 2009-07-25 10:42 /dev/sdc6
brw-rw---- 1 root disk 8, 48 2009-07-25 21:20 /dev/sdd
brw-rw---- 1 root disk 8, 49 2009-07-25 21:20 /dev/sdd1
}}}}}}}}
> try to run lsusb and see if the hd is seen at all. There might be a
> simple cable issue.
>
{{{{{{{{
[root at telaviv1 shlomi]# lsusb
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 003: ID 0d49:7310 Maxtor
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
}}}}}}}
> If it appears in lsusb maybe you should consider this line in fstab:
> none /proc/bus/usb usbfs
> devgid=1014,devmode=664 0 0
>
I added this line but /proc/bus/usb seems to be already mounted.
None of this seems to have helped me.
Regards,
Shlomi Fish
> 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
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
http://www.shlomifish.org/humour/ways_to_do_it.html
God gave us two eyes and ten fingers so we will type five times as much as we
read.
More information about the Linux-il
mailing list