From: Gerard Henry <[EMAIL PROTECTED]>

What i don't understand is how files under /tmp/SUNWut/mnt/<login> are
managed? even if the usb pendrive isn't plugged, files are always here.
I deleted it with rm, but is there another way?

The directories under /tmp/SUNWut/mnt/<login> are mount points. Ideally, no management is required. They should get removed when the device is unplugged from the Sun Ray DTU or when the user's session gets disconnected from the DTU.

In reality, these mount points will not get removed automatically if they are busy when unmount is attempted by Sun Ray services. A mount point will be busy if a process has it as its current directory. A busy UFS filesystem will get forcibly unmounted & cleaned up, but not a PCFS filesystem (which unfortunately is the most common), because Solaris PCFS does not implement the "-f" option to umount(1M). These mount points will then go stale because there's no corresponding device, and will remain on the system until the administrator unmounts them when they're no longer busy and cleans up.

A stale mount point should be unmounted using umount(1M) first and then the underlying directory can be deleted.

You can try to educate your users on using "utdiskadm -r" before unplugging the device or hotdesking. It'll show an error message if umount fails and the user can take steps (E.g. close an open filemanager window) to prepare the device for unmounting. This is can be really annoying to users as well as administrators. If possible, please file an escalation with your Sun representative.

-a-

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to