umount not possible on Solaris 10
Hello,
This afternoon, I asked for support on Sun Support Center for a problem which occurs on a new Solaris 10 installation.
Problems on Solaris 10 are not supported by Sun Support Center ... :-(
(I think a umount problem is not a Solaris 10 problem , but ...)
It's not a critical problem but I'm frustrated if I must reboot for this problem.
We are not under Microsoft OS ...
Sun Support Center asked me to try on Sun Developer site.
Can you help me ?
Thanks
Jean Berthold
Below, my problem:
--------------------------
Update/View Service Request Details
Service Request Number: 37128194
Status: Unresolved, Closed
Sun Engineer Summary: How to umount this volume correctly (Notes)
Updated By Date Updated
Sun Engineer May 10, 2004 5:19:04 PM, Central European Summer Time (CEST GMT+02:00)
EMEA-CES Closure template (solution note in case, public)
TYPE OF CALL: Problem
PROBLEM SUMMARY :
unable to umount /cdrom under solaris 10 beta version
SOLUTION :
beta version pf solaris 10 is not supported.
Consult the FAQs or discuss in the forum of the developers's site :
http://developers.sun.com/prodtech/solaris/
Sun Engineer May 10, 2004 4:37:42 PM, Central European Summer Time (CEST GMT+02:00)
EMEA-CES Information_Knowledge Gathering (problem note in Initial Investigation task, public)
PROBLEM DESCRIPTION: unable to umount /cdrom/disk1
PROBLEM SUMMARY: unable to umount /cdrom/disk1
WHEN WAS THE PROBLEM FIRST SEEN? this after noon
WHAT HAS CHANGED ON THE SYSTEM? nothing to declare
ERROR MESSAGES:
|><|
WHAT IS THE IMPACT ON YOUR BUSINESS
|>Low<| |>Medium<| |>High<|
PRODUCT: Solaris 10
SYSTEM TYPE: Sun-Blade-100
SPEC: |>CPU Speed, Memory, Disk size + qty, Storage<|
OS VERSION: SunOS zanzibar 5.10 s10_51 sun4u sparc SUNW
HAS THE CUSTOMER TRIED USING SUNSOLVE.SUN.COM TO SOLVE HIS PROBLEM
No
If NO explain the benefits of SunSolve, if YES ask :
WHAT STOPPED HIM FROM SOLVING HIS PROBLEM:
n/a
ARE CONTACT DETAILS CORRECT:
yes
PROBLEM ANALYSIS :
The customer has mounted the cdrom on the machine zanzibar
and share it by NFS. See the customer's note for more details.
After that, he has launched Oracle installation on machine udaipur
by using CD ROM mounted via NFS on zanzibar machine.
After the usage of the cdrom from the NFS client udaipur, it is
impossible to umount the cdrom.
# umount /cdrom/disk1
umount: /cdrom/disk1 busy
The customer has stopped all services of NFS :
# ps -ef | grep nfs
daemon 12459 1 0 12:20:54 ? 0:00 /usr/lib/nfs/statd
daemon 12461 1 0 12:20:54 ? 0:00 /usr/lib/nfs/lockd
root 12463 1 0 12:20:54 ? 0:00 /usr/lib/nfs/mountd
daemon 12465 1 0 12:20:54 ? 0:22 /usr/lib/nfs/nfsd
#
# unshareall
# /etc/init.d/nfs.server stop
# umount /cdrom/disk1
umount: /cdrom/disk1 busy
#
# ls /etc/init.d/volmg*
/etc/init.d/volmgt
# /etc/init.d/volmgt stop
#
# ps -ef | grep vol
bej 12313 12309 0 11:37:15 pts/2 0:00 /usr/bin/gnome-volcheck -i 30 -z 3 -m cdrom,floppy,zip,jaz,dvdrom
But the problem is still persisting : impossible to umount cdrom
# umount /cdrom/disk1
umount: /cdrom/disk1 busy
#
The customer is using gnome for interface
ifuser command gives 3 processes: vold, the terminal and lockd.
We stop all processes and retry again :
# umount /cdrom/disk1
umount: Operation not supported
umount: cannot unmount /cdrom/disk1
# umount /cdrom/cdrom0
umount: Operation not supported
umount: cannot unmount /cdrom/cdrom0
#umount -f /cdrom/disk1
umount: Operation not supported
umount: cannot unmount /cdrom/disk1
#umount -F hsfs /cdrom/disk1
umount: Operation not supported
umount: cannot unmount /cdrom/disk1
#umount /vol/dev/dsk/c0t1d0/disk1
umount: Operation not supported
umount: cannot unmount /vol/dev/dsk/c0t1d0/disk1
The problem is not really urgent but the customer does not
want to reboot this machine just to umount the cdrom !!!!
It is really impossible to umount the cdrom.
i've found a bug id for swap and this problem needs more investigation.
So i'm escalating this case!
Customer May 10, 2004 4:00:40 PM, Central European Summer Time (CEST GMT+02:00)
Hardware Platform: Sun Blade 100
Product Affected: OS File System
OS Version: bej@zanzibar # uname -a
SunOS zanzibar 5.10 s10_51 sun4u sparc SUNW,Sun-Blade-100
bej@zanzibar #
State the problem Cut/Paste error messages
(30kb maximum):
# df -h | grep cdrom
/vol/dev/dsk/c0t1d0/disk1 0K 0K 0K 0% /cdrom/disk1
#
# umount /cdrom/disk1
umount: /cdrom/disk1 busy
#
# cat /etc/dfs/dfstab
# Place share(1M) commands here for automatic execution
# on entering init state 3.
#
# Issue the command '/etc/init.d/nfs.server start' to run the NFS
# daemon processes and the share commands, after adding the very
# first entry to this file.
#
# share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
# .e.g,
# share -F nfs -o rw=engineering -d "home dirs" /export/home2
share -o anon=0 /cdrom/cdrom0
# ps -ef | grep nfs
daemon 12459 1 0 12:20:54 ? 0:00 /usr/lib/nfs/statd
daemon 12461 1 0 12:20:54 ? 0:00 /usr/lib/nfs/lockd
root 12463 1 0 12:20:54 ? 0:00 /usr/lib/nfs/mountd
daemon 12465 1 0 12:20:54 ? 0:22 /usr/lib/nfs/nfsd
#
# unshareall
# /etc/init.d/nfs.server stop
# umount /cdrom/disk1
umount: /cdrom/disk1 busy
#
# ls /etc/init.d/volmg*
/etc/init.d/volmgt
# /etc/init.d/volmgt stop
#
# ps -ef | grep vol
bej 12313 12309 0 11:37:15 pts/2 0:00 /usr/bin/gnome-volcheck -i 30 -z 3 -m cdrom,floppy,zip,jaz,dvdrom
List steps to reproduce problem (if applicable):
What software is having the problem?:
From the CD ROM server:
-------------------
I shared a CD ROM whith NFS via /etc/dfs/dfshare file:
...
...
share -o anon=0 /cdrom/cdrom0
# shareall
# dfshares
RESOURCE SERVER ACCESS TRANSPORT
zanzibar:/cdrom/disk1 zanzibar - -
#
From the client:
-----------
root@udaipur # dfshares zanzibar
RESOURCE SERVER ACCESS TRANSPORT
zanzibar:/cdrom/disk1 zanzibar - -
root@udaipur #
root@udaipur # mount zanzibar:/cdrom/disk1 /zanzibar_CDROM
root@udaipur # df -h | grep cdrom
zanzibar:/cdrom/disk1 0K 0K 0K 0% /zanzibar_CDROM
root@udaipur #
After that, I launched Oracle installation on machine udaipur by using CD ROM mounted via NFS on zanzibar machine.
When the second CD-ROM was needed:
Client:
----
root@udaipur # umount /zanzibar_CDROM
CD ROM Server:
------------
# hostname
zanzibar
# df -h | grep cdrom
/vol/dev/dsk/c0t1d0/disk1 0K 0K 0K 0% /cdrom/disk1
# dfshares
RESOURCE SERVER ACCESS TRANSPORT
zanzibar:/cdrom/disk1 zanzibar - -
# unshareall
# dfshares
#
# pwd
/
#
# umount /cdrom/disk1
umount: /cdrom/disk1 busy
#
Question:
-------
1. How to umount this volume correctly. ?
2. which process is blocking the CD-ROM ?
When was the problem first noticed? # date
Mon May 10 15:55:39 CEST 2004
#
Is the problem getting: staying the same
Any Changes Recently? None