Hi Timothy,
That didn't work either.

# zfs inherit mountpoint dataPool/SoftwareRepo
cannot unmount '/sw-repo1/dir2': Device busy

Regards
John

-----Original Message-----
From: Timothy Haley [mailto:tim.ha...@oracle.com] 
Sent: Wednesday, 21 April 2010 5:52 AM
To: Ryan John
Cc: zfs-discuss@opensolaris.org
Subject: Re: [zfs-discuss] Double slash in mountpoint

Ryan John wrote:
> Hi,
>
> I've accidentally put a double slash in a mountpoint, and now can't change it.
>
> # zfs list
> ...
> dataPool/SoftwareRepo         529G  31.3T  73.1K  /sw-repo1/
> dataPool/SoftwareRepo/dir1   6.10G  31.3T  6.10G  /sw-repo1//dir1
> dataPool/SoftwareRepo/dir2   26.0G  31.3T  25.7G  /sw-repo1//dir2
> ...
> # zfs get mountpoint dataPool/usrLocalSoftwareRepo
> NAME                           PROPERTY    VALUE       SOURCE
> dataPool/SoftwareRepo  mountpoint  /sw-repo1/  local
> # zfs set mountpoint=/sw-repo/ dataPool/SoftwareRepo
> cannot unmount '/sw-repo1/dir2': Device busy
>
> Anyone know how to fix it?
> I can't even do a zfs destroy
>
> I'm running snv_133
>
>   
Try zfs inherit mountpoint dataPool/SoftwareRepo
to reset the mountpoint.

-tim

> Cheers
> John
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>   


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to