how to umount...

From: Safdar Mirza <smrz44_at_tsg.cbot.com>
Date: Fri Jul 06 2001 - 09:13:09 EDT
try following ...

unshare /backup
umount /backup
:) 
 > --__--__--
> 
> Message: 1
> Date: Thu, 05 Jul 2001 12:09:17 -0500
> From: Kyle Bresin <kbresin@go2call.com>
> To: sunmanagers@sunmanagers.org
> Subject: unresolved: Unable to umount nfs fs
> 
> 
> Thanks for all the responses!  However my problem remains...
> 
> Here's what I've tried:
> 
> Kathleen, David, Mike and Frank all recommended I install lsof to help
> me debug the problem.  Unfortunately, 'lsof /backup' reported nothing
> just like fuser...
> 
> Henrik and David suggested I check to make sure automount isn't causing
> the problem.  Very good suggestion, probably one of the first things I
> should have checked...  However, automount is not running and none of
> the configuration files mention /backup.
> 
> Several have suggested rebooting the box, which isn't an option for me
> since this is a production box ( I should've mentioned that ).
> 
> A couple people suggested unsharing the resource on the server, however, 
> I still get the same results...  Even after resharing the resource...
> 
> Also of mention is Mike who pointed out that lockfs can't be used on NFS
> FS anyways, which, now that I think about it makes tons of sense...
> 
> I myself am getting sort of desperate, and am tempted to edit the 
> /etc/mnttab directly, but somehow don't think that's the best idea in 
> the world...
> 
> Thanks again for all the help!
> 
> kyle.
> 
> Kyle Bresin
> Senior Solaris Systems Administrator
> Go2Call
> 
> Kyle Bresin wrote:
> 
>  >
>  > I have a Solaris 2.6 database which has a '/backup' directory that is
>  > mounted from a Solaris 2.6 fileserver.
>  >
>  > The fileserver is going away, and I'm trying to move the '/backup' mount
>  > point to the new fileserver.
>  >
>  > When I try to umount it says it's busy, however no processes show up
>  > when I run an 'fuser -c'.  I tried manually locking it with lockfs, but
>  > got a 'Inappropriate ioctl for device'...
>  >
>  > Anyone have any ideas?
>  >
>  > root@harp (/) % umount /backup
>  > nfs umount: /backup: is busy
>  > root@harp (/) % fuser -c /backup
>  > /backup:
>  > root@harp (/) % lockfs -h /backup
>  > /backup: Inappropriate ioctl for device
>  > root@harp (/) % umount /backup
>  > nfs umount: /backup: is busy
>  >
>  > kyle.
>  >
>  > Kyle Bresin
>  > Senior Solaris Systems Administrator
>  > Go2call.com
>  >
>  > _______________________________________________
>  > sunmanagers mailing list
>  > sunmanagers@sunmanagers.org
>  > http://www.sunmanagers.org/mailman/listinfo/sunmanagers
>  >
>  >
> 
> 
> 
> 
> 
> --__--__--
> 
> Message: 2
> From: "Dan Lee" <koinonia98@hotmail.com>
> To: sunmanagers@sunmanagers.org
> Subject: Summary: logrotate library error
> Date: Thu, 05 Jul 2001 13:14:08 -0400
> 
> Folks,
> 
> Sorry for the late summary.  Most people suggested to download popt-1.5 
> package.  I tried and it didn't work.  Others suggested to include directory 
> for libpopt.so.0 in my LD_LIBRARY_PATH search path.  This did the trick.   
> John Horn include it in his cron job.  Which works even better.
> 
> LD_LIBRARY_PATH=/usr/local/lib /usr/local/sbin/logrotate -s
>   /var/log/logrotate.status /etc/logrotate.conf
> 
> Thanks to all:
> McCaffity, Ray
> Ed Crotty
> JIM BLEVINS
> Valeriy Glinskiy
> Timothy Lorenc
> Shannon Ward
> Kevin Colagio
> Steven M. Christensen
> John Horne
> 
> -dan
> 
> 
> >On 29-Jun-2001 at 20:31:10 Dan Lee wrote:
> >I took a precompiled version of logrotate SMClogr 3.3 and installed > on my 
> >Solaris 8 server.  I am getting the following messages whenever I try to 
> >run logrotate:
> >
> >ld.so.1: /usr/local/bin/logrotate: fatal: libpopt.so.0: open failed: No 
> >such file or directory Killed
> >
> >Does anyone have experience with this?
> >
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
> 
> 
> --__--__--
> 
> Message: 3
> From: "Wilkinson, Daniel" <Daniel.Wilkinson@capgemini.co.uk>
> To: "Sunmanagers (E-mail)" <sunmanagers@sunmanagers.org>
> Subject: SUMMARY: GCC not able to create executables
> Date: Thu, 5 Jul 2001 18:57:39 +0100 
> 
> Various problems here, including:
> 
> * I fail to understand any aspect of C or compilers
> * Missing packages for 'as' and 'ld':
> for tools (sccs, lex, yacc, make, nm, truss, ld, as):
>      SUNWbtool, SUNWsprot, SUNWtoo
> for libraries & headers:
>      SUNWhea, SUNWarc, SUNWlibm, SUNWlibms,
>      SUNWdfbh, SUNWcg6h, SUNWxwinc, SUNWolinc,
>      SUNWxglh
> * Dodgy LD_LIBRARY_PATH
> 
> So I've sorted those, and It still won't compile, but for new reasons now.
> Summary over.
> 
> Thanks for everyones help.
> 
> --__--__--
> 
> Message: 4
> From: "Wilkinson, Daniel" <Daniel.Wilkinson@capgemini.co.uk>
> To: "Sunmanagers (E-mail)" <sunmanagers@sunmanagers.org>
> Subject: SUMMARY: Perhaps Off Topic (sorry) Searching Word Docs in Solaris
> Date: Thu, 5 Jul 2001 18:59:40 +0100 
> 
> 'catdoc' seemed to be the most popular, with many people reading my wooly
> question a bit wrong and suggested the various amounts of Star-Office type
> applications that can read them - sorry about that, will be more clear next
> time.
> 
> I compiled catdoc and tried it, and tbh it's no better than whacking it
> through strings.
> 
> Thanks all.
> 
> ------------
> Admins,
> 
> Sorry to not be entirely on topic, but....
> 
> I'm knocking up a webserver, and until I can knock some sense into people
> and get them to write their documentation in HTML instead of word, people
> are just going to transfer their stuff over carte-blanche without converting
> it.  I need to be able to search all these documents.  Does anyone know of
> something that can do this?  Can I just whack the doc through strings and
> pull out the text like that?
> 
> Thanks
> 
> Dan
> 
> --__--__--
> 
> Message: 5
> From: "Wilkinson, Daniel" <Daniel.Wilkinson@capgemini.co.uk>
> To: "Sunmanagers (E-mail)" <sunmanagers@sunmanagers.org>
> Subject: Compiling YASE
> Date: Thu, 5 Jul 2001 19:04:08 +0100 
> 
> Admins,
>  
> After my previous mails, re compilation problems, and searching word docs
> etc, I now get to the point and am find myself stuck compiling the only
> sensible 'freeware' search engine that I can find that will trawl through
> Micro$haft files.  The instructions are simple:
>  
> Configure
> Make
> Make install
>  
> I can configure the stuff fine, but when I try to make it, I get this:
>  
> cd src && make CC='gcc' CFLAGS='-g -O ' LDFLAGS='-g ' VERSION='0.9.7'
> DISTNAME='yase-0.9.7' LIBXML_NAME=
> 'libxml2-2.2.9' WGET_NAME='wget-1.5.3' USE_WGET='1' USE_LIBXML='0'
> make[1]: Entering directory `/opt/yase-0.9.7/src'
> gcc -o yasemakedb.o -c -g -O  -DYASEMAKEDB makedb.c
> In file included from makedb.c:60:
> yase.h:52: warning: redefinition of `uchar_t'
> /usr/include/sys/types.h:83: warning: `uchar_t' previously declared here
> yase.h:53: warning: redefinition of `uint8_t'
> /usr/include/sys/int_types.h:78: warning: `uint8_t' previously declared here
> yase.h:57: warning: redefinition of `uint16_t'
> /usr/include/sys/int_types.h:79: warning: `uint16_t' previously declared
> here
> yase.h:61: conflicting types for `uint32_t'
> /usr/include/sys/int_types.h:80: previous declaration of `uint32_t'
> yase.h:65: warning: redefinition of `uint64_t'
> /usr/include/sys/int_types.h:85: warning: `uint64_t' previously declared
> here
> yase.h:69: conflicting types for `intmax_t'
> /usr/include/sys/int_types.h:94: previous declaration of `intmax_t'
> yase.h:70: conflicting types for `uintmax_t'
> /usr/include/sys/int_types.h:95: previous declaration of `uintmax_t'
> In file included from makedb.c:61:
> makedb.h:74: parse error before `0.5'
> In file included from makedb.c:69:
> btree.h:33: conflicting types for `len_t'
> /usr/include/sys/types.h:208: previous declaration of `len_t'
> make[1]: *** [yasemakedb.o] Error 1
> make[1]: Leaving directory `/opt/yase-0.9.7/src'
> make: *** [src] Error 2
>  
> Has anyone every compiled YASE on Solaris 8 (gcc 2.95 & make 3.79).  Can I
> get it anywhere precompiled, or does anyone know what this error means?
> Once again, excuse my ignorance, but I haven't a clue where to start
> loooking.  I trussed the make and got this near then end:
>  
> yase.h:70: conflicting types for `uintmax_t'
> /usr/include/sys/int_types.h:95: previous declaration of `uintmax_t'
> In file included from makedb.c:61:
> makedb.h:74: parse error before `0.5'
> In file included from makedb.c:69:
> btree.h:33: conflicting types for `len_t'
> /usr/include/sys/types.h:208: previous declaration of `len_t'
>  
> make[1]: *** [yasemakedb.o] Error 1
> make[1]: Leaving directory `/opt/yase-0.9.7/src'
>     Received signal #18, SIGCLD, in wait() [caught]
>       siginfo: SIGCLD CLD_EXITED pid=18224 status=0x0002
> wait()                                          Err#4 EINTR
> setcontext(0xEFFFE998)
> wait()                                          = 18224 [0x0200]
> makewrite(2, " m a k e", 4)                             = 4
> : write(2, " :  ", 2)                           = 2
> *** [write(2, " * * *   [", 5)                  = 5
> srcwrite(2, " s r c", 3)                                = 3
> ] Error write(2, " ]   E r r o r  ", 8)                 = 8
> 2write(2, " 2", 1)                              = 1
>  
> write(2, "\n", 1)                               = 1
> sigprocmask(SIG_BLOCK, 0x0004E0F0, 0x00000000)  = 0
> sigprocmask(SIG_SETMASK, 0xEFFFEB38, 0x00000000) = 0
> chdir("/opt/yase-0.9.7")                        = 0
> llseek(0, 0, SEEK_CUR)                          = 855962
> _exit(2)
>  
> Which is equally unhelpful.  Any help would be greatly appreciated, failing
> that, what search engines do you lot use? (has to be free!!)
>  
> Thanks
>  
> Dan
> 
> --__--__--
> 
> Message: 6
> From: Gary Richardson <grichardson@watercove.com>
> To: "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org>
> Subject: ypbind: service not installed
> Date: Thu, 5 Jul 2001 14:58:28 -0400 
> 
> Hi all,
> 
> I have a machine (apollo13) at a remote site that was poorly set up as an
> NIS master
> but wasn't really being used. Since I took over support to the site, we've
> got
> a T1 WAN connection to the remote site. I logged into another Sun
> (challenger) at the
> remote site and set it up as an NIS slave to my local NIS setup.
> 
> I then logged into the machine that was poorly set up as an NIS master
> (apollo13),
> undid all that mess, then re-set it up as a simple NIS client, just running
> ypbind.
> 
> The system seems to perform just fine. ypwhich shows it binding to the NIS
> slave (challenger)
> at the remote site, and ypcat <anymap> works, logging in works, automounting
> of the home dir works. Everything seems to work. 
> 
> But... ( you knew there would be a "but" :-)... /var/adm/messages is being
> swamped
> with the following:
> 
> Jul  5 13:51:12 apollo13 ypbind[7202]: service not installed, use
> /usr/sbin/ypinit -c
> Jul  5 13:51:13 apollo13 ypbind[7203]: service not installed, use
> /usr/sbin/ypinit -c
> Jul  5 13:51:14 apollo13 ypbind[7204]: service not installed, use
> /usr/sbin/ypinit -c
> 
> Now, if I run "ypinit -c" it already lists the slave server:
> 
> In order for NIS to operate sucessfully, we have to construct a list of the 
> NIS servers.  Please continue to add the names for YP servers in order of
> preference, one per line.  When you are done with the list, type a <control
> D>
> or a return on a line by itself.
>         next host to add:  challenger
>         next host to add:  
> 
> The current list of yp servers looks like this:
> 
> challenger
> 
> Is this correct?  [y/n: y]  y
> 
> 
> So I don't know what the deal is. As I said, everything seems to be working
> fine. But
> the system sure is complaining CONSTANTLY about ypbind and some "service".
> 
> Anyone have any ideas what's going on? I haven't found anything in the
> archives to
> help me out.
> 
> Thanks!
> 
> -Gary
> 
> Gary Richardson
> Sr. Unix Administrator 
> WaterCove Networks, Inc.
> Email:   grichardson@watercove.com
> Phone: 978-608-2113 
> Fax:     978-256-5360
> 
> 
> --__--__--
> 
> Message: 7
> Date: Thu, 5 Jul 2001 11:58:31 -0700 (PDT)
> From: Tony Tran <tonytran1@yahoo.com>
> Subject: Solaris 2.5.1: unable to see big disks (>2 GB)
> To: sunmanagers@sunmanagers.org
> Cc: tonytran1@yahoo.com
> 
> 
> Fellow Managers:
> Does anybody know the required Solaris patch so that 
> an Ultra2 running Solaris 2.5.1 can recognize disks
> that are bigger than 2 Gig? Is there any firmware
> limitation on the U2 itself?
> 
> TIA
> Tony
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
> --__--__--
> 
> Message: 8
> Reply-To: <jsauer@dticam.dtic.mil>
> From: "Jim Sauer" <jsauer@dticam.dtic.mil>
> To: "Sun Managers (E-mail)" <sunmanagers@sunmanagers.org>
> Subject: SSH compile for TCP Wrappers
> Date: Thu, 5 Jul 2001 12:00:46 -0700
> 
> I'm running Solaris 7 on a E450
> 
> I'm trying to install SSH 2.3.1
> I use tcp_wrappers.
> When I do the command:
> 	./configure --with-libwrap
> I get an error that the tcp wrappers library is not found.
> I've tried ./configure --with-libwrap=/usr/local/tcp_wrappers_7.6/
> Same error message
> 
> Basically:
> Where is the library file its looking for located?  What is it named?
> I've tried many directory paths, but get same error.
> 
> Thanks,
> Jim
> 
> --__--__--
> 
> Message: 9
> From: "McGee, Chris" <CMMcGee@pella.com>
> To: "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org>
> Subject: Ultra Enterprise 3000 missing disks
> Date: Thu, 5 Jul 2001 14:02:11 -0500 
> 
> Hallo-
>  
>   I'm new to Sun hardware (surprise, now you have a Solaris box...), so I
> don't know if I'm seeing a hardware fault or a configuration issue here.
> (I'm leaning towards hardware fault, since I don't think there's much of
> anything to configure).
>  
>   I have an Ultra enterprise 3000. This box has 10 internal disk bays,
> numbered (and from what I can tell, these numbers also correspond with the
> SCSI ID of each slot?) 0-3 and 10-15.
> 
>   The disks in slots 3, 14, and 15 are not recognized by DiskManager as
> being present. I can swap disks all day, but any disk put into those three
> slots just doesn't show up. (I tried doing probe-scsi-all from the firmware
> ok prompt, several times, which just hung the system each time.)
>  
>   The box didn't arrive at my doorstep with any hardware documentation, and
> the UE3000 disk-related docs on docs.sun.com tell you how to instert and
> remove a disk but not a whole lot else.
>  
>   Questions:
>  
>   - Can you set the SCSI ID's of the internal disk bays somewhere? This
> could be causing my problem if slots 3, 14, and 15 are all set to the same
> address.
>  
>   - Aside from that, what else can I do to diagnose the problem? As I've
> tried known-good disks in bays 3, 14, and 15, I'm not sure why these bays
> don't work.
>  
>   Sorry if this is a newbie question.... thanks a lot! I'll summarize.
>  
>         --Chris
> 
> --__--__--
> 
> Message: 10
> From: Clift Robert T CONT DLVA <CliftRT@NSWC.NAVY.MIL>
> To: "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org>
> Subject: df -k problems
> Date: Thu, 5 Jul 2001 15:14:14 -0400 
> 
> Has anyone ever seen this type of output from df -k? I have umounted and
> mounted back the /export/home filesystem and a reboot with no luck. The
> system is an Ultra5, 2.8, and a kernel patch level of 108528-04.
> 
> Filesystem            kbytes    used   avail capacity  Mounted on
> /dev/dsk/c0t0d0s0     480815  297310  135424    69%    /
> /dev/dsk/c0t0d0s3    1190430  710432  420477    63%    /usr
> /proc                      0       0       0     0%    /proc
> fd                         0       0       0     0%    /dev/fd
> mnttab                     0       0       0     0%    /etc/mnttab
> swap                  247072       0  247072     0%    /var/run
> swap                  247432     360  247072     1%    /tmp
> /dev/dsk/c0t0d0s6     962134    1994  902412     1%    /opt
> /dev/dsk/c0t0d0s5    5038454  172008 4816062     4%    /usr/local
> /dev/dsk/c0t0d0s4     760118 18446744073709548571  702354 2637853091224273%
> /export/home
> 
> Tom Clift
> Synetics/N93
> 540-653-6772
> 
> 
> --__--__--
> 
> Message: 11
> From: "Li, Yanhui (Jackie)" <YLi@ea.com>
> To: "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org>
> Subject: HP Ultrium jukebox
> Date: Thu, 5 Jul 2001 12:19:26 -0700 
> 
> 
> Does anybody successfully connected a HP SureStore E 6/60 tape
> library(Ultrium tape drive)to a SUN box with JNI FC64-1064
> fiber channel cards? the jukebox itself has two Fiber-SCSI-LVD bridges.
> 
> I like to know how you configure it? I was not sucessfull.
> 
> If no, does anybody successfully connect  HP Ultrium tape drive on a SUN
> machine through Fiber
> Channel?
> 
> Thanks a lot
> Jackie
> 6506285746
> 
> 
> --__--__--
> 
> Message: 12
> Date: Thu, 05 Jul 2001 12:16:09 -0700
> From: Luong Duong <luong_duong@yahoo.com>
> Cc: "Sunmanagers (E-mail)" <sunmanagers@sunmanagers.org>
> Subject: weird quad card problem
> 
> Hi,
> 
> I have an Ultra2 running Solaris 2.6 with a quad card. I've loaded the latest
> driver for the quad card. After a reboot, I cannot ping anything on the same
> network connect to any of the interfaces of this card. I must bounce each of
> the interfaces manually in order for the ping's to work. If I move the network
> to an hme interface, then I do not have thos problem. Have anyone seen this
> before? TIA. Will summarize.
> 
> Luong
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> --__--__--
> 
> Message: 13
> Date: Thu, 05 Jul 2001 15:47:53 -0400
> From: Debbie Wescott <wescotds@asc.hpc.mil>
> To: sunmanagers@sunmanagers.org
> Subject: What causes ddi_dev_nrgs error?
> 
>  ddi_dev_nrgs returned 0, expected 2
> 
> After rtfm and performing steps as required for installing sun gig-e
> interface on Enterprise 3500 running 2.7 and rebooting. I receive the
> following error (during boot).
> 
> Can anyone help me get my gig port working?
> 
> Summary will follow.
> 
> Thanks in advance.
> 
> Debbie
> -- 
> ---------------------------------------------------------------------
> Deborah S. Wescott		           CSC/Nichols System Support
> 937-255-1638     			         wescotds@asc.hpc.mil
> 
> --__--__--
> 
> Message: 14
> From: "Les Bemont" <lbemont@nortelnetworks.com>
> To: sunmanagers@sunmanagers.org
> Subject: Sun Gigabit Ethernet Adapter 2.0 on Solaris 8?
> Date: Thu, 5 Jul 2001 15:00:10 -0500
> 
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
> 
> ------_=_NextPart_001_01C1058D.18E73DE0
> Content-Type: text/plain;
> 	charset="iso-8859-1"
> 
> Hi folks.
> 
> Will Sun Gigabit Ethernet Adapter 2.0s work with Solaris 8?
> 
> Thanks.
> 
> --Les
> 
> ------_=_NextPart_001_01C1058D.18E73DE0
> Content-Type: text/html;
> 	charset="iso-8859-1"
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.89">
> <TITLE>Sun Gigabit Ethernet Adapter 2.0 on Solaris 8?</TITLE>
> </HEAD>
> <BODY>
> 
> <P><FONT SIZE=2 FACE="Arial">Hi folks.</FONT>
> </P>
> 
> <P><FONT SIZE=2 FACE="Arial">Will Sun Gigabit Ethernet Adapter 2.0s work with Solaris 8?</FONT>
> </P>
> 
> <P><FONT SIZE=2 FACE="Arial">Thanks.</FONT>
> </P>
> 
> <P><FONT SIZE=2 FACE="Arial">--Les</FONT>
> </P>
> 
> </BODY>
> </HTML>
> ------_=_NextPart_001_01C1058D.18E73DE0--
> 
> --__--__--
> 
> Message: 15
> Reply-To: <jsauer@dticam.dtic.mil>
> From: "Jim Sauer" <jsauer@dticam.dtic.mil>
> To: "Sun Managers (E-mail)" <sunmanagers@sunmanagers.org>
> Subject: SUMMARY: SSH compile for TCP Wrappers
> Date: Thu, 5 Jul 2001 13:07:17 -0700
> 
> Thanks for the many responses.
> 
> Rec'd Stan Francis's first.
>   The file I'm looking for was:  libwrap.a
>   For some reason it wasn't on my system, so I copied it from 
>   another system and the compile passed the libwrap check.
> 
> Compile later failed on finding "nm", so I'm working on what's up
> with that now.
> 
> Other (possilbe) helpful responses include:
> 
> Michael Grice:  Check permission problems
> Thomas Knox:  Set the LD_LIBRARY_PATH variable. 
> Kevin Colagio:  Set LD_RUN_PATH
> 
> Thanks to all,
> Jim
> 
> 
> 
> 
> 
>  -----Original Message-----
> From: 	Jim Sauer [mailto:jsauer@dticam.dtic.mil] 
> Sent:	Thursday, July 05, 2001 12:01 PM
> To:	Sun Managers (E-mail)
> Subject:	SSH compile for TCP Wrappers
> 
> I'm running Solaris 7 on a E450
> 
> I'm trying to install SSH 2.3.1
> I use tcp_wrappers.
> When I do the command:
> 	./configure --with-libwrap
> I get an error that the tcp wrappers library is not found.
> I've tried ./configure --with-libwrap=/usr/local/tcp_wrappers_7.6/
> Same error message
> 
> Basically:
> Where is the library file its looking for located?  What is it named?
> I've tried many directory paths, but get same error.
> 
> Thanks,
> Jim
> 
> 
> --__--__--
> 
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
> 
> 
> End of sunmanagers Digest
> 
Received on Fri Jul 6 14:13:09 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:58 EDT