Michael Schuster
2008-Nov-06 18:03 UTC
[zfs-discuss] zfs (u)mount conundrum with non-existent mountpoint
all, I''ve gotten myself into a fix I don''t know how to resolve (and I can''t reboot the machine, it''s a build server we share): $ zfs list -r tank/schuster NAME USED AVAIL REFER MOUNTPOINT tank/schuster 17.6G 655G 5.83G /exportz/schuster tank/schuster/ilb 5.72G 655G 5.72G /exportz/schuster/ilb tank/schuster/ip_wput_local 6.06G 655G 6.06G /exportz/schuster/ip_wput_local note the 2nd one. $ ls -las /exportz/schuster/ total 20 4 drwxr-xr-x 5 schuster staff 5 Nov 6 09:38 . 4 drwxrwxrwt 15 ml37995 staff 15 Sep 28 05:21 .. 4 drwxr-xr-x 9 schuster staff 12 Nov 6 08:46 ilb_hg 4 drwxr-xr-x 8 schuster staff 12 Oct 31 10:07 ip_wput_local 4 drwxr-xr-x 9 schuster staff 11 Sep 11 13:06 old_ilb $ oops, no "ilb/" subdirectory. $ zfs mount | grep schuster tank/schuster /exportz/schuster tank/schuster/ilb /exportz/schuster/ilb tank/schuster/ip_wput_local /exportz/schuster/ip_wput_local $ mount | grep schuster /exportz/schuster on tank/schuster ... /exportz/schuster/ilb on tank/schuster/ilb ... /exportz/schuster/ip_wput_local on tank/schuster/ip_wput_local ... $ I''ve tried creating an ilb subdir, as well as "set mountpoint"ing, all to no avail, so far; "zfs unmount" also fails, even with -f. I''ve unshared the FS, still no luck, as with "zfs rename". I don''t want to "zfs destroy" tank/schuster/ilb before I''ve had a chance to check what''s inside ... this is snv_89, btw. zfs and zpool are at current revisions (3 and 10, resp.). does anyone have any hints what I could do to solve this? TIA Michael -- Michael Schuster http://blogs.sun.com/recursion Recursion, n.: see ''Recursion''
Mark J Musante
2008-Nov-06 18:20 UTC
[zfs-discuss] zfs (u)mount conundrum with non-existent mountpoint
Hi Michael, Did you try doing an export/import of tank? On Thu, 6 Nov 2008, Michael Schuster wrote:> all, > > I''ve gotten myself into a fix I don''t know how to resolve (and I can''t > reboot the machine, it''s a build server we share): > > $ zfs list -r tank/schuster > NAME USED AVAIL REFER MOUNTPOINT > tank/schuster 17.6G 655G 5.83G /exportz/schuster > tank/schuster/ilb 5.72G 655G 5.72G /exportz/schuster/ilb > tank/schuster/ip_wput_local 6.06G 655G 6.06G > /exportz/schuster/ip_wput_local > > note the 2nd one. > > $ ls -las /exportz/schuster/ > total 20 > 4 drwxr-xr-x 5 schuster staff 5 Nov 6 09:38 . > 4 drwxrwxrwt 15 ml37995 staff 15 Sep 28 05:21 .. > 4 drwxr-xr-x 9 schuster staff 12 Nov 6 08:46 ilb_hg > 4 drwxr-xr-x 8 schuster staff 12 Oct 31 10:07 ip_wput_local > 4 drwxr-xr-x 9 schuster staff 11 Sep 11 13:06 old_ilb > $ > > oops, no "ilb/" subdirectory. > > $ zfs mount | grep schuster > tank/schuster /exportz/schuster > tank/schuster/ilb /exportz/schuster/ilb > tank/schuster/ip_wput_local /exportz/schuster/ip_wput_local > $ mount | grep schuster > /exportz/schuster on tank/schuster ... > /exportz/schuster/ilb on tank/schuster/ilb ... > /exportz/schuster/ip_wput_local on tank/schuster/ip_wput_local ... > $ > > I''ve tried creating an ilb subdir, as well as "set mountpoint"ing, all to > no avail, so far; "zfs unmount" also fails, even with -f. I''ve unshared the > FS, still no luck, as with "zfs rename". > > I don''t want to "zfs destroy" tank/schuster/ilb before I''ve had a chance to > check what''s inside ... > > this is snv_89, btw. zfs and zpool are at current revisions (3 and 10, resp.). > > does anyone have any hints what I could do to solve this? > > TIA > Michael > -- > Michael Schuster http://blogs.sun.com/recursion > Recursion, n.: see ''Recursion'' > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >Regards, markm
Michael Schuster
2008-Nov-06 18:22 UTC
[zfs-discuss] zfs (u)mount conundrum with non-existent mountpoint
Mark J Musante wrote:> > Hi Michael, > > Did you try doing an export/import of tank?no - that would make it unavailable for use right? I don''t think I can (easily) do that during production hours. Michael -- Michael Schuster http://blogs.sun.com/recursion Recursion, n.: see ''Recursion''
Johan Hartzenberg
2008-Nov-06 18:59 UTC
[zfs-discuss] zfs (u)mount conundrum with non-existent mountpoint
On Thu, Nov 6, 2008 at 8:22 PM, Michael Schuster <Michael.Schuster at sun.com>wrote:> Mark J Musante wrote: > > > > Hi Michael, > > > > Did you try doing an export/import of tank? > > no - that would make it unavailable for use right? I don''t think I can > (easily) do that during production hours. >Can you please post the output from: zfs get all tank/schuster/ilb -- Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke My blog: http://initialprogramload.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20081106/9e6edeb3/attachment.html>
Michael Schuster
2008-Nov-06 19:11 UTC
[zfs-discuss] zfs (u)mount conundrum with non-existent mountpoint
Johan Hartzenberg wrote:> > > On Thu, Nov 6, 2008 at 8:22 PM, Michael Schuster > <Michael.Schuster at sun.com <mailto:Michael.Schuster at sun.com>> wrote: > > Mark J Musante wrote: > > > > Hi Michael, > > > > Did you try doing an export/import of tank? > > no - that would make it unavailable for use right? I don''t think I can > (easily) do that during production hours. > > > Can you please post the output from: > zfs get all tank/schuster/ilbNAME PROPERTY VALUE SOURCE tank/schuster/ilb type filesystem - tank/schuster/ilb creation Tue Sep 2 15:57 2008 - tank/schuster/ilb used 5.72G - tank/schuster/ilb available 662G - tank/schuster/ilb referenced 5.72G - tank/schuster/ilb compressratio 2.10x - tank/schuster/ilb mounted yes - tank/schuster/ilb quota none default tank/schuster/ilb reservation none default tank/schuster/ilb recordsize 128K default tank/schuster/ilb mountpoint /exportz/schuster/ilb inherited from tank tank/schuster/ilb sharenfs off local tank/schuster/ilb checksum on default tank/schuster/ilb compression on inherited from tank tank/schuster/ilb atime on default tank/schuster/ilb devices on default tank/schuster/ilb exec on default tank/schuster/ilb setuid on default tank/schuster/ilb readonly off default tank/schuster/ilb zoned off default tank/schuster/ilb snapdir hidden default tank/schuster/ilb aclmode groupmask default tank/schuster/ilb aclinherit restricted default tank/schuster/ilb canmount on default tank/schuster/ilb shareiscsi off default tank/schuster/ilb xattr on default tank/schuster/ilb copies 1 default tank/schuster/ilb version 3 - tank/schuster/ilb utf8only off - tank/schuster/ilb normalization none - tank/schuster/ilb casesensitivity sensitive - tank/schuster/ilb vscan off default tank/schuster/ilb nbmand off default tank/schuster/ilb sharesmb off default tank/schuster/ilb refquota none default tank/schuster/ilb refreservation none default -- Michael Schuster http://blogs.sun.com/recursion Recursion, n.: see ''Recursion''