[Bug 208882] zfs root filesystem mount failure on startup in FreeBSD 10.3-RELEASE if USB hdd with zpool is attached to another port

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 19 10:15:53 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208882

Julian Elischer <julian at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |julian at FreeBSD.org

--- Comment #9 from Julian Elischer <julian at FreeBSD.org> ---
I confirm that the retry strategy for ZFS (I did not try nfs) does wor
effectively, and you don't need to wait the 300 seconds. (mine had to wait 3
seconds)
I changed the code to only print out the message every 50 retries as any
message becomes obnoxious when printed 10 time per second.

> 			if (err_stride <= 0 ) {
> 					printf("Mounting from %s:%s failed with error %d. "
> 			    	"%d seconds left. Retrying.\n", fs, dev, error,
> 			    	timeout / hz);
> 			}
> 			err_stride += 1;
> 			err_stride %= 50;
> 			pause("rmzfs", delay);

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list