• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Problem mounting usb-pen  (Read 1151 times)
loverdrive
Newbie
*

Karma: 0
Posts: 22


View Profile
« on: September 10, 2010, 03:14:24 AM »

Hi. I have the main system on SDCard, and i want to use the pen-usb like a storage for data.
I tried to mount this pen, adding this line in /etc/fstab:
Code:
UUID=c39f25d5-a77c-4b90-b31f-d8c30e7a0573      /media/pen    ext2    defaults  0    0
But when i start sheeva, in the boot log
Code:
[   27.336399] uncorrectable error :
[   27.339820] end_request: I/O error, dev mtdblock2, sector 1038328
[   27.346247] uncorrectable error :
[   27.349487] uncorrectable error :
[   27.352923] end_request: I/O error, dev mtdblock2, sector 1038272
[   27.359334] uncorrectable error :
[   27.362590] uncorrectable error :
[   27.366015] end_request: I/O error, dev mtdblock2, sector 1038320
[   27.372449] uncorrectable error :
[   27.375691] uncorrectable error :
[   27.379113] end_request: I/O error, dev mtdblock2, sector 1038328
[   27.385537] uncorrectable error :
[   27.388780] uncorrectable error :
[   27.392215] end_request: I/O error, dev mtdblock2, sector 1038328
[   27.399343] uncorrectable error :
[   27.402610] uncorrectable error :
[   27.406041] end_request: I/O error, dev mtdblock2, sector 1038328
mount: special device UUID=c39f25d5-a77c-4b90-b31f-d8c30e7a0573 does not exist
failed.

So i tried to change the uuid whit the name of device:
Code:
/dev/sda1       /media/pen   ext2   defaults   0  0
but i have the same error:

Code:
Mounting local filesystems...mount: special device /dev/sda1 does not exist
failed.

but if i give
Code:
mount /dev/sda1 /media/pen
when logged in, it mounted correctly.

could you help me to solve this problem?
Logged

sfzhi
Jr. Member
**

Karma: 1
Posts: 83


View Profile
« Reply #1 on: September 10, 2010, 04:00:16 AM »

It's exactly what the error message says: "device /dev/sda1 does not exist" yet.
It may take a couple of seconds for the device nodes for the partitions to be created, so you are trying to mount it too soon.

This kind of problems have been discussed here a lot. Search this forum for "usb mount delay" or something of that kind.
Logged

Lack of knowledge is not such a big problem, unwillingness to learn is.

birdman
Sr. Member
****

Karma: 4
Posts: 443


View Profile WWW
« Reply #2 on: September 10, 2010, 02:31:59 PM »

If you only want this available for personal use when you are logged in (rather than for use by a service) you can make the file-system mountable by users, only on request by things like:
Quote
LABEL=LinMax    /media/LinMax   ext3    users,noauto,exec

(I find using the file-system label better than using the UUID, as if I ever need to reformat the partition then remembering what to set the label to is simpler than tracking down the previous UUID and setting that.
Logged

Pages: [1]
Print
Jump to: