>> What's pool5/fs1's actual mount point?  (
root@zns2-n2:/var/adm# zfs get mountpoint pool5/fs1
NAME       PROPERTY    VALUE       SOURCE
pool5/fs1  mountpoint  /pool5/fs1  local

>> Does that directory contain something?
root@zns2-n2:/var/adm# ls -la /pool5/fs1/
total 1
drwxr-xr-x 2 root root 2 Mar 16 14:39 .
drwxr-xr-x 4 root root 4 Mar 17 05:55 ..


And I also try to mount it to another location, but I can't do that

root@zns2-n2:/var/adm# zfs set mountpoint=/pool5/new_fs1 pool5/fs1
cannot mount 'pool5/fs1': mountpoint or dataset is busy
property may be set but unable to remount filesystem

root@zns2-n2:/var/adm# zfs set mountpoint=none pool5/fs1
root@zns2-n2:/var/adm# zfs set mountpoint=/pool5/new_fs1_1 pool5/fs1
cannot mount 'pool5/fs1': mountpoint or dataset is busy
property may be set but unable to remount filesystem

>>  I'd quiesce any process that writes there, and make sure it didn't race
to write there while you were mounting pool5/fs1.
I do not see any processes that open files in /pool5/* directories ( I'm
using pfiles utility to check it)


пт, 17 мар. 2017 г. в 15:52, Dan McDonald <dan...@omniti.com>:

>
> > On Mar 17, 2017, at 7:14 AM, Artem Penner <apenner...@gmail.com> wrote:
> >
> > root@zns2-n2:/root# zfs list pool5/fs1
> > NAME        USED  AVAIL  REFER  MOUNTPOINT
> > pool5/fs1  3.90T  44.1T  3.90T  /pool5/fs1
> >
> > root@zns2-n2:/root# zfs mount pool5/fs1
> > cannot mount 'pool5/fs1': mountpoint or dataset is busy
> > root@zns2-n2:/root# zfs umount pool5/fs1
> > cannot unmount 'pool5/fs1': not currently mounted
>
> What's pool5/fs1's actual mount point?  ("zfs get mountpoint pool5/fs1")?
> Does that directory contain something?  I'd quiesce any process that writes
> there, and make sure it didn't race to write there while you were mounting
> pool5/fs1.
>
> Dan
>
>
_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss

Reply via email to