Mount a USB key under Solaris

 

Steps

Solaris 10 doesn't seem to understand FAT32 filesystems. FAT16 works as expected.

Solaris 10 x86 / SPARC

  1. Insert the USB key in one of the USB slots.
  2. mkdir /rmdisk
  3. /etc/init.d/volmgt stop
  4. /etc/init.d/volmgt start
  5. mount | grep rmdisk

It should be there.

If the above doesn't work please try

  1. /etc/init.d/volmgt stop
    • (In Solaris 10's Single User boot mode you do not have to stop volmgt)
  2. iostat -En
    • Look for your USB device.
  3. mount -F pcfs /dev/dsk/c2t0d0p0:c /mnt
    • mount -F pcfs /dev/dsk/c1t0d0p0:c /mnt


Secondary way to mount the USB

  1. cd /dev/rdsk
  2. 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

  1. devfsadm -C
  2. 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

  1. mount -F pcfs /dev/dsk/c5t0d0s0:c /mnt

How to unmount the USB

  1. fuser -c -u /mnt

/mnt:

  1. 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?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值