View previous topic :: View next topic |
Author |
Message |
thomasvk Guru

Joined: 19 Mar 2005 Posts: 597
|
Posted: Fri Nov 07, 2008 10:35 am Post subject: mount by label: it says /dev/sdd1 can't be found |
|
|
Hi,
I am trying to mount a USB disk. The disk has just one partition, labeled 'usbdisk'. I plug it in and dmesg tells me it's '/dev/sdb' with one partition '/dev/sdb1'. In my fstab I have:
Code: | LABEL=usbdisk /mnt/usbdisk ext3 noatime,user_xattr,noauto,user 0 0 |
When I try to mount it, it doesn't work
Code: | # mount /mnt/usbdisk/
mount: special device /dev/sdd1 does not exist
# mount LABEL=usbdisk
mount: special device /dev/sdd1 does not exist |
Why is it even looking at sdd, while the disk is sdb. Any suggestions? |
|
Back to top |
|
 |
dermund Apprentice


Joined: 28 Aug 2007 Posts: 205 Location: Sprawl
|
Posted: Sun Nov 09, 2008 10:52 am Post subject: |
|
|
Have you cross-checked the volume labels of sdb1 and sdd1 with vol_id ? |
|
Back to top |
|
 |
djinnZ Advocate


Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Sun Nov 09, 2008 2:03 pm Post subject: |
|
|
check if /dev/disk/by-label/usbdisk exist and the symlink point to the correct device. _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist  |
|
Back to top |
|
 |
thomasvk Guru

Joined: 19 Mar 2005 Posts: 597
|
Posted: Sun Nov 09, 2008 3:30 pm Post subject: |
|
|
Thank you both for your suggestions. I really hate these cases where it suddenly is automagically fixed, like it is now. I went to check the vol_id (reported usbstick of sdb1 and nothing for sdd1 as it's not connected) and checked the symlink (pointed in the right direction). I tried mounting again, and it worked.
I may never know now what caused the problems before. I had the problem for quite a while (years...) but never bothered to look into a solution. Not sure if I'm happy that it's fixed now.  |
|
Back to top |
|
 |
|