vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I plugged in a USB 1.0 flash drive into a SunBlade 1000 (Solaris 8). I'm now tring to figure out the mount command. Can you help. Here is what I've done so far: I tried to follow the USB Flash Drive help at: http://www.netsys.com/cgi-bin/display_article.cgi?1245 and http://www.netsys.com/cgi-bin/man2html?scsa2usb ---------------------------------------------------------------------------- I ran: csh% dmesg | grep scsa2usb WHICH REPORTED (on machine 'eunice'): Sep 23 15:24:06 eunice usba: [ID 855233 kern.info] USB-device: storage@1, scsa2usb0 at bus address 5 Sep 23 15:24:06 eunice genunix: [ID 936769 kern.info] scsa2usb0 is /pci@8,700000/usb@5,3/hub@3/storage@1 Sep 23 15:24:06 eunice scsi: [ID 193665 kern.info] sd45 at scsa2usb0: target 0 lun 0 Sep 23 15:24:06 eunice genunix: [ID 408114 kern.info] /pci@8,700000/usb@5,3/hub@3/storage@1 (scsa2usb0) online ---------------------------------------------------------------------------- The next step is supposed to be the mount step, but, this failed: csh% su root csh# mkdir /flash csh# mount -F pcfs /dev/dsk/c1t1d0s2:c /flash Which reported: mount: /dev/dsk/c1t1d0s2:c is not a DOS filesystem. csh# df -kl Does not report the existance of this flash drive. ---------------------------------------------------------------------------- Probably I have the data incorrect in the mount line for the controller:target:disk:slice:1 information in the mount command. But, how do I find out that data for the mount command? If it's in the dmesg output ... I don't understand that well enough to find the controller, target, disk, & slice information for this new flash drive. Any help is appreciated, Eunice |
| |||
| unixasaurus@yahoo.com (Eunice Santorini) writes: > The next step is supposed to be the mount step, but, this failed: > csh% su root > csh# mkdir /flash > csh# mount -F pcfs /dev/dsk/c1t1d0s2:c /flash > Which reported: mount: /dev/dsk/c1t1d0s2:c is not a DOS filesystem. This mount command 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 /flash You can use the "fdisk" command to print the parition table on the media. fdisk -W - /dev/rdsk/c1t1d0s2 If a reasonable fdisk partition table is printed, use the ":c" device suffix to mount the DOS filesystem, otherwise try to omit the ":c" suffix. Btw. your device path looks a bit strange for an USB mass storage device. An USB mass storage device should always use "scsi target #0", so that device path using "...t1..." is probably not your USB device! > Probably I have the data incorrect in the mount line for the > controller:target:disk:slice:1 information in the mount command. > > But, how do I find out that data for the mount command? Try "devfsadm -v -i sd", followed by "iostat -En". You can use the device's Product name to identify the entry for your USB flash device in the iostat output, the Unix device name (the part following /dev/rdsk/ or /dev/dsk/) is printed in front of the entry. Here's an example for a SOYO BayOne 6-in-1 USB flash card reader: % iostat -En ..... c6t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 ^^^^^^ Vendor: SOYO Product: USB Storage-CFC Revision: 0180 Serial No: USB Storage-CFC Size: 1.08GB <1077608448 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 c6t0d1 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 ^^^^^^ Vendor: SOYO Product: USB Storage-SMC Revision: 0180 Serial No: USB Storage-SMC Size: 0.02GB <16384000 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 c6t0d2 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 ^^^^^^ Vendor: SOYO Product: USB Storage-MSC Revision: 0180 Serial No: USB Storage-MSC Size: 0.00GB <0 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 c6t0d3 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 ^^^^^^ Vendor: SOYO Product: USB Storage-MMC Revision: 0180 Serial No: USB Storage-MMC Size: 0.00GB <0 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 .... |
| ||||
| I think part of my problem is that folks say I must turn off something called 'vold' (volume management daemon). In my /etc/vold.conf file, after stopping vold and before restarting it, is this last 'use rmdisk drive' line listed below the one I need to comment out in Sun Solaris 8? # Database to use (must be first) db db_mem.so # Labels supported label cdrom label_cdrom.so cdrom label dos label_dos.so floppy rmdisk pcmem label sun label_sun.so floppy rmdisk pcmem # Devices to use use cdrom drive /dev/rdsk/c*s2 dev_cdrom.so cdrom%d use floppy drive /dev/rdiskette[0-9] dev_floppy.so floppy%d use pcmem drive /dev/rdsk/c*s2 dev_pcmem.so pcmem%d forceload=true use rmdisk drive /dev/rdsk/c*s2 dev_rmdisk.so rmdisk%d <==== comment this line? |