trouble with USB removable storage in Solaris 10 (SPARC)


 
Thread Tools Search this Thread
Operating Systems Solaris trouble with USB removable storage in Solaris 10 (SPARC)
# 1  
Old 06-25-2009
trouble with USB removable storage in Solaris 10 (SPARC)

Today is the first time I've tried to connect a USB memory stick to my V480 running Solaris 10.

I'm having endless problems.

Below is some output

# rmformat
Looking for devices...
1. Volmgt Node: /vol/dev/aliases/cdrom0
Logical Node: /dev/rdsk/c0t0d0s2
Physical Node: /pci@8,700000/ide@6/sd@0,0
Connected Device: TOSHIBA DVD-ROM SD-C2612 1011
Device Type: DVD Reader
2. Volmgt Node: /vol/dev/aliases/rmdisk0
Logical Node: /dev/rdsk/c6t0d0s2
Physical Node: /pci@9,700000/usb@1,3/storage@2/disk@0,0
Connected Device: 0.00
Device Type: Removable


# newfs -v /vol/dev/aliases/rmdisk0
newfs: construct a new file system /vol/dev/aliases/rmdisk0: (y/n)? y
mkfs -F ufs /vol/dev/aliases/rmdisk0 1972224 32 64 8192 1024 16 6 3 2048 t 0 -1 8 8 n
can't check mount point; can't stat

# ls -l /vol/dev/aliases/rmdisk0
lrwxrwxrwx 1 root root 35 Jun 25 14:23 /vol/dev/aliases/rmdisk0 -> /vol/dev/rdsk/c6t0d0/unknown_format

So basically I'm unable to create a file system on the USB stick and I'm unable to mount it.

Can someone perhaps point me in the right direction?
# 2  
Old 06-25-2009
i found it sometimes work, sometimes not. the usb implemantation ist not that good in solaris... and not all usb devices are the same. there are some that works better than others. i've an old sandisk 128mb device which works allways. a newer 2gb device (also sandisk) works never. and there is a sony 8gb device that sometimes work?!?! i'm not able to work out where the problem is...
# 3  
Old 06-25-2009
Hi,

I tried the below method,please try it
Type cfgadm to see if it detected or not:
# cfgadm
You should see something as follows:

...
...
usb0/2.0 usb-storage connected configured ok
...
....Now just create a directory called /rmdisk with mkdir command:
# mkdir /rmdisk
Now start vold daemon to pick up USB pen and mount to /rmdisk/rmdisk0
# /etc/init.d/vold start; volcheck
OR restart vold daemon
# /etc/init.d/vold stop
# /etc/init.d/vold start; volcheck

OR just kill and restart (same as above but less typing)
# pkill -HUP vold; volcheck
Task: Access my USB pen under Solaris?
To access your USB pen under /rmdisk/rmdisk0
# cd /rmdisk/rmdisk0
# ls -l

You’re probably under Solaris10, vold no longer exists, you have to use :
#svcadm disable volfs
#svcadm enable volfs

if the above auto mounting method is not working please try the below command

mount -F pcfs /dev/dsk/c2t0d0p0:c /mnt

Please make sure you are entering correct logical path "/dev/dsk/c#t#d#p#:c"

Thanks
MaroV
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Mounting USB Mass Storage

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)
Discussion started by: polar
5 Replies

2. Cybersecurity

How to disable USB for storage devices in Suse?

Hello folks, for some confidential reason, I need to disable the USB to access the storage devices in Suse11.2, but I still need two USB for the mouse and keyboard. Anyone knows? Thanks a lot in advance! (3 Replies)
Discussion started by: gnsxhj
3 Replies

3. Solaris

Solaris 8 - Removable hard disk

Hi Gurus, I have difficulty in configuring removable hard disk in Solaris 8. I have connected hard disk to machine but I do not know how to configure it. Kindly tell me, how should I configure it .. so that I can create a mount point on this and write files to them. Regards Srini (7 Replies)
Discussion started by: sri243
7 Replies

4. UNIX for Dummies Questions & Answers

can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC?

Hi Gurus can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC? regards, Israel. (9 Replies)
Discussion started by: iga3725
9 Replies

5. Solaris

Adding USB Drive to Sparc

I have a sparc machine with which I am trying to add an external USB drive. The server does recognize the USB device, but I cannot see it as an external drive. How to overcome the issue of driver initialization. Much appreciate any help. more /etc/release Solaris 8... (1 Reply)
Discussion started by: Tirmazi
1 Replies

6. Shell Programming and Scripting

Detecting A USB Storage Device From A Script

I need a way to reliably detect a USB storage device from a bash script. I know how to use 'lsusb' to list the USB devices - but then how can I match a device listed in 'lsusb' output to an actual disk device? Is there some way to map one to the other? Any help appreciated. (3 Replies)
Discussion started by: dmaddox099
3 Replies

7. Solaris

USB External Hard Drive for Solaris 10 Sparc

Hi- I would like to know if anyone has used any USB External Hard Drive, about 500/750GB or 1TB, with any of the Solaris 10 "SPARC" systems. Not on intel nor amd platform. I'm looking for the compatible drive and found a few listed on Sun solaris ready page, but I'd like to have inputs from... (3 Replies)
Discussion started by: agfa_109
3 Replies

8. Solaris

removable usb flash drive

# rmformat Looking for devices... 1. Logical Node: /dev/rdsk/c0t0d0p0 Physical Node: /pci@0,0/pci-ide@1f,1/ide@0/sd@0,0 Connected Device: HL-DT-ST DVD+-RW GWA4164B E113 Device Type: DVD Reader/Writer 2. Logical Node: /dev/rdsk/c2t0d0p0 Physical Node:... (26 Replies)
Discussion started by: seyiisq
26 Replies

9. UNIX for Advanced & Expert Users

How to enumerate USB Mass Storage devices?

Hi all, I want to write a program in C that can enumerate all USB massand their mount point storage on my system. i want to give ability to copy one file to desired USB mass storage or read a file from it. I have posted another question about how can recieve USB arrival in this forum. I think... (0 Replies)
Discussion started by: aghashahi
0 Replies
Login or Register to Ask a Question