From Wiki-UX.info

How to mount a USB flash drive under Solaris
Jump to: navigation, search

How to mount a USB flash drive under Solaris

Introduction
This HOWTO explains how to mount a USB key under Solaris. 
 
Purpose 
Scope 
Solaris 10 x86 / SPARC 
 
Acronyms 
References 
Solaris Forums - Mount an USB key under solaris 10 x86 
Overview 
Steps
Solaris 10 doesn't seem to understand FAT32 filesystems. FAT16 works as expected. 
 
Solaris 10 x86 / SPARC 
Insert the USB key in one of the USB slots. 
mkdir /rmdisk 
/etc/init.d/volmgt stop 
/etc/init.d/volmgt start 
mount | grep rmdisk 
It should be there. 
 
If the above doesn't work please try 
 
/etc/init.d/volmgt stop 
(In Solaris 10's Single User boot mode you do not have to stop volmgt) 
iostat -En 
Look for your USB device. 
mount -F pcfs /dev/dsk/c2t0d0p0:c /mnt 
mount -F pcfs /dev/dsk/c1t0d0p0:c /mnt 
 
Secondary way to mount the USB 
 
cd /dev/rdsk 
iostat –En 
c5t0d0 Soft Errors: 2 Hard Errors: 0 Transport Errors: 0 Vendor: USB 2.0 Product: Flash Disk Revision: 1.00 Serial No: Size: 0.13GB <130023424 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 2 Predictive Failure Analysis: 0 
 
devfsadm -C 
ls -l c*0 | grep usb 
lrwxrwxrwx 1 root root 64 Jun 7 16:32 c5t0d0s0 ->../../devices/pci@1e,600000/usb@b/hub@1/storage@1/disk@0,0:a,raw 
 
mount -F pcfs /dev/dsk/c5t0d0s0:c /mnt 
How to unmount the USB 
 
fuser -c -u /mnt 
/mnt: 
 
umount /mnt 
Solaris 10,latest update has no volmgt, also ls -l c*0 has no usb as result (what to do in that case), but with iostat -En I have a recognizable usb-stick at c6t0d0. For my situation it is just out of touch. Maybe someone can update it?
This page was last modified on 29 May 2009, at 19:17. This page has been accessed 3,641 times.