From owner-freebsd-fs@FreeBSD.ORG Wed Nov 5 08:26:28 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 490379CB for ; Wed, 5 Nov 2014 08:26:28 +0000 (UTC) Received: from mail-yk0-x22f.google.com (mail-yk0-x22f.google.com [IPv6:2607:f8b0:4002:c07::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0196A27B for ; Wed, 5 Nov 2014 08:26:28 +0000 (UTC) Received: by mail-yk0-f175.google.com with SMTP id q9so107940ykb.6 for ; Wed, 05 Nov 2014 00:26:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9ISG+kXUWAA77Fjje3Zb6lYRWPKq1JCxbjGBIhOCkAo=; b=v479HBkP9YopyOFP9H3IqLWeTFcpf8PVg+IO8TLPulqmL10fPs6HKmpYfTDKP91MxM tfyd3DyBS3YHcQBi8Ytkh0ddLra6o9vhRVGDFYdi3y4pw/4xj41bOQfVIA0CvPZGz8j0 nE7ul1kXbrdTUdD6lFlf0mJhB0sfe1XrwyfzQC7IXOFsSXynXGFLvkSpXlAdRpAebFId 9hndwayBssAYpY/uqWKCk0Sh2MAvIbGQE7hh4FT6JrjjVIshZp2Kk8vOWTws9ZjR0ulE aa4Th20xyYLn6Smt0RzUJjzIIVWKbMXQzrLhurSuKQqdJX+enjvGpAw3YVtvoKGEz/v5 +Q+Q== MIME-Version: 1.0 X-Received: by 10.236.63.70 with SMTP id z46mr2186724yhc.187.1415175987143; Wed, 05 Nov 2014 00:26:27 -0800 (PST) Received: by 10.170.156.139 with HTTP; Wed, 5 Nov 2014 00:26:27 -0800 (PST) In-Reply-To: References: <20141104072923.79140@smtp.new-ukraine.org> <20141104081924.GY9223@sludge.elizium.za.net> <20141105001214.31614@smtp.new-ukraine.org> Date: Wed, 5 Nov 2014 08:26:27 +0000 Message-ID: Subject: Re: why no automount for one zfs? From: krad To: Steven Hartland Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD FS X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2014 08:26:28 -0000 Basically its getting mounted 1st then zroot_z-hp/usr/home is getting mounted ontop of it and hiding it. You should consider putting zroot_z-hp/storage under the usr/home hierarchy as it will protect you to some degree from this scenario On 4 November 2014 23:31, Steven Hartland wrote: > So it is mounting it, its just being shadowed by the usr mount point as > /home is typically a symlink to /usr/home. > > Change your mount point to /usr/home/zeus/storage from /home/zeus/storage > and you should be good. > > On 5 November 2014 22:12, Zeus Panchenko wrote: > > > Hugo Lombard wrote: > > > > > On Tue, Nov 04, 2014 at 07:29:23AM +0200, Zeus Panchenko wrote: > > > > > > > > after reboot this very fs is listed as mounted but the mount > directory > > > > for it, is empty ... after umount/mount everything appears on it's > > > > expected place ... > > > > > > > > > > Could you perhaps show the output of "mount" before and after? > > > > > > > here it is > > > > 1. before umount/mount > > 1.1. zfs list > > NAME USED AVAIL REFER MOUNTPOINT > > zroot_z-hp 27.9G 81.4G 144K none > > zroot_z-hp/ROOT 8.42G 81.4G 144K none > > zroot_z-hp/ROOT/default 8.42G 81.4G 8.42G / > > zroot_z-hp/storage 8.52G 81.4G 8.52G /home/zeus/storage > > zroot_z-hp/tmp 291M 81.4G 291M /tmp > > zroot_z-hp/usr 9.35G 81.4G 144K /usr > > zroot_z-hp/usr/home 5.27G 81.4G 2.43G /usr/home > > zroot_z-hp/usr/ports 3.00G 81.4G 1.80G /usr/ports > > zroot_z-hp/usr/src 1.08G 81.4G 1.08G /usr/src > > zroot_z-hp/var 1.15G 81.4G 1017M /var > > zroot_z-hp/var/crash 148K 81.4G 148K /var/crash > > zroot_z-hp/var/log 5.99M 81.4G 5.99M /var/log > > zroot_z-hp/var/tmp 153M 81.4G 153M /var/tmp > > zroot_z-hp/ROOT/default on / (zfs, local, noatime, nfsv4acls) > > > > 1.2. df -h > > devfs on /dev (devfs, local, multilabel) > > zroot_z-hp/storage on /usr/home/zeus/storage (zfs, local, noatime, > > nfsv4acls) > > zroot_z-hp/tmp on /tmp (zfs, local, noatime, nosuid, nfsv4acls) > > zroot_z-hp/usr/home on /usr/home (zfs, local, noatime, nfsv4acls) > > zroot_z-hp/usr/ports on /usr/ports (zfs, local, noatime, nosuid, > nfsv4acls) > > zroot_z-hp/usr/src on /usr/src (zfs, local, noatime, noexec, nosuid, > > nfsv4acls) > > zroot_z-hp/var on /var (zfs, local, noatime, nfsv4acls) > > zroot_z-hp/var/crash on /var/crash (zfs, local, noatime, noexec, nosuid, > > nfsv4acls) > > zroot_z-hp/var/log on /var/log (zfs, local, noatime, noexec, nosuid, > > nfsv4acls) > > zroot_z-hp/var/tmp on /var/tmp (zfs, local, noatime, nosuid, nfsv4acls) > > > > 1.3. ls -al /home/zeus/storage > > total 41 > > drwxr-xr-x 2 root staff 2 Jul 20 21:37 . > > drwxr-xr-x 48 zeus staff 118 Nov 4 21:02 .. > > > > 2. after umount/mount > > 2.1. zfs list > > NAME USED AVAIL REFER MOUNTPOINT > > zroot_z-hp 27.9G 81.4G 144K none > > zroot_z-hp/ROOT 8.42G 81.4G 144K none > > zroot_z-hp/ROOT/default 8.42G 81.4G 8.42G / > > zroot_z-hp/storage 8.52G 81.4G 8.52G /home/zeus/storage > > zroot_z-hp/tmp 291M 81.4G 291M /tmp > > zroot_z-hp/usr 9.35G 81.4G 144K /usr > > zroot_z-hp/usr/home 5.27G 81.4G 2.43G /usr/home > > zroot_z-hp/usr/ports 3.00G 81.4G 1.80G /usr/ports > > zroot_z-hp/usr/src 1.08G 81.4G 1.08G /usr/src > > zroot_z-hp/var 1.15G 81.4G 1017M /var > > zroot_z-hp/var/crash 148K 81.4G 148K /var/crash > > zroot_z-hp/var/log 5.99M 81.4G 5.99M /var/log > > zroot_z-hp/var/tmp 153M 81.4G 153M /var/tmp > > zroot_z-hp/ROOT/default on / (zfs, local, noatime, nfsv4acls) > > > > 2.2. df -h > > devfs on /dev (devfs, local, multilabel) > > zroot_z-hp/tmp on /tmp (zfs, local, noatime, nosuid, nfsv4acls) > > zroot_z-hp/usr/home on /usr/home (zfs, local, noatime, nfsv4acls) > > zroot_z-hp/usr/ports on /usr/ports (zfs, local, noatime, nosuid, > nfsv4acls) > > zroot_z-hp/usr/src on /usr/src (zfs, local, noatime, noexec, nosuid, > > nfsv4acls) > > zroot_z-hp/var on /var (zfs, local, noatime, nfsv4acls) > > zroot_z-hp/var/crash on /var/crash (zfs, local, noatime, noexec, nosuid, > > nfsv4acls) > > zroot_z-hp/var/log on /var/log (zfs, local, noatime, noexec, nosuid, > > nfsv4acls) > > zroot_z-hp/var/tmp on /var/tmp (zfs, local, noatime, nosuid, nfsv4acls) > > zroot_z-hp/storage on /usr/home/zeus/storage (zfs, local, noatime, > > nfsv4acls) > > > > > > -- > > Zeus V. Panchenko jid:zeus@im.ibs.dn.ua > > IT Dpt., I.B.S. LLC GMT+2 (EET) > > > _______________________________________________ > 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" >