Modify

Opened 6 years ago

Closed 6 years ago

#10953 closed defect (no_response)

fstab mount fails at startup for USB HDD

Reported by: pjankows@… Owned by: developers
Priority: low Milestone:
Component: base system Version: 10.03.1
Keywords: fstab usb mount Cc:

Description

The fstab init script fails to mount an USB HDD at startup.

Executing manually:

/etc/init.d/fstab restart

mounts it correctly.

Changing the START variable in /etc/init.d/fstab to:

START=59

Solves the problem and now mount works correctly at startup.

My hardware is Linksys WRT160NL and WD Passport 160GB USB HDD.

Probable cause is that by default the fstab script gets started before usb. Maybe that drive also does not manage to spin up in time? Strange thing is that changing the usb script START priority to be lower than fstab did not solve the problem.

Please let me know if you would like me to attach any logs/files or do some more tests.

Attachments (0)

Change History (5)

comment:1 in reply to: ↑ description Changed 6 years ago by pjankows@…

Actaully a value of
START=46
is sufficient for fstab to work correctly.

Also it makes sense to start fstab after network and firewall. It probably can mount some remote filesystems like nfs etc. Network is obvious and firewall may setup additional rules that ex. make the nfs server reachable.

comment:2 Changed 6 years ago by anonymous

  1. install mount-hotplug. fstab not require usb, disks (block devices are mounted asynchronously
  2. blok-mount recognizes only block device, not network filesystem.

comment:3 Changed 6 years ago by pjankows@…

I installed block-hotpug and now it mounts without fstab init script correctly. This has some disadvantages however that some services that rely on mounted storage (like minidlna) may fail to start.

comment:4 Changed 6 years ago by nbd

please try latest trunk

comment:5 Changed 6 years ago by nbd

  • Resolution set to no_response
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.