Unmounting of redirected USB Drives in Solaris

Does anybody have an idea how I could get some USB devices redirected to Windows but USB drives keep mounted in Solaris?
I've got a project in which some USB-devices (biometric scanners) must be redirected to Windows, but not storage devices (pen drives etc.). Since it's not possible to configure selective USB redirection on USB device type, we will have to disable USB drives on Windows level.
My problem is now, that USB storage devices will be automatically unmounted in Solaris as soon as a Windows session is opened. My idea was to change utprepmount or utdomount to ignore unmounting if it's caused by uttsc. However, it seems that these scripts are always called by utmountd, whether someone unplugs the device or it is redirected to Windows.
Any ideas on how I could keep my drives mounted?
Thanks
Roland

3rd party USB drivers are not yet supported. The details of the interface have not been sufficiently worked out to make a general purpose interface available. It could be possible to get access to the interfaces as they stand by making a deal under NDA.

Similar Messages

  • Could not mount USB drive on Solaris 10 x86 system

    Hi All,
    I am having difficulty mounting a USB drive on Solaris 10 x86 system with the following different unsuccessful attempts:
    # uname -a
    SunOS venus 5.10 Generic_139556-08 i86pc i386 i86pc
    # rmformat
    Looking for devices...
         1. Volmgt Node: /vol/dev/aliases/cdrom0
            Logical Node: /dev/rdsk/c0t0d0s2
            Physical Node: /pci@0,0/pci-ide@4/ide@0/sd@0,0
            Connected Device: TEAC     DV-28E-V         1.AC
            Device Type: DVD Reader
         2. Logical Node: /dev/rdsk/c4t0d0s2
            Physical Node: /pci@0,0/pci108e,534b@2,1/storage@9/disk@0,0
            Connected Device: WD       My Book 1140     1007
            Device Type: Removable
         3. Volmgt Node: /vol/dev/aliases/rmdisk0
            Logical Node: /dev/rdsk/c4t0d0p0
            Physical Node: /pci@0,0/pci108e,534b@2,1/storage@9/disk@0,0
            Connected Device: WD       My Book 1140     1007
            Device Type: Removable
    # svcs volfs
    STATE  STIME    FMRI
    online Apr_13   svc:/system/filesystem/volfs:default# ls -lt /mnt
    total 0
    # mount -F pcfs /dev/dsk/c4t0d0p0:c /mnt
    mount: I/O error
    # mount -F pcfs /dev/rdsk/c4t0d0p0:c /mnt
    mount: Block device required
    # mount -F pcfs /dev/dsk/c4t0d0s2:c /mnt
    mount: I/O error
    # mount -F pcfs /dev/rdsk/c4t0d0s2:c /mnt
    mount: Block device required
    # fsck /dev/dsk/c4t0d0p0
    Can't open /dev/rdsk/c4t0d0p0: I/O error
    # fsck /dev/rdsk/c4t0d0p0
    Can't open /dev/rdsk/c4t0d0p0: I/O error
    # fsck /dev/dsk/c4t0d0s2
    Can't open /dev/rdsk/c4t0d0s2: I/O error
    # fsck /dev/rdsk/c4t0d0s2
    Can't open /dev/rdsk/c4t0d0s2: I/O errorSecond try,
    # svcadm disable volfs
    # svcs volfs         
    STATE          STIME    FMRI
    disabled       20:47:00 svc:/system/filesystem/volfs:default
    # mount -F pcfs /dev/dsk/c4t0d0p0:c /mnt
    mount: I/O errorLast try,
    # mkdir /rmdisk
    mkdir: Failed to make directory "/rmdisk"; File exists
    # ls -lt /rmdisk
    total 4
    lrwxrwxrwx   1 root     nobody        16 Oct  1  2009 rmdisk0 -> ./unnamed_rmdik
    drwxr-xr-x   2 root     nobody       512 Sep 30  2009 unnamed_rmdisk
    # cd /rmdisk
    # ls -lt
    total 4
    lrwxrwxrwx   1 root     nobody        16 Oct  1  2009 rmdisk0 -> ./unnamed_rmdik
    drwxr-xr-x   2 root     nobody       512 Sep 30  2009 unnamed_rmdisk
    # ls -lt unnamed_rmdisk
    total 0
    # ls -lt rmdisk0
    lrwxrwxrwx   1 root     nobody        16 Oct  1  2009 rmdisk0 -> ./unnamed_rmdik
    # df -h
    Filesystem             size   used  avail capacity  Mounted on
    /dev/dsk/c1t0d0s0      5.1G   4.0G   1.1G    78%    /
    /devices                 0K     0K     0K     0%    /devices
    ctfs                     0K     0K     0K     0%    /system/contract
    proc                     0K     0K     0K     0%    /proc
    mnttab                   0K     0K     0K     0%    /etc/mnttab
    swap                   5.9G   984K   5.9G     1%    /etc/svc/volatile
    objfs                    0K     0K     0K     0%    /system/object
    sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
    /usr/lib/libc/libc_hwcap2.so.1
                           5.1G   4.0G   1.1G    78%    /lib/libc.so.1
    fd                       0K     0K     0K     0%    /dev/fd
    swap                   5.9G   148K   5.9G     1%    /tmp
    swap                   5.9G    32K   5.9G     1%    /var/run
    /dev/dsk/c1t0d0s7      129G   1.7G   126G     2%    /export/home
    # /etc/init.d/volmgt stop
    # svcs volfs            
    STATE          STIME    FMRI
    disabled       21:02:31 svc:/system/filesystem/volfs:default
    # pwd
    /rmdisk
    # cd /
    # ls -lt /rmdisk
    total 4
    lrwxrwxrwx   1 root     nobody        16 Oct  1  2009 rmdisk0 -> ./unnamed_rmdik
    drwxr-xr-x   2 root     nobody       512 Sep 30  2009 unnamed_rmdisk
    # /etc/init.d/volmgt st  
    # svcs volfs
    STATE          STIME    FMRI
    disabled       21:02:31 svc:/system/filesystem/volfs:default
    # /etc/init.d/volmgt start
    volume management starting.
    # svcs volfs             
    STATE          STIME    FMRI
    online         21:04:44 svc:/system/filesystem/volfs:default
    # svcs volfs
    # mount | grep rmdisk
    # pwd
    # ls -lt /rmdisk
    total 4
    lrwxrwxrwx   1 root     nobody        16 Oct  1  2009 rmdisk0 -> ./unnamed_rmdik
    drwxr-xr-x   2 root     nobody       512 Sep 30  2009 unnamed_rmdisk
    # ls -lt /rmdisk/unnamed_rmdisk
    total 0
    # iostat -En   
    c0t0d0           Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
    Vendor: TEAC     Product: DV-28E-V         Revision: 1.AC Serial No: 
    Size: 0.00GB <0 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c1t0d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: HITACHI  Product: HUS1514SBSUN146G Revision: SA04 Serial No: 0921B2Y3PC
    Size: 146.81GB <146810535936 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    c1t1d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: HITACHI  Product: HUS1514SBSUN146G Revision: SA04 Serial No: 0921B2Z5NC
    Size: 146.81GB <146810535936 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    c4t0d0           Soft Errors: 21 Hard Errors: 0 Transport Errors: 0
    Vendor: WD       Product: My Book 1140     Revision: 1007 Serial No: 
    Size: 2000.37GB <2000365289472 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 21 Predictive Failure Analysis: 0
    #This is a working production system with 2 146.81GB mirrored hard disks. There is no disk error for either local or external 2TB Western Digital USB disks that works on Windows 7 or XP.
    Any idea on what else to look for?
    Thanks in advance,
    Jack
    Edited by: 797805 on 6/06/2012 04:48

    Hi All,
    Looks like it was a driver / incompatibility / unsupported issue since 2 other much smaller USB keys (Lexar USB Flash Drive – 32GB, SanDisk Cruzer Colors – 4GB) were successfully mounted automatically by volfs service as follows:
    # df -h
    Filesystem             size   used  avail capacity  Mounted on
    /dev/dsk/c1t0d0s0      5.1G   4.0G   1.1G    78%    /
    /dev/dsk/c1t0d0s7      129G   1.7G   126G     2%    /export/home
    /vol/dev/dsk/c3t0d0/unnamed_rmdisk#1:c   3.7G   2.4G   1.3G    65%    /rmdisk/unnamed_rmdisk#1
    /vol/dev/dsk/c2t0d0/unnamed_rmdisk:c    29G    96K    29G     1%    /rmdisk/unnamed_rmdiskIt also appears that the Device status of Not Ready from “iostat –En” below may not be correct either since both smaller drives are working fine:
    # iostat -En
    c4t0d0           Soft Errors: 23 Hard Errors: 0 Transport Errors: 0
    Vendor: WD       Product: My Book 1140     Revision: 1007 Serial No: 
    Size: 2000.37GB <2000365289472 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 23 Predictive Failure Analysis: 0
    c2t0d0           Soft Errors: 7 Hard Errors: 0 Transport Errors: 0
    Vendor: Lexar    Product: USB Flash Drive  Revision: 1100 Serial No: 
    Size: 31.41GB <31406948352 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 7 Predictive Failure Analysis: 0
    c3t0d0           Soft Errors: 60 Hard Errors: 8 Transport Errors: 0
    Vendor: SanDisk  Product: Cruzer Colors+   Revision: 8.02 Serial No: 
    Size: 4.02GB <4022337024 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 8 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0In other word, the same question remains on whether it is possible to install a driver to overcome this issue and where to such driver?
    It is necessary to install additional driver that came with the disk on Windows XP platform. However,
    Thanks again,
    Jack

  • Mounting a UFS formated USB drive on Solaris 10

    [Hope this is the correct place to post this question]
    I connected my 160 GB external usb hard drive to my V240 Solaris 9 server, ran newfs (ufs), mounted it, and wrote data to the drive with no problems.
    I moved it to another sparc box with Solaris 10 (build 74-1) and tried mounting it, but no luck. The logical path for the usb drive shows up in "/dev/dsk" after running "devfsadm -C" and it shows up as configured when running "cfgadm -al," however, when I try to mount the drive it eventually times out without mounting. I get the same results when I try this on the x86 version of Solaris 10.
    I know that the drive still works by taking it back to my Solaris 9 server and mounting the drive.
    Is there something special or different with mounting usb drives with Solaris 10?
    Thanks,
    Phillip

    It should be the same. For instance with a usb keychain (formated pcfs):
    mkdir /usbdrive
    mount -F pcfs /dev/dsk/c3t0d0p1 /usbdrive
    On this particular laptop the second usb port was. c4t0d0p1 so:
    mount -F pcfs /dev/dsk/c4t0d0p1 /usbdrive
    The numbering might be different for each usb port and you have to specify the filesystem of the usb drive, but it should work.

  • Mounting 2 GB usb drive in solaris 10

    Hi Folks,
    I have 2 GB usb device.
    When i format the device in windows and mount the same in solaris, i get the below output
    #mount -F pcfs /tmp/SUNWut/units/IEEE802.080020f8112c/dev/dsk/disk3s2:c /home/es161022/Documents/usb
    mount: /tmp/SUNWut/units/IEEE802.080020f8112c/dev/dsk/disk3s2:c is not a DOS filesystem.
    The file system present in DOSBIG (view fdisk output below)If i format with option C or D (from fdisk output), I can mount the device, read and write files... but after this, i cant access the device in windows.. i will have to format it again in windows.
    # fdisk /tmp/SUNWut/units/IEEE802.080020f8112c/dev/rdsk/disk3s2
    Total disk size is 247 cylinders
    Cylinder size is 16065 (512 byte) blocks
    Cylinders
    Partition Status Type Start End Length %
    ========= ====== ============ ===== === ====== ===
    1 Active DOS-BIG 0 61 62 25
    SELECT ONE OF THE FOLLOWING:
    1. Create a partition
    2. Specify the active partition
    3. Delete a partition
    4. Change between Solaris and Solaris2 Partition IDs
    5. Exit (update disk configuration and exit)
    6. Cancel (exit without updating disk configuration)
    Select the partition type to create:
    1=SOLARIS2 2=UNIX 3=PCIXOS 4=Other
    5=DOS12 6=DOS16 7=DOSEXT 8=DOSBIG
    9=DOS16LBA A=x86 Boot B=Diagnostic C=FAT32
    D=FAT32LBA E=DOSEXTLBA F=EFI 0=Exit?
    It wud b fine, if any1 of u provide solution to access the same in windows / solaris....
    Is der any other way to mount DOSBIG filesystem in solaris...
    Thanks,
    Enz.
    +919880099311

    It should be the same. For instance with a usb keychain (formated pcfs):
    mkdir /usbdrive
    mount -F pcfs /dev/dsk/c3t0d0p1 /usbdrive
    On this particular laptop the second usb port was. c4t0d0p1 so:
    mount -F pcfs /dev/dsk/c4t0d0p1 /usbdrive
    The numbering might be different for each usb port and you have to specify the filesystem of the usb drive, but it should work.

  • Problem with USB drive not writing/freezing on unmount.

    I have a sandisk cruzer blade USB drive, which I have used for the past hours extensively. At one point, I couldn't manage to write data to it. It acted like it had, but it didn't, as it silently remounted as readonly. I solved this by remounting as rw and retried.
    Now, when using the same drive, after writing around 2 GiB worth of data to it (creating files), and attempting to unmount, the unmount command freezes for a long period of time. I check dmesg and it says its frozen. So I open up another tab to try and rescue the writes I made by typing sync. This also freezes and generates dmesg messages.
    As I'm typing this the commands seemed to have succeeded, but I'm wondering, what causes these problems? Is the problem known?
    dmesg output:
    [ 1440.339510] INFO: task umount:1540 blocked for more than 120 seconds.
    [ 1440.339518] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [ 1440.339523] umount D ffff88021da81950 0 1540 1539 0x00000004
    [ 1440.339531] ffff8801d9ad7c70 0000000000000082 0000000000014500 ffff8801d9ad7fd8
    [ 1440.339538] ffff8801d9ad7fd8 0000000000014500 ffff88021da81950 ffff88022ec94500
    [ 1440.339545] ffff8801d9ad7bc0 ffffffff81091995 ffff88022211c380 0000000000000002
    [ 1440.339551] Call Trace:
    [ 1440.339565] [<ffffffff81091995>] ? check_preempt_curr+0x85/0xa0
    [ 1440.339571] [<ffffffff8108ecfa>] ? ttwu_stat+0x9a/0x110
    [ 1440.339579] [<ffffffff81093a0c>] ? try_to_wake_up+0x1fc/0x2c0
    [ 1440.339586] [<ffffffff814e1029>] schedule+0x29/0x70
    [ 1440.339593] [<ffffffff814dd909>] schedule_timeout+0x219/0x290
    [ 1440.339599] [<ffffffff8107b746>] ? __queue_work+0x136/0x390
    [ 1440.339606] [<ffffffff814e03c3>] wait_for_common+0xd3/0x180
    [ 1440.339612] [<ffffffff81093b10>] ? wake_up_process+0x40/0x40
    [ 1440.339617] [<ffffffff814e048d>] wait_for_completion+0x1d/0x20
    [ 1440.339625] [<ffffffff811c8bd0>] writeback_inodes_sb_nr+0x80/0xb0
    [ 1440.339648] [<ffffffff811c8c25>] writeback_inodes_sb+0x25/0x30
    [ 1440.339655] [<ffffffff811cdedd>] sync_filesystem+0x2d/0xa0
    [ 1440.339662] [<ffffffff811a1cb0>] generic_shutdown_super+0x30/0xe0
    [ 1440.339668] [<ffffffff811a1f97>] kill_block_super+0x27/0x70
    [ 1440.339678] [<ffffffff811a22fd>] deactivate_locked_super+0x3d/0x60
    [ 1440.339684] [<ffffffff811a28e6>] deactivate_super+0x46/0x60
    [ 1440.339689] [<ffffffff811bdeaf>] mntput_no_expire+0xef/0x150
    [ 1440.339695] [<ffffffff811bf0b1>] SyS_umount+0x91/0x3b0
    [ 1440.339701] [<ffffffff814ea5dd>] system_call_fastpath+0x1a/0x1f
    [ 1560.250364] INFO: task umount:1540 blocked for more than 120 seconds.
    [ 1560.250371] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [ 1560.250375] umount D ffff88021da81950 0 1540 1539 0x00000004
    [ 1560.250383] ffff8801d9ad7c70 0000000000000082 0000000000014500 ffff8801d9ad7fd8
    [ 1560.250390] ffff8801d9ad7fd8 0000000000014500 ffff88021da81950 ffff88022ec94500
    [ 1560.250397] ffff8801d9ad7bc0 ffffffff81091995 ffff88022211c380 0000000000000002
    [ 1560.250403] Call Trace:
    [ 1560.250416] [<ffffffff81091995>] ? check_preempt_curr+0x85/0xa0
    [ 1560.250422] [<ffffffff8108ecfa>] ? ttwu_stat+0x9a/0x110
    [ 1560.250429] [<ffffffff81093a0c>] ? try_to_wake_up+0x1fc/0x2c0
    [ 1560.250435] [<ffffffff814e1029>] schedule+0x29/0x70
    [ 1560.250442] [<ffffffff814dd909>] schedule_timeout+0x219/0x290
    [ 1560.250448] [<ffffffff8107b746>] ? __queue_work+0x136/0x390
    [ 1560.250454] [<ffffffff814e03c3>] wait_for_common+0xd3/0x180
    [ 1560.250460] [<ffffffff81093b10>] ? wake_up_process+0x40/0x40
    [ 1560.250465] [<ffffffff814e048d>] wait_for_completion+0x1d/0x20
    [ 1560.250473] [<ffffffff811c8bd0>] writeback_inodes_sb_nr+0x80/0xb0
    [ 1560.250493] [<ffffffff811c8c25>] writeback_inodes_sb+0x25/0x30
    [ 1560.250499] [<ffffffff811cdedd>] sync_filesystem+0x2d/0xa0
    [ 1560.250506] [<ffffffff811a1cb0>] generic_shutdown_super+0x30/0xe0
    [ 1560.250513] [<ffffffff811a1f97>] kill_block_super+0x27/0x70
    [ 1560.250522] [<ffffffff811a22fd>] deactivate_locked_super+0x3d/0x60
    [ 1560.250528] [<ffffffff811a28e6>] deactivate_super+0x46/0x60
    [ 1560.250533] [<ffffffff811bdeaf>] mntput_no_expire+0xef/0x150
    [ 1560.250538] [<ffffffff811bf0b1>] SyS_umount+0x91/0x3b0
    [ 1560.250545] [<ffffffff814ea5dd>] system_call_fastpath+0x1a/0x1f
    [ 1560.250550] INFO: task sync:1547 blocked for more than 120 seconds.
    [ 1560.250553] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [ 1560.250556] sync D ffffffff811cdd00 0 1547 985 0x00000000
    [ 1560.250561] ffff8801be2e1e68 0000000000000086 0000000000014500 ffff8801be2e1fd8
    [ 1560.250567] ffff8801be2e1fd8 0000000000014500 ffff8801c1335460 ffff8801be2e1e70
    [ 1560.250573] ffffffff811326ab ffff8801be2e1de0 ffff88020bdbc280 0000000000000080
    [ 1560.250579] Call Trace:
    [ 1560.250586] [<ffffffff811326ab>] ? filemap_fdatawait_range+0x17b/0x1a0
    [ 1560.250594] [<ffffffff811cdd00>] ? generic_write_sync+0x60/0x60
    [ 1560.250599] [<ffffffff814e1029>] schedule+0x29/0x70
    [ 1560.250604] [<ffffffff814e1d85>] rwsem_down_read_failed+0xc5/0x120
    [ 1560.250610] [<ffffffff81292744>] call_rwsem_down_read_failed+0x14/0x30
    [ 1560.250616] [<ffffffff814dffa7>] ? down_read+0x17/0x20
    [ 1560.250620] [<ffffffff811a34cc>] iterate_supers+0x9c/0x110
    [ 1560.250628] [<ffffffff811cdf85>] sys_sync+0x35/0x90
    [ 1560.250633] [<ffffffff814ea5dd>] system_call_fastpath+0x1a/0x1f

    mr.MikyMaus wrote:You do know that flash memories have limited number of write cycles, right?
    Limited how? Like all storage devices have (in other words, after a while they break)?
    The drive is completely new, like 3 weeks or something.

  • Mounting and Unmounting USB drives [Solved]

    HI there:
    I want a program like in KDE that will automaticly mount and allow me to click to unmount my usb drives. I am building machines and I need them to be user friendly and fast. I am running openbox 3.5 with a lxpanel right now. Also how do you allow users to access the usb drives. Here is an example of an error. I am logged in as usera. I fire up shotwell plug in my camera. It detects it I click on the camera and it says
    "Shotwell
    Unable to fetch previews from the camera:
    I/O problem (-7)"
    I log in as root it works perfectly. I hope this all makes sense.
    Last edited by mich04 (2011-10-27 23:36:30)

    AliWam wrote:
    How do you start openbox?
    I am using startx with this ~/.xinitrc
    exec ck-launch-session dbus-launch openbox-session
    and it works well.
    Have a look here.
    Nice!  I just installed Xfce on my new netbook (I use awesome WM and a different automounting solution for my other Arch box) and adding "dbus-launch" right before "startxfce4" on the line that reads:
    "exec ck-launch-session dbus-launch startxfce4"
    fixed my problem.
    I'm a little confused though, in the wiki it says that, "In case you are wondering, dbus-launch will be launched by the xinitrc.d code at the beginning of the file...."  https://wiki.archlinux.org/index.php/Xfce
    My .xinitrc is functionally the same as the example in the wiki, so I had thought that somehow dbus-launch wouldn't be necessary.  Oh well, it's working now and that's all that matters, thanks for your suggestion AliWam!

  • How to enable USB drive and CDwrite in Trusted Solaris.

    hello
    I installed Trusted Solaris extensions in an X86 desktop and after that the cdwrite disappeared, the usb drive is not detected.
    How do I enable the CD writer and the zip drive ? I have a file to be copied urgently, the USB drive doesn't work, the CD writer is not seen on the menu and internet / email is still not functional on this desktop
    If there are some commands to be typed, please give me step by step instructions with command syntax and if there is a file to be altered please let me know where to find that file to be altered.
    Thank you.

    Hi Amit,
    It's the same for Solaris. Take care about the line breaks in the document (sometimes one command seems to be two commands, it's one with parameters) and there is also a small bug: On page 6, step 5, it must read "Directory = topicmaps/example" (as printed in the screenshot).
    Hope it helps
    Detlev

  • Stop USB Drive unmounting at User Logoff

    When my users logoff, the external USB drive is unmounted. The external drive is used to hold the users home directory. I have placed an entry in fstab as:
    +*/dev/disk1s6 /Mount/LaCie hfs noowners 0 2*+
    The mount works with +*mount -a*+
    I got the system to stop from unmounting the drive at login with the command
    +*defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool YES*+
    which I found in another post.
    At this point I have to issue a mount after as user logs off, which is pretty rare at my house, fortunately.
    How can I change my systems behavior to leave the /Mount/LaCie drive mounted when the users log on or off?

    Teresa Meerschaert wrote:
    +*defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool YES*+
    That command should keep disks mounted no matter who logs in or out. Isn't it working for you? Did you reboot after entering the command?

  • USB drives keep unmounting by themselves

    This keeps happening over and over...
    my USB drives are unmounting by themselves.
    with no prompt or eject.
    I've tried to re-set the PRAM. with no luck.
    is this a on-going problem?
    what can I do?

    There are several reasons this might be happening so you'll need to provide us with more information.
    1) are the drives connected directly to the computer or to a hub? If to a hub, try removing the hub and see if a drive or two connected directly to the computer will stay mounted.
    2) who is the manufacturer of the drive(s)?
    3) has this been an ongoing problem from day one or did it just recently start after a long period of stability? If the latter, did you make any changes about the same time the trouble began?

  • USB drive started unmounting itself after OS X update

    Has anyone a work around to get a USB hard drive to stop unmounting itself? The drive used to work flawlessly and only started behaving as though the cable were disconnected following an OS X update.

    Don't know about the update as a possible cause, but WD externals have a reputation for being very flakey with Macs, or flakey period. You could try a PRAM reset: hold CMD-Option-P-R keys down together at the startup chime, keep holding down until you hear two more chimes, total three, then let go and it will finish booting.
    Also, you might try re-applying the 10.5.8 Combo Update.
    http://support.apple.com/downloads/MacOS_X_10_5_8_ComboUpdate

  • USB Drive with FAT32 on Blade 2000 with Solaris 9

    I attached a Western Digital USB Drive to the USB-Post of my Sun Blade 2000 running Solaris 9. It is detected immediately:
    iostat -En< ... snip SCSI & DVD drives ... >
    c3t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: WDC Product: WD2500JB0104153 Revision: Serial No: Size: 250.06GB <250059350016 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    The drive can be formatted (takes ages) and UFS set up and it runs fine with that. But the goal is to have it running with FAT32 for data exchange with other systems. If it is formated FAT32 with Windows it cannot be mounted using for example
    mount -F pcfs dev/dsk/c3t0d0s2 /mnt
    mount -F pcfs dev/dsk/c3t0d0s2:1 /mnt
    mount -F pcfs dev/dsk/c3t0d0sX:Y /mntetc. with variing numbers for X and Y!
    The error message always is equivalent to (I can't recall the exact words): no valid DOS-filesystem found.
    Invoking "format" and selecting the disk then asks if the disk should be labeled. If answered with yes all the disk is in one partition. Labelling the disk seems to kill all partitions as reattaching the disk to a Windows computer has the result that the disk has to be initialized and new partitions created. All data is hence lost.
    I also tried creating a FAT32 filesystem from Solaris (which would be nice actually, as Windows isn't able to format 250Gig with FAT32 in one chunk) after creating a new partition using:
    mkfs -F pcfs dev/dsk/c3t0d0s7Trying to mount this slice then yields:
    mount -F pcfs dev/dsk/c3t0d0s7 /mntI/O error
    Now I'm out of ideas! Do I have to "activate" FAT32 support specially? It all seemed so easy reading the "Managing USB Devices" in the Solaris 9 Documentation.
    Thanks for any help in advance!

    Did you try
    mount -F pcfs /dev/dsk/c3t0d0s2:c /mnt
    What's the contents of the fdisk partition table on Solaris, after you've prepared the USB HDD on windows?
    The command "fdisk -W - /dev/dsk/c3t0d0s2" prints the raw fdisk partition infomation.
    You can also try to create the pcfs filesystem on Solaris, using something like this:
    fdisk /dev/rdsk/c3t0d0s2 (create a 100% FAT32LBA partition, activate it and write back the fdisk label)
    mkfs -F pcfs -o fat=32 /dev/rdsk/c3t0d0s2:c

  • USB Drive unmounts from airport extreme

    I have a 1TB segate USB drive mounted on my Airport etreme which I mapped as drive z: on my win 8 laptop.
    Somtimes when the laptop comes out of sleep mode, the drive will not remount unless I reboot the PC.
    Somtimes I can't even remount the drive using the base station agent, it will not let me log into the drive.
    Yes the drive is formatted as fat32.
    Any suggestions?

    You can use thumb drive.. it has to be formatted correctly.. fat32 or HFS+ of course.
    And they are not very big.. so I am not sure how big your songs are.. in the apple world you have your songs on itunes and definitely this is unsuitable for the itunes library.. you still need itunes on a computer to share it to the network.

  • How can I redirect USB from Sun ray to Win2003 terminal server

    Hi
    I am running Sun Ray 4.2 in Solaris with SRWC 2.2 in a Kiosk mod to Windows terminal server 2003 , how can I allow users to use their USB divices from Sun Ray and appear automatically in their Windows desktop ..I try adding the following line to mikioskhdlr_win script
    UTTSCPARMS="-m -b -A 24 -r sound:high" - r disk:M=/tmp/SUNWut/mnt/$USER”
    but it did not work .. please help

    If you are using the USB Drive Daemon or manually specifying the mount then there are no issues with user access. That's only an issue with the the built in USB pass through included with SRSS 5 which is connecting directly to Windows and in essence the physical machine. The former is just mounting a network drive which is user specific.
    Edited by: ot90 on Mar 1, 2010 9:00 AM

  • How Do I: Make a bootable FW or USB drive which I can install from?

    I was at our local Apple store yesterday after my wife's Macbook decided not to like the 10.5 install disk that came with it. It would make it to about 7% and then error-out and message us that we needed to clean the disk. Multiple times. So I brought it in and the nice Genius had a drive which had 10.4, 10.5 , Drive Genius and more on it. He was able to run Disk Utility from it as well as boot from it and install from it.
    I have multiple drives floating around, too small to be of much use and log ago replaced with larger drives.
    We have three Macs and two versions of OSX. This would be very nice rather than digging out the disks.
    I know I can install to a FW or USB drive and boot from it, but how do I go about installing from an external drive?

    Note that the restored HD partition version of the installer DVD will still be writable, unlike the DVD itself, which is inherently read only. This should not be a problem unless something either corrupts its files or adds something that interferes with the operation of the DVD version of the OS* (which is stripped down & contains some small differences in the component files it shares with the standard version).
    For this reason, you should not mount the partition unless you need to use it and/or unmount it when not in use.
    * By "the DVD version of the OS," I mean the OS that boots the Mac to run the installer, not the OS version it installs.

  • Will only support one USB drive at a time

    Background
    This is happening with a Mid 2007 Mini, OS X 10.7.4.
    I use this Mini soley as an iTunes music server. The OS is on the internal drive. Music is on a separate drive, as is Time Machine. No keyboard is connected. I do all maintence wirelessly via screen sharing from another Mac.
    Recently I changed the drives from conventional ext. FW hard drives to ext USB SSD. The USB enclosures are USB2/3 "Hornet" brand. The SSDs are Samsung 256GB 830s.
    The Problem
    Only one USB drive will stay mounted at a time. Both drives will initially mount but once one is put into use, i.e., play a song or start a Time Machine update, the other drive will unmount and I get the nasty "You disconnected your USB drive improperly...." I've seen the threads on USB drives randomly unmounting. This is not that issue. My drives do not randomly unmount; one will unmount as soon as the other is in use. (The unmounted drive stays unmounted. It does not remount when the other drive is no longer in use).
    The drives came with USB cables that had dual ends, one for data/power the other power only. The problem occurs regardless of whether I use just the data/power or both.
    My initial thoughts are:
    1) It's a power issue and the Mini can't support the power requirements of both drives simulateously. I need an A/C adapter.
    2) It's an incompatible enclosure (even though it said Mac compatible, who knows if it was actually tested and not just presumed).
    3) Crappy cables.
    The Question
    Since testing any of these hypothesis will cost me $ (and time to buy -- and return if unsuccesful) I'm hoping someone here has experienced something similar to guide me to the fix a bit quicker. Am I close here, or could it be something else?

    I believe Bus powered drives are for the birds, & more often a problem on Macs than PCs, get a good AC powered USB hub... or two.

Maybe you are looking for

  • Project Management System In Dreamweaver

    I'm looking to create project management system in Dreamweaver; similar to MS Outlook, only with an enhanced task hierarchy and detail section. Does anyone know of examples and / or books where I can see what I'm getting myself into?  Even better, do

  • Font not appearing on PDF Output

    Hi, We are creating a XSL-FO report in Oracle Applications R12 which uses a special font. I installed the font using XML Publisher Administrator and I can see the font when I click on Preview on the template. But when the report is run from Applicati

  • Can't Open New tab using right click

    Am using Mac OSX MountainLion with latest firefox browser. When i go to any web page if a link is provided in a page i cant open it by * right click -> Open Link in New Tab Not even Open with new window is also working Every time i wanna copy the lin

  • IPad and Wireless Keyboard

    Trying to connect my (newer) Apple wireless keyboard to my iPad and it doesn't seem to recognize it. When I turn on bluetooth on the iPad it just keeps searching but not finding the keyboard (sitting right next to it).

  • Account number range in EBS

    Hi ,    When do EBS configuration we need to assign account symbol to GL accounts. My question is when ++++++++++ is populated in GL account field for Bank Deposit symbol what is the account number range for '+++++++++'. Namely,  which accounts will