Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mount by label: it says /dev/sdd1 can't be found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
thomasvk
Guru
Guru


Joined: 19 Mar 2005
Posts: 597

PostPosted: Fri Nov 07, 2008 10:35 am    Post subject: mount by label: it says /dev/sdd1 can't be found Reply with quote

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
View user's profile Send private message
dermund
Apprentice
Apprentice


Joined: 28 Aug 2007
Posts: 205
Location: Sprawl

PostPosted: Sun Nov 09, 2008 10:52 am    Post subject: Reply with quote

Have you cross-checked the volume labels of sdb1 and sdd1 with vol_id ?
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Sun Nov 09, 2008 2:03 pm    Post subject: Reply with quote

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:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
thomasvk
Guru
Guru


Joined: 19 Mar 2005
Posts: 597

PostPosted: Sun Nov 09, 2008 3:30 pm    Post subject: Reply with quote

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. :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum