removable usb flash drive


 
Thread Tools Search this Thread
Operating Systems Solaris removable usb flash drive
# 8  
Old 02-25-2009
Hmm, the commands output isn't consistent with the error message.

Run
"tail -f1 /var/adm/messages"
then plug your USB device in.
Post the lines that should appear.
# 9  
Old 02-25-2009
Quote:
Originally Posted by purus.mail
plz post the output of the following commands

#svcs -a | gfrep volfs

#rmformat

#eject -n
regarding your post this is the outcome

Code:
# svcs -a | gfrep volfs
gfrep: not found
# svcs -a | grep volfs
online         12:26:25 svc:/system/filesystem/volfs:default
# rmformat
Looking for devices...
     1. Volmgt Node: /vol/dev/aliases/cdrom0
        Logical Node: /dev/rdsk/c0t0d0s2
        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. Volmgt Node: /vol/dev/aliases/rmdisk0
        Logical Node: /dev/rdsk/c2t0d0p0
        Physical Node: /pci@0,0/pci1028,1c4@1d,7/storage@6/disk@0,0
        Connected Device: Verbatim Store 'n' Go     3.00
        Device Type: Removable
# eject -n
        fd -> floppy0
        fd0 -> floppy0
        fd1 -> floppy1
        diskette -> floppy0
        diskette0 -> floppy0
        diskette1 -> floppy1
        rdiskette -> floppy0
        rdiskette0 -> floppy0
        rdiskette1 -> floppy1
        cd -> cdrom0
        cd0 -> cdrom0
        cd1 -> cdrom1
        sr -> cdrom0
        sr0 -> cdrom0
        /dev/sr0 -> cdrom0
        /dev/rsr0 -> cdrom0
        cdrom0 -> /vol/dev/rdsk/c0t0d0/nomedia
        rmdisk0 -> /vol/dev/rdsk/c2t0d0/noname
#

thanks
# 10  
Old 02-25-2009
Quote:
Originally Posted by jlliagre
Hmm, the commands output isn't consistent with the error message.

Run
"tail -f1 /var/adm/messages"
then plug your USB device in.
Post the lines that should appear.
pls see below

Code:
# tail -f1 /var/adm/messages
usage: tail [+/-[n][lbc][f]] [file]
       tail [+/-[n][l][r|f]] [file]
# tail -f /var/adm/messages
Feb 25 16:10:27 seyi-desk pcfs: [ID 255224 kern.info] NOTICE: pcfs: no such logical drive
Feb 25 16:10:48 seyi-desk scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci1028,1c4@1d,7/storage@6/disk@0,0 (sd1):
Feb 25 16:10:48 seyi-desk       Command failed to complete...Device is gone
Feb 25 16:10:48 seyi-desk scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci1028,1c4@1d,7/storage@6/disk@0,0 (sd1):
Feb 25 16:10:48 seyi-desk       Command failed to complete...Device is gone
Feb 25 16:10:48 seyi-desk scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci1028,1c4@1d,7/storage@6/disk@0,0 (sd1):
Feb 25 16:10:48 seyi-desk       Command failed to complete...Device is gone
Feb 25 16:10:48 seyi-desk scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci1028,1c4@1d,7/storage@6/disk@0,0 (sd1):
Feb 25 16:10:48 seyi-desk       Command failed to complete...Device is gone
Feb 25 16:10:56 seyi-desk usba: [ID 691482 kern.warning] WARNING: /pci@0,0/pci1028,1c4@1d,7/storage@6 (scsa2usb0): Reinserted device is accessible again.
Feb 25 16:13:09 seyi-desk usba: [ID 691482 kern.warning] WARNING: /pci@0,0/pci1028,1c4@1d,2 (uhci2): Connecting device on port 2 failed
Feb 25 16:13:11 seyi-desk usba: [ID 691482 kern.warning] WARNING: /pci@0,0/pci1028,1c4@1d,7/storage@6 (scsa2usb0): Reinserted device is accessible again.

# 11  
Old 02-25-2009
What says:
Code:
ls -l /dev/dsk/c2t0d0p0
ls -lL /dev/dsk/c2t0d0p0
fstyp /dev/dsk/c2t0d0p0

# 12  
Old 02-25-2009
Quote:
Originally Posted by jlliagre
What says:
Code:
ls -l /dev/dsk/c2t0d0p0
ls -lL /dev/dsk/c2t0d0p0
fstyp /dev/dsk/c2t0d0p0


Code:
# ls -l /dev/dsk/c2t0d0p0
lrwxrwxrwx   1 root     root          59 Dec 10 10:39 /dev/dsk/c2t0d0p0 -> ../../devices/pci@0,0/pci1028,1c4@1d,7/storage@6/disk@0,0:q
# ls -lL /dev/dsk/c2t0d0p0
brw-r-----   1 root     sys       29, 80 Feb 25 23:31 /dev/dsk/c2t0d0p0
# fstyp /dev/dsk/c2t0d0p0
hsfs fstyp: cannot open </dev/dsk/c2t0d0p0>
/dev/dsk/c2t0d0p0: No such device or address
udfs fstyp: cannot open </dev/dsk/c2t0d0p0> errorno <6>
/dev/rdsk/c2t0d0p0: No such device or address
open64: No such device or address
Unknown_fstyp (no matches)
#

Thanks
# 13  
Old 02-26-2009
Try these ones:
Code:
dd if=/dev/dsk/c2t0d0p0 | od -c | head -2
dd if=/dev/dsk/c2t0d0p1 | od -c | head -2

# 14  
Old 02-26-2009
Quote:
Originally Posted by jlliagre
Try these ones:
Code:
dd if=/dev/dsk/c2t0d0p0 | od -c | head -2
dd if=/dev/dsk/c2t0d0p1 | od -c | head -2

pls see below

Code:
# dd if=/dev/dsk/c2t0d0p0 | od -c | head -2
0000000 353   < 220   M   S   W   I   N   4   .   1  \0 002   @      \0
0000020 002  \0 002  \0  \0 370  \0 001   ?  \0 377  \0  \0  \0  \0  \0
# dd if=/dev/dsk/c2t0d0p1 | od -c | head -2
0000000   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
*
#


Last edited by seyiisq; 02-26-2009 at 11:29 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

how to increase cylinders on USB Flash Drive

Hello All, I faced a unique issue. I have written a script for transferring backup data on my host machine to a USB Flash drive. The Flash drive must be of 16GB size. So, my script creates two primary partitionon the USB flash drive. I require approx 5900 cylinders for the first partition on... (8 Replies)
Discussion started by: Pkumar Sachin
8 Replies

2. Solaris

Installing Solaris 10 x86 from USB flash drive

Dear friends, I have the DVD image of solaris 10 but I don't have DVD writer to burn it onto a dvd R. I was wondering if I could install Solaris from my 4gb usb flash drive as my PC supports booting from usb. I have installed Windows 7 this way recently, I have no idea about Solaris. Could you... (2 Replies)
Discussion started by: gabam
2 Replies

3. Boot Loaders

How to install grub on USB flash drive?

I wanna install grub on my flash drive for rescue usage. My computer installs winxp, and I have fedora12 installed in vmware. I did like this: step1: format the flash drive as FAT in winXP. step2: in fedora12, mount the flash drive on /media/flash step3: excute the command: grub-install... (10 Replies)
Discussion started by: vistastar
10 Replies

4. UNIX for Dummies Questions & Answers

SCO 5.0.5 & USB flash drive

Can someone help me with instructions on how to access a USB flash drive in SCO Unix 5.0.5? I need to copy ASCII text files that have been zipped onto the USB drive for transfer to a Windows computer. (0 Replies)
Discussion started by: jlodata
0 Replies

5. Ubuntu

USB flash drive/keyfob will not automount

I am working on an Ubuntu Linux 8.10 system that I do not want to reboot. For some reason, USB flash drives (mass storage devices) now no longer automount. I want to restore that functionality without rebooting. I can manually mount and unmount these things by doing: cd /media sudo mkdir thing... (4 Replies)
Discussion started by: ropers
4 Replies

6. Solaris

removable flash drive

I have a removable usb flash drive which is visible below as no. 2 # rmformat Looking for devices... 1. Volmgt Node: /vol/dev/aliases/cdrom0 Logical Node: /dev/rdsk/c0t0d0s2 Physical Node: /pci@0,0/pci-ide@1f,1/ide@0/sd@0,0 Connected Device: HL-DT-ST DVD+-RW... (4 Replies)
Discussion started by: seyiisq
4 Replies

7. UNIX for Dummies Questions & Answers

Does HPUX 10.2 or 11.i support any USB flash drive?

Where can I get a driver that support usb flash drives for my unix machines. I need a solution to transfer data easily for techs. I am running C3750 and c8000 HP equipment. Or is there a way to mount them and use them without adding drivers? thanks! (0 Replies)
Discussion started by: jkend12
0 Replies

8. SCO

mounting USB floppy drive /Flash drive in OSR 6.0

Can anybody help me out to mount USB flash /floppy drive in sco openserver 6.0 . (5 Replies)
Discussion started by: sureshdrajan
5 Replies

9. UNIX for Dummies Questions & Answers

USB flash drive is not mounting what to do...?

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

10. Solaris

USB flash Drive

Hello all.. I have a Verbatim 2 GB flash drive. I also have Solaris 10 running on my workstation. If I am in the Windows environment, it detects the flash drive. But when I plug it while I am in solaris, nothing happens. How will solaris 10 detect my flash drive? What do I have to do? any... (4 Replies)
Discussion started by: vr76413
4 Replies
Login or Register to Ask a Question