Guys
There might be more informed and advanced technical solutions
.but this is what I do. I have only tested sundisks in VDI
for native sessions we advised users to use
only approved USB keys.
I am guessing that you are not using VDI ??
and running srss directly off Ubuntu

Hot desking with cards and usb inside VDI works as a charm with
any filesystem and nearly with any keys that Linux supports natively.
Associating a card with unix uid provides a consistent view and does
solve many problems.
I am not sure about pseudo.* tokens though ...
May be the same behaviour would
apply to the native sessions on Ubuntu ??
It was easier to make it work inside Ubuntu guest
then W7 guest. (only using VirtualGuests add ons iso)

To make it work in VDI
you need this line in
/etc/modules
usb-storage

Perhaps it's might be a good idea to try this entry on Ubuntu server  if you 
run srss only off Ubuntu. 
I agree that consistency with different USB keys was and may be still is a  
moving target.
On Solaris 10 for native JDS sessions I have this entries in .bashrc
 
export USB_HOME='/tmp/SUNWut/mnt/<username>/unnamed' 
alias  usbl='utdiskadm -l'
alias  cdusb='cd $USB_HOME'
alias  usbumount='utdiskadm -u $USB_HOME'

This is too simple and works with the keys we support.
For anything else you might need to script around the issue.

It worked for a wile, until someone purchased a key which was not tested.
We advised every user to wipe off a partition table and format the key manually 
with only one primary partition. It works nearly 95% of time.
My srss runs on solaris 10. To make everything to work for vdi and JDS users
all I had to do is to make solaris 10 to act as a client to OpenLDAP, which I 
use as directory server. May be a similar approach would help things on Ubuntu 
server ?
What I am suggesting is not a native or a supported configuration, but it works 
for me.

Alex






> ------------------------------
> 
> Message: 3
> Date: Tue, 14 Sep 2010 23:22:42 +0300
> From: Rudy Gevaert <[email protected]>
> To: SunRay-Users mailing list <[email protected]>
> Subject: Re: [SunRay-Users] sunray memory sticks
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
> 
> On Thu, Apr 22, 2010 at 03:45:47AM -0700, dula boru wrote:
> > hello,
> >
> >
> > i configured sunray on ubuntu,but if the user want to use memory stick on
> > t he thin client i didn't working. any who has a solution for this
> > problem please help me.
> 
> Dear list,
> 
> to follow up on this post:
> 
> We have diagnosed the problem.  We are seeing two things, depending on
> the type of memory stick
> 
> 1) When the usb stick is inserted is mounts the partition under /tmp/SUN...
>  when the stick is a normal regular usb stick 2) When the stick is one of
>  those wacky sandisk usb sticks with the sandisk software on it it mounts
>  the sandisk software partition under /tmp/SUN...
> 
> (1) isn't userfriendly.  I found in the sunray bin directory a .sh
> script that should normally setup a link.  (Sorry I can't remember the
> script name, I'm not online atm.)  Also it had some issue's e.g. a cut
> not working, and using the wrong path for 'id' (solarisism).  I found
> on google there is a new way to do this:
> http://blogs.sun.com/danielc/entry/a_usb_drive_daemon_for1
> 
> That seems more userfriendly, but we still have to try it.  Is this
> still the best way to do it?
> 
> For (2) doesn't anybody have any idea to handle it?  (Maybe (1) will
> fix it?).
> 
> Greetings from Ethiopia!
> 
> Rudy and Dula
> 
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Wed, 15 Sep 2010 02:10:57 -0400
> From: Peter A <[email protected]>
> To: "SunRay-Users mailing list" <[email protected]>
> Subject: Re: [SunRay-Users] sunray memory sticks
> Message-ID: <[email protected]>
> Content-Type: Text/Plain;  charset="iso-8859-1"
> 
> On Tuesday, September 14, 2010 04:22:42 pm Rudy Gevaert wrote:
> > For (2) doesn't anybody have any idea to handle it?  (Maybe (1) will
> > fix it?).
> >
> > Greetings from Ethiopia!
> >
> > Rudy and Dula
> 
> Hi,
> 
> I haven't tried this but udev could/should be the answer for this. The
>  reason why I said could/should is that I don't know exactly what the srss
>  dev team has done on linux to get USB support done. None of the sunray
>  environments I helped with run on Linux. I can't see why they would bypass
>  udev but again, I haven't seen the code, so I can't tell you for sure.
> 
> Assuming udev works with srss usb devices, udev rules allow you to
>  configure the device name and actions taken whenever a new device is
>  plugged in. What you would have to do is create your own rule that
>  captures all usb storage devices and executes a shell script (using the
>  PROGRAM derective) to determine the mount point and the right partition to
>  mount on that device. It should be pretty straight forward once you
>  figured out how to do udev rules.
> 
> 
> 
> Peter.
> 

-- 
=======================================
Alex Brulo
Senior Server Engineer (HPC)
Information Systems Aston (ISA)
Aston University, Aston Triangle,
Birmingham, B4 7ET 
Tel: 0121 204 3673
ISA "Aiming for Excellence in ICT Services" 
=======================================
Please consider the environment before printing this e-mail
=======================================
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to