Contents
- 1 Introduction
- 1.1 Purpose
- 1.2 Scope
- 1.3 Acronyms
- 1.4 References
- 1.5 Overview
- 2 Steps
- 2.1 Solaris 10 x86 / SPARC
- 2.2 Links
Introduction
This HOWTO explains how to mount a USB key under Solaris.
Purpose
Scope
Solaris 10 x86 / SPARC
Acronyms
References
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?
Not a DOS filesystem - alternate mount command
The mount command about assumes that the media contains a valid FDISK partition table and the DOS filesystem is inside a separate FDISK partition. Most of the time this is the case.
But there are devices that don't include an FDISK partition table, the DOS filesystem starts on sector #0 of the media. In that case the mount command should look like this (':c' removed):
mount -F pcfs /dev/dsk/c1t1d0s2 /mnt
No comments:
Post a Comment