Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2018 08:14:36 +0100
From:      Marko Turk <markoml@markoturk.info>
To:        Victor Sudakov <vas@mpeks.tomsk.su>
Cc:        Trond Endrest?l <Trond.Endrestol@fagskolen.gjovik.no>, FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: Dualboot and ZFS
Message-ID:  <20180119071436.GA148@vps.markoturk.info>
In-Reply-To: <20180119040545.GA44997@admin.sibptus.transneft.ru>
References:  <VI1PR02MB1200C7F0066F361E60A6CBEDF6EB0@VI1PR02MB1200.eurprd02.prod.outlook.com> <20180115144747.GA65526@admin.sibptus.transneft.ru> <VI1PR02MB120018D174817F8FFB2981D5F6EB0@VI1PR02MB1200.eurprd02.prod.outlook.com> <20180115151526.GA66342@admin.sibptus.transneft.ru> <a7920f859b666cff48f4f73ee1b2f954@dweimer.net> <20180116034929.GB89443@admin.sibptus.transneft.ru> <alpine.BSF.2.21.1801160934560.69908@mail.fig.ol.no> <20180118051423.GA94227@admin.sibptus.transneft.ru> <alpine.BSF.2.21.1801180938440.69908@mail.fig.ol.no> <20180119040545.GA44997@admin.sibptus.transneft.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--IS0zKkzwUGydFO0o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 19, 2018 at 11:05:45AM +0700, Victor Sudakov wrote:
> There is another issue that I don't understand. After creating the
> root zpool like the howtos (and you) recommend, I get a bootable
> system, but for some reason all the children datasets of the BE
> are not mounted after boot. Like this:
>=20
> root@test1:~ # mount
> zroot3/ROOT/default on / (zfs, local, nfsv4acls)
> devfs on /dev (devfs, local, multilabel)
> root@test1:~ #
>=20
> root@test1:~ # zfs list -o name,used,avail,refer,mountpoint,canmount,moun=
ted
> NAME                  USED  AVAIL  REFER  MOUNTPOINT  CANMOUNT  MOUNTED
> zroot3               1.05G  6.64G    23K  /zroot3           on       no
> zroot3/ROOT          1.05G  6.64G    23K  none              on       no
> zroot3/ROOT/default  1.05G  6.64G  1.05G  /                 on      yes
> zroot3/tmp             24K  6.64G    24K  /tmp              on       no
> zroot3/usr             92K  6.64G    23K  /usr             off       no
> zroot3/usr/home        23K  6.64G    23K  /usr/home         on       no
> zroot3/usr/ports       23K  6.64G    23K  /usr/ports        on       no
> zroot3/usr/src         23K  6.64G    23K  /usr/src          on       no
> zroot3/var            266K  6.64G    23K  /var             off       no
> zroot3/var/audit       23K  6.64G    23K  /var/audit        on       no
> zroot3/var/crash     23.5K  6.64G  23.5K  /var/crash        on       no
> zroot3/var/log        150K  6.64G   150K  /var/log          on       no
> zroot3/var/mail        23K  6.64G    23K  /var/mail         on       no
> zroot3/var/tmp         24K  6.64G    24K  /var/tmp          on       no
> root@test1:~ #
>=20
> What have I forgotten when creating the pools?
> This is how I did it: http://termbin.com/awuy
> Based on https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition
>=20
> I can mount all those datasets manually though:=20
>=20
> root@test1:~ # zfs mount zroot3/var/mail
> root@test1:~ # mount
> zroot3/ROOT/default on / (zfs, local, nfsv4acls)
> devfs on /dev (devfs, local, multilabel)
> zroot3/var/mail on /var/mail (zfs, local, nfsv4acls)
> root@test1:~ #
>=20
> But for some reason it's not happening on boot.
>=20

Hi,

take a look at:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/zfs-quickstart.h=
tml

/Marko

--IS0zKkzwUGydFO0o
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEhcgjUnLArcQCyVEgeDpsXaaozYgFAlphmtsACgkQeDpsXaao
zYhjcg//XJsjrte2zJm4EueEeNKqjYc0lFJGzQ75c7ZY6+BX4sbA4AkB24nvBRFl
qlexnEuG4+0WRhca/5hMr+ZsU5NiHsIspkzF33Bg87TvFHJIAatd5oEsVBPnixaK
krmSLdLSOQrrc7wgafrLDVvPq2FouirwSINxmVoTR0HEfikIR74KEI2evRn8gM4h
xIxfiHf2b/SLFYkO/A78ZC8ztidSbug6WNVbboXkhg+wseU8uge3MvskfGWoXwjh
k+XrANic2bccqd02AgrrICP+GQ1StDZBY01IoYlB/IwEgTwMxavblFaNnKPMSr7Y
LUjL4z3NnCNw/p91teDQwQMiNAPVETqPCFU7NDP/ty9g64STKAGiNDDDzJ/x0JDa
FwSrqKDimFjt7wgTUJ/7KfpFPUHhSvJfwgu+lewkfM8KYpf4nxCDmspfoLAsOiOH
nKUEe1LRHHGfgbtZlbyqvWbEE4ZezqlryVixM24XxrSwPkD5RkweNd16Rc/4z9u1
6CoIlMqDnLlIhHRIjwDs6B0r+iSgdbeKYG9sIy4+wa0BLBwlCW7XH15GiXcGW5sh
/z1DpsvTNxbNYf6ZxnQtK4o7gb+TnNHbqDZlvTnzXm2Clmuul2i1YMkNE1PmmHZS
ZwYnTGCo6b1WHxRZz9gr1+s46bR4fd9hACCVtFWHE9ZloDzSfaY=
=7xwU
-----END PGP SIGNATURE-----

--IS0zKkzwUGydFO0o--



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