Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2014 08:29:03 -0700
From:      Alan Somers <asomers@freebsd.org>
To:        "Russell L. Carter" <rcarter@pinyon.org>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: compiling on nfs directories
Message-ID:  <CAOtMX2gG4CA%2BFhDPcDb7b7vko6e_0mdjnXz7UBFF85TT2tWunw@mail.gmail.com>
In-Reply-To: <549233E2.7050009@pinyon.org>
References:  <1480362493.14973677.1418857654052.JavaMail.root@uoguelph.ca> <54922412.6090903@pinyon.org> <54922E49.4050906@egr.msu.edu> <549233E2.7050009@pinyon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 17, 2014 at 6:54 PM, Russell L. Carter <rcarter@pinyon.org> wrote:
>
>
> On 12/17/14 18:30, Adam McDougall wrote:
>>
>> On 12/17/2014 19:47, Russell L. Carter wrote:
>>>
>>>
>>>
>>> On 12/17/14 16:07, Rick Macklem wrote:
>>
>>
>>>> If this is using an exported ZFS volume, it would be nice if you
>>>> could do the same test using an exported UFS file system, to see if
>>>> this is ZFS related.
>>>
>>>
>>> It is indeed using exported ZFS filesystems, but unfortunately I have
>>> no USF filesystems available to test.
>>>
>>> Russell
>>
>>
>> Can you create a zvol, newfs it with ufs and export it?
>
>
> Maybe.  I would love to help if I can, w/o disrupting my existing
> carefully planned physical disk layouts.  I'm a zfs novice here, do I
> need free space unallocated to existing zpools, or can I shrink an
> existing pool?  (assuming that zfs can transmute lead into gold, with
> the right incantations).  I have plenty of "free" space allocated to
> existing pools that span my physical drives.
>
> If I have to add a physical drive (that's possible, but it will be a
> slow drive sitting on my shelf) then I need to wait until I get back
> from holiday travels.


You don't need to screw with your pools at all.  A zvol is like a
managed like a ZFS filesystem, except it's a block device.  You can
create one and mount it with a command like this:
zfs create -V 8g mypool/myvol
newfs [options] /dev/mypool/myvol
mount /dev/mypool/myvol /mnt

-Alan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2gG4CA%2BFhDPcDb7b7vko6e_0mdjnXz7UBFF85TT2tWunw>