Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 14:48:28 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Chris Stankevitz <chrisstankevitz@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ZFS: pool vs FS
Message-ID:  <20140122204828.GA6033@dan.emsphone.com>
In-Reply-To: <CAPi0psvd++LdTf_STaAytnNSrwMWsj3dhM8Mho=Wb-XbAWojZw@mail.gmail.com>
References:  <CAPi0psvd++LdTf_STaAytnNSrwMWsj3dhM8Mho=Wb-XbAWojZw@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
In the last episode (Jan 22), Chris Stankevitz said:
> Please identify any incorrect statements:
> 
> 1. Filesystems, not pools, can be mounted
> 
> 2. "zpool create foo /dev/bar" makes new pool called foo
> 
> 3. (2) does not create a file system

"zpool create" does create a filesystem.  The manpage doesn't say so
explicitly, but does document the -O flag, which only makes sense if a
filessytem is created to apply the properties to:

  -O file-system-property=value [-O file-system-property=value] ...

        Sets the given file system properties in the root file system
        of the pool. See zfs(8) Properties for a list of valid prop-
        erties that can be set.

 
> 4. After (2), /foo is mounted and ready for writing
> 
> 5. (4) violates (1)

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20140122204828.GA6033>