zfs root is not mounted automatically

Bruno Damour freebsd.ruomad at free.fr
Wed May 23 22:56:18 UTC 2007


Pawel Jakub Dawidek wrote:
> On Thu, May 17, 2007 at 08:52:59AM +0200, Bruno Damour wrote:
>   
>> Bruno Damour wrote:
>>     
>>> Hello,
>>> I have successfullty moved my root to zfs (some work, though) following Pawel instruction.
>>> Anyway, it still refuses to boot without asking root device from cmd line :
>>>
>>> acd0: DVDR <DVDRW IDE 16X/VER A091> at ata0-master UDMA66
>>> ad10: 238475MB <Seagate ST3250624AS 3.AAE> at ata5-master SATA150
>>> ad12: 305245MB <External Disk 0 RGL10364> at ata6-master SATA150
>>> pcm0: <HDA Codec: Realtek ALC882>
>>> pcm0: <HDA Driver Revision: 20070505_0044>
>>> WARNING: ZFS is considered to be an experimental feature in FreeBSD.
>>> SMP: AP CPU #1 Launched!
>>> Trying to mount root from zfs:system
>>>
>>> Manual root filesystem specification:
>>> <fstype>:<device>  Mount <device> using filesystem <fstype>
>>>                      eg. ufs:da0s1a
>>> ?                  List valid disk boot devices
>>> <empty line>       Abort manual input
>>>
>>> mountroot> ZFS filesystem version 6
>>> ZFS storage pool version 6
>>> zfs:system
>>> Trying to mount root from zfs:system
>>> fuse4bsd: version 0.3.0, FUSE ABI 7.8
>>>
>>> It first fails to mount my zfs:system
>>> I get the mountroot cmd line, and if I type zfs:system, boot resumes and completes allright.
>>>
>>> Any idea of how to get rid of this ?
>>>       
>
> Can you try this patch:
>
> 	http://people.freebsd.org/~pjd/patches/zfs_root.patch
>
>   
Works allright. I tested it with :
- normal boot
- single user boot
- verbose boot
and everything works as expected.

Thanks a lot for your work !
ZFS is great

Bruno




More information about the freebsd-current mailing list