Project

General

Profile

Actions

Bug #2872

open

zfs_mountroot should display more useful error messages

Added by Christopher Siden almost 11 years ago. Updated almost 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2012-06-13
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

When the system is booting zfs_mountroot() is called to mount the root file system, but if the kernel being booted does not support the pool version of the root file system the system will output a cryptic error message '48' (ENOTSUP) and exit.

zfs_mountroot() eventually calls spa_open() which gives us all of the version incompatibility information we need to display a helpful error message. If the code is re-organized a bit we could do the call to spa_open() in a way that would allow us to retain the version information we need to output a useful error message.

Actions #1

Updated by Christopher Siden almost 11 years ago

  • Category set to zfs - Zettabyte File System
Actions #2

Updated by Christopher Siden almost 11 years ago

  • Assignee deleted (Christopher Siden)
Actions

Also available in: Atom PDF