Date: Tue, 12 Mar 2019 18:48:39 +0200 From: Andriy Gapon <avg@FreeBSD.org> To: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net> Cc: =?UTF-8?Q?Trond_Endrest=c3=b8l?= <Trond.Endrestol@fagskolen.gjovik.no>, FreeBSD current <freebsd-current@freebsd.org> Subject: Re: ZFS no longer mounted in alphanumerical order Message-ID: <61154c02-2b53-5a6d-51a0-887e266779d1@FreeBSD.org> In-Reply-To: <201903121640.x2CGePWv015807@gndrsh.dnsmgr.net> References: <201903121640.x2CGePWv015807@gndrsh.dnsmgr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/03/2019 18:40, Rodney W. Grimes wrote: >> On 12/03/2019 11:37, Trond Endrest?l wrote: >>> # Parallel mounting of ZFS filesystems leaves a chaotic listing of >>> # mounted filesystems when viewed by df(1). >> >> df reports filesystems in the order they were mounted. >> If you unmount and remount a filesystem or mount a new filesystem, you can see >> it for yourself. Also, if you ever used fstab then you could see that too. >> Just because previously the output happened to look like it was sorted does not >> mean that it was or that there was such an intention. > > Valid point. So how do I control the order of mounts of zfs? If you really want / need / have to do it, then disable ZFS auto mounting in one of multiple ways (zfs_enable="NO", canmount=noauto, mountpoint=legacy) and use your own script or fstab to mount ZFS filesystems. Personally, I do not see any reason to do that as long as all my ZFS filesystems are properly mounted at expected mount points. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?61154c02-2b53-5a6d-51a0-887e266779d1>