Solaris 8 box with USB ports on mobo. Two USB devices both fat32 filesystems and mount with the fs type pcfs, device A is a USB thumb drive (1gb), device B is a External HDD (500gb). Insert device A into a usb port; use dmesg output to find the device path (usb@a/storage@2#). Look at ls -l /dev/dsk grep storage@2# to find out what c#t#d#s# disk that device is tied to. Mount the device (/mnt/usb); ls to check; unmount device (umount /mnt/usb). Unplug device A.
This all works fine, now pull device A out and insert device B into the same USB port. Run dmesg and this is the output
dmesg output
Now if I try and repeat the mounting steps over for deviceB it will not mount I get a message along the lines of no disk, however if I pull it reinsert device A then run the same mount command it works fine.
Each time I pull out a usb device I see that offlining scsa2usb1 failed (-5) message.
To me it seems like I am not properly closing out of the device, and it is being cached. The only way to solve this problem I have found thus far is a restart. But after the first device either A or B had been mounted then unmount and replaced I hit the same issue.
Things that I have tried to fix this.
eject /dev/dsk/c#t#d#s# where the numbers map to the usb device
eject /mount point
cfgadm -C
stoping and starting volmgt
calling vold
P.S. My system will not automount to /rmdisk infact that dir does not exist on my root
Questions:
1.) What am I doing wrong here, is it in the unmounting?
2.) What is offlining and why does it fail?
3.) Does some cache of connected devices exist and can it be reset?
4.) Is there a way to cycle the power in the USB port or internal hub to reset device mappings, if so how?
Last edited by striker0010; 12-17-2010 at 01:23 PM..
Reason: Left out questions
Maybe automountd is remounting the ejected device, since it does not actually eject? Mount point does not seem to be a valid argument to eject, but who knows!
Maybe you need to turn it off at some lower level to keep the lower levels happy:
I agree that it seems that the lower levels need to be apeased somehow. I am just out of ideas on how to make that happen. As for cfgadm -l I don't see any of my USB ports all I get is the SCSI Bus.
Ok, I am on the same page with you, cfgadm does not list anything for usb because I am missing that libary which provides cfgadm instructions on how to interact with different hardware. So how do I go about adding an attachment point, ie usb.so.1 ?
Hi all,
I'm developing a short program to look-up for all devices connected to the computer. Using udev and libusb libraries I achieved some progress but I can not find the way to find the mount point.
For instance, given a device that I can retrieve using libusb, I would like to know... (4 Replies)
Hi experts, recently i'm exploring USB with filesystem FAT32 mounting on my aix oslevel 6100-04-02-1007. I tried to google to get solutions but failed. Thus, i post it here hope to get solution. Appreciate :)
This is my usb drives: (5 Replies)
I am very new to Solaris.
The machine I am working with is running Solaris 10.
I have a 1.5 TB hard drive plugged into a USB dock plugged into the Solaris machine. I ran 'cfgadm -al' and can see that the usb0/1 is usb-storage that was not there before.
How do i mount this drive and format... (3 Replies)
I wish to mount a USB pen drive to allow me copy files from the pc to the pen drive.
when I insert the dirve I get a message
umass Attached: Kingston DataTraveler 2.0, rev 2.0, usb_id 2
The version of unix is SCO_SV.
I cannot see any new file in the /dev folder. I was looking for... (5 Replies)
My previous post seems to be erased and I didn't get any help. I'm logged as root now but no mounting command seems to work, I've tried:
Mount -t vfat /dev/sdc1 /mnt/USB
Changing "sdc1" for hda1-7, and sdc1-7, and still nothing. Sometimes i get:
"special device not found" and others "device... (4 Replies)
hi, first of all, i would really like to know how to find out where my usb is in the system. if i "cd to /dev/usb i have a hub0 to hub4 and hid0 -- hid5 .. how do i know where my usb is?
and i guess once i find out which one my usb is at, i can do something like "mount /dev/usb/xxx /tmp" ... (5 Replies)
hello forum..
i am using RHEL 4.0 and my system is dual boot.normally the usb flash drive should be auto mount , but in my system i am unable to mount the drive plz help...
i am a new user so plz give me in detail.
thank u in advance. (5 Replies)
Hi I was trying to mount my USB flashdrive on solaris 10 and I am getting the message saying that (I have already gone through the previous blogs in the forum)
mount: Block device required.
I have tried most of the possible ways.
#rmformat(gives me the necessary information about my flash... (1 Reply)