seyiisq
February 18, 2009, 9:51am
1
# 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: /pci@0,0/pci1028,1c4@1d,7/storage@6/disk@0,0
Connected Device: Verbatim Store 'n' Go 3.00
Device Type: Removable
# mount -F pcfs /dev/rdsk/c2t0d0p0:c /rmdisk
mount: Block device required
I was trying to access my usb flash drive but got the error as shown above. i tried to check if the volmgt is running and i found that it is running as shown below
# ps -ef | grep volgmt
root 1292 1151 0 14:42:44 syscon 0:00 grep volgmt
pls can someone help
your volmgt is NOT running. try starting it and see if it auto mounts , verify using df -k
#mount -F pcfs /dev/rdsk/c2t0d0p0:c /rmdisk
This command have an error....
it should always /dev/dsk (represents block device) in mount command should not be /dev/rdsk (represents raw devices)
seyiisq
February 24, 2009, 1:00pm
4
purus.mail:
#mount -F pcfs /dev/rdsk/c2t0d0p0:c /rmdisk
This command have an error....
it should always /dev/dsk (represents block device) in mount command should not be /dev/rdsk (represents raw devices)
Thanks for your response, i made the amendment and i had the result as below:
# mount -F pcfs /dev/dsk/c2t0d0p0:c /rmdisk
mount: /dev/dsk/c2t0d0p0:c is already mounted or /rmdisk is busy
but I still cannot see my files in /rmdisk
pls any thought
What say "df -k", "mount | grep c2t0d0p0" and "fuser /rmdisk" ?
seyiisq
February 24, 2009, 6:59pm
6
Thanks for your response. pls see below for your request above
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c1d0s0 15141312 2365450 12624449 16% /
/devices 0 0 0 0% /devices
ctfs 0 0 0 0% /system/contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 2603344 928 2602416 1% /etc/svc/volatile
objfs 0 0 0 0% /system/object
sharefs 0 0 0 0% /etc/dfs/sharetab
/dev/dsk/c1d0s6 4034061 2607672 1386049 66% /usr
/usr/lib/libc/libc_hwcap1.so.1
4034061 2607672 1386049 66% /lib/libc.so.1
fd 0 0 0 0% /dev/fd
/dev/dsk/c1d0s4 4034061 1734773 2258948 44% /var
swap 2602496 80 2602416 1% /tmp
swap 2602440 24 2602416 1% /var/run
/dev/dsk/c1d0s5 76514035 4014550 71734345 6% /u01
/dev/dsk/c1d0s7 151287721 1875036 147899808 2% /export/home
# mount | grep c2t0d0p0
#
This has no result
# fuser /rmdisk
/rmdisk:
Thanks
plz post the output of the following commands
#svcs -a | gfrep volfs
#rmformat
#eject -n
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.
seyiisq
February 25, 2009, 11:04am
9
regarding your post this is the outcome
# 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
seyiisq
February 25, 2009, 11:14am
10
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
# 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.
What says:
ls -l /dev/dsk/c2t0d0p0
ls -lL /dev/dsk/c2t0d0p0
fstyp /dev/dsk/c2t0d0p0
seyiisq
February 25, 2009, 6:32pm
12
# 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
Try these ones:
dd if=/dev/dsk/c2t0d0p0 | od -c | head -2
dd if=/dev/dsk/c2t0d0p1 | od -c | head -2
seyiisq
February 26, 2009, 9:17am
14
pls see below
# 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
*
#
Hmm, and that one:
fdisk -v -W - /dev/rdsk/c2t0d0p0 | tail -6
seyiisq
February 27, 2009, 8:08am
16
pls see
# fdisk -v -W - /dev/rdsk/c2t0d0p0 | tail -6
fdisk: Cannot open device /dev/rdsk/c2t0d0p0.
i tried this
# mount -F pcfs /dev/dsk/c2t0d0p0:c /rmdisk
mount: /dev/dsk/c2t0d0p0:c is already mounted or /rmdisk is busy
# /etc/init.d/volmgt stop
# mount -F pcfs /dev/dsk/c2t0d0p0:c /rmdisk
mount: /dev/dsk/c2t0d0p0:c is not a DOS filesystem.
#
pls can you advise on why it is saying not a dos filesystem
The reports are inconsistent. Are you sure the flash drive is plugged when you run the commands and is always on the same USB port ?
seyiisq
February 27, 2009, 1:41pm
18
yes i am sure, the port has always been c2t0d0p0. I have never removed. i was thinking the os system is seeing it but cannot open it.
Try rebuilding the /dev links with "devfsadm -v" then double check these commands work (or not) as root:
dd if=/dev/dsk/c2t0d0p0 | od -c | head -2
fdisk -v -W - /dev/rdsk/c2t0d0p0 | tail -6
# dd if=/dev/dsk/c2t0d0p0 | od -c | head -2
dd: /dev/dsk/c2t0d0p0: open: Device busy
0000000
# fdisk -v -W - /dev/rdsk/c2t0d0p0 | tail -6
fdisk: Cannot open device /dev/rdsk/c2t0d0p0.