On Sun, Mar 15, 2009 at 11:30 AM, Moinak Ghosh <moinakg at belenix.org> wrote: > > Strange that it is not being auto-mounted, though I have seen this with > a few USB sticks earlier. >
At times the automount tries its best and tries to mount it under '/media/NO NAME' and fails with the message "Mount failed", and shows the whole stick as being empty. <snip> bish:~$ df -k Filesystem kbytes used avail capacity Mounted on rpool/ROOT/opensolaris 26578944 3372322 18525419 16% / .. [ rest snipped ] .. /dev/dsk/c6t0d0p0 253456 4 253452 1% /media/NO NAME bish:~$ </snip> This kind of a thing can happen if the boot record of the partition is not being read, but the boot record of the device is the one being used. Under Linux the same thing happens if I mount "/dev/sdb" instead of "/dev/sdb1". So, from the df output above I tried the following as root: <snip> -bash-3.2# /sbin/mount -F pcfs /dev/dsk/c6t0d0p0 /mnt/pen mount: /dev/dsk/c6t0d0p0 is already mounted or /mnt/pen is busy -bash-3.2# mkdir /mnt/pen1 -bash-3.2# /sbin/mount -F pcfs /dev/dsk/c6t0d0p1 /mnt/pen1 mount: No such device or address -bash-3.2# </snip> The command just hangs, and the pen needs to be physically removed for the stalemate to be overcome, and the last line "mount: No such device or address" to come. While mounted if I check up the /dev directory, the device "c6t0d0p1" is very much there, and so is the empty mount point. The "rmformat" still shows: <snip> -bash-3.2# rmformat Looking for devices... 1. Logical Node: /dev/rdsk/c4t0d0p0 [ skipped : this is the DVR Reader/ Writer] 2. Logical Node: /dev/rdsk/c6t0d0p0 Physical Node: /pci at 0,0/pci1028,1f1 at 1d,7/storage at 1/disk at 0,0 Connected Device: I0MEGA Mini256MB*IOM2B5 2.10 Device Type: Removable Bus: USB Size: 248.5 MB Label: <None> Access permissions: Medium is not write protected. -bash-3.2# </snip> If you think is may be a stick related formatting issue, I can format this under windows box somewhere, and come back. Anybody has faced similar issues ? Or have I gone wrong somewhere in the manual mount process ? Bish