Date: Sat, 16 Aug 2014 12:12:00 +0300 From: Anton Sayetsky <vsjcfm@gmail.com> To: Thomas Schweikle <tschweikle@gmail.com> Cc: freebsd-fs <freebsd-fs@freebsd.org> Subject: Re: zfs only mounting "root" after reboot Message-ID: <CAFG2KCLjwnaLnYBLmYu%2Bc7sBvwZcjaHhmhUAgoWTW9dGyUXz8A@mail.gmail.com> In-Reply-To: <CA%2BrGx5c4XSvuFRVMuL1Kmbdo%2B0ETYEQneN21VWUeEOOGKboedw@mail.gmail.com> References: <CA%2BrGx5c4XSvuFRVMuL1Kmbdo%2B0ETYEQneN21VWUeEOOGKboedw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
man rc.conf /zfs_enable 2014-08-16 12:00 GMT+03:00 Thomas Schweikle <tschweikle@gmail.com>: > Hi! > > I've managed to setup freebsd using zfs for root about one year ago. > Everything was fine until about three weeks ago. Since then the system > boot up, but doesn't mount the whole pool, but only zfs:zroot to "/". > > Here is my config: > # zpool status > pool: zroot > state: ONLINE > status: Some supported features are not enabled on the pool. The pool can > still be used, but some features are unavailable. > action: Enable all features using 'zpool upgrade'. Once this is done, > the pool may no longer be accessible by software that does not support > the features. See zpool-features(7) for details. > scan: scrub repaired 0 in 0h20m with 0 errors on Sat Aug 16 09:48:37 2014 > config: > > NAME STATE READ WRITE CKSUM > zroot ONLINE 0 0 0 > gptid/9b82dab2-fae0-11e3-91bd-005056a52112 ONLINE 0 0 0 > > errors: No known data errors > > # zfs mount > zroot / > > after booting into single user, then issuing "zfs mount -a": > zfs mount > zroot / > zroot/tmp /tmp > zroot/usr /usr > zroot/usr/home /usr/home > zroot/usr/ports /usr/ports > zroot/usr/ports/distfiles /usr/ports/distfiles > zroot/usr/ports/packages /usr/ports/packages > zroot/usr/src /usr/src > zroot/var /var > zroot/var/crash /var/crash > zroot/var/db /var/db > zroot/var/db/pkg /var/db/pkg > zroot/var/empty /var/empty > zroot/var/log /var/log > zroot/var/mail /var/mail > zroot/var/run /var/run > zroot/var/tmp /var/tmp > > This looks ways better. CTRL-D makes the system boot to full multiuser. > > # zfs list > NAME USED AVAIL REFER MOUNTPOINT > zroot 21.6G 49.6G 1.43G legacy > zroot/tmp 402M 49.6G 402M /tmp > zroot/usr 17.5G 49.6G 12.1G /usr > zroot/usr/home 288K 49.6G 288K /usr/home > zroot/usr/ports 3.15G 49.6G 1.85G /usr/ports > zroot/usr/ports/distfiles 1.30G 49.6G 1.30G /usr/ports/distfiles > zroot/usr/ports/packages 144K 49.6G 144K /usr/ports/packages > zroot/usr/src 2.26G 49.6G 2.26G /usr/src > zroot/var 2.20G 49.6G 2.06G /var > zroot/var/crash 55.4M 49.6G 55.4M /var/crash > zroot/var/db 89.0M 49.6G 24.3M /var/db > zroot/var/db/pkg 64.7M 49.6G 64.7M /var/db/pkg > zroot/var/empty 144K 49.6G 144K /var/empty > zroot/var/log 472K 49.6G 472K /var/log > zroot/var/mail 144K 49.6G 144K /var/mail > zroot/var/run 300K 49.6G 300K /var/run > zroot/var/tmp 532K 49.6G 532K /var/tmp > > In /boot/loader.conf: > # cat /boot/loader.conf > zfs_load="YES" > vfs.root.mountfrom="zfs:zroot" > > looks OK so far. "/boot/zpool.cache" does exist too: > # ll /boot/zpool.cache > -rw-r--r-- 1 root wheel 1184 Jun 23 16:32 /boot/zpool.cache > > And fstab doesn't reference zfs at all: > # cat /etc/fstab > # Device Mountpoint FStype Options > Dump Pass# > /dev/acd0 /cdrom cd9660 ro,noauto > 0 0 > # > linproc /compat/linux/proc linprocfs rw,noauto > 0 0 > fdesc /dev/fd fdescfs rw,noauto > 0 0 > > # > /dev/gpt/swap0 none swap sw > 0 0 > > Since it worked for a long time and nothing really changed -- what > might be missing zfs not automounting the whole pool "zroot" at > bootup, only mounting zfs:zroot? And since google wasn't helpful at > all -- how to fix this? > > -- > Thomas > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFG2KCLjwnaLnYBLmYu%2Bc7sBvwZcjaHhmhUAgoWTW9dGyUXz8A>