Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 May 2016 21:30:43 +1000
From:      Graham Menhennitt <graham@menhennitt.com.au>
To:        freebsd-current@freebsd.org
Subject:   Re: boot fails "Can't stat /dev/da0a: No such file or directory"
Message-ID:  <57273A63.8030900@menhennitt.com.au>
In-Reply-To: <20160502042647.GC36305@asus-home1.asus-home1.domain>
References:  <20160502042647.GC36305@asus-home1.asus-home1.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/05/2016 02:26 PM, Dave Males wrote:
> On 30/04/2016 06:53 PM, Graham Menhennitt wrote:
>> Hi all,
>>
>> I have a USB disk that I use for backup. Up till now, it's mounted
>> without any problems at boot time. After updating to -current as of
>> yesterday, it doesn't mount and causes the boot to fail.
>>
>> My /etc/fstab looks like:
>>
>>     # Device    Mountpoint    FStype    Options    Dump    Pass#
>>
>>     /dev/ada0s1a    /        ufs    rw    1    1
>>     /dev/ada0s1b    none        swap    sw    0    0
>>     /dev/da0a    /backup        ufs    rw,late    1    1
>>
>>
>> I tried adding the "late" to fix the problem, but it doesn't help.
>>
>> The error message is:
>>
>>     /dev/ada0s1a: clean...
>>     Can't stat /dev/da0a: No such file or directory
>>     Unknown error; help!
>>     ERROR: ABORTING BOOT (sending SIGTERM to parent)!
>>
>>
>> (hand transcribed - maybe typos)
>>
>> Can anybody help, please.
>>
>> Thanks,
>>     Graham
>> Sorry, I forgot to mention...
>>
>> I commented out that line from fstab which allows the boot to complete.
>> I can then manually mount it without any problems. It looks like the
>> device doesn't get created early enough.
>>
>> Graham
> Hi,
>
> I had the same error message with a USB storage drive, so I used kern.cam.boot_delay="10000" in /boot/loader.conf with success.
> My /etc/fstab is /dev/da1p1      /mnt/usb1       ufs     rw      2       2
> Have a look at /boot/defaults/loader.conf under Kernel tunables.
>
> Dave

Thanks very much for replying and for that info, Dave. It worked!

Thanks,
    Graham



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57273A63.8030900>