compiling on nfs directories

Adam Vande More amvandemore at gmail.com
Thu Dec 18 15:37:31 UTC 2014


On Thu, Dec 18, 2014 at 9:29 AM, Alan Somers <asomers at freebsd.org> wrote:
>
> On Wed, Dec 17, 2014 at 6:54 PM, Russell L. Carter <rcarter at 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


Using a flash drive or temporary drive seems like a much more comprehensive
test as you can fully eliminate ZFS from the picture.  Which is the point
of the exercise.

-- 
Adam


More information about the freebsd-net mailing list