LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-19-2006, 02:56 PM   #1
terminator14
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Rep: Reputation: 0
accidentally unmounted /dev/uba1 (usb device)


Hi.

I was doing some stuff on my Auditor Security Collection (based on knoppix which is based on Debian so very similar) and I accidentally typed "umount /dev/uba1" instead of "umount /mnt/uba1" and now my usb device is umountable.

The usb storage device worked fine before - I just wanted to unmount it just like I did millions of times before. Now, when I type "umount /dev/uba1 /mnt/uba1" it tells me "/dev/uba1 is not a valid block device".

After a restart while loading linux it has an error message that has something to do with uba too (the only reason I even noticed it was because the error message is about 1 line but it repeats like 30 times and the goes on to load linux). Also, when checked with qtparted, it shows that /dev/uba is in the device list but when I click on it, it just sais "Partition table" under the "Partition" category and "empty" under "Status" category which is not how it used to be. It used to show the size and partition of it and everything.

How can fix this and make it so that when I type "mount /dev/uba1 /mnt/uba1" it will actually mount the device again? If it isn't very easy (which I am sure it is), then I will probably just reinstall Auditor (the OS) which should only take me about an hour but I'm sure there is an easier way to fix the problem.

Any advice is apreciated.

BTW good luck to anyone writing Midterms or Finals.
 
Old 01-19-2006, 03:40 PM   #2
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
If /dev/uba1 is mounted at /mnt/uba1, "umount /mnt/uba1" and "umount /dev/uba1" will both do the same thing. Are you sure you didn't do anything else that could have broken your usb drive?

Since QtParted says you don't have any partitions on your usb, which would also account for the error message when trying to mount, it looks like you've somehow wiped your usb drive.

what does plugging in the drive and doing "dmesg | grep uba" give you?
 
Old 01-19-2006, 04:03 PM   #3
terminator14
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
It gives me the same thing as it does while starting up linux which is:


Code:
root@box:~# dmesg | grep uba
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
uba: made changed
uba: device 4 capacity nsec 50 bsize 512
uba: device 4 capacity nsec 50 bsize 512
 uba:end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 48
Buffer I/O error on device uba, logical block 24
end_request: I/O error, dev uba, sector 48
Buffer I/O error on device uba, logical block 24
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
uba: made changed
uba: device 4 capacity nsec 50 bsize 512
uba: device 4 capacity nsec 50 bsize 512
 uba:end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 48
Buffer I/O error on device uba, logical block 24
end_request: I/O error, dev uba, sector 48
Buffer I/O error on device uba, logical block 24
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
uba: made changed
uba: device 4 capacity nsec 50 bsize 512
uba: device 4 capacity nsec 50 bsize 512
 uba:end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 48
Buffer I/O error on device uba, logical block 24
end_request: I/O error, dev uba, sector 48
Buffer I/O error on device uba, logical block 24
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
uba: made changed
uba: device 4 capacity nsec 50 bsize 512
uba: device 4 capacity nsec 50 bsize 512
 uba:end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 48
Buffer I/O error on device uba, logical block 24
end_request: I/O error, dev uba, sector 48
Buffer I/O error on device uba, logical block 24
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 8
Buffer I/O error on device uba, logical block 4
end_request: I/O error, dev uba, sector 10
Buffer I/O error on device uba, logical block 5
end_request: I/O error, dev uba, sector 12
Buffer I/O error on device uba, logical block 6
end_request: I/O error, dev uba, sector 14
Buffer I/O error on device uba, logical block 7
end_request: I/O error, dev uba, sector 16
Buffer I/O error on device uba, logical block 8
end_request: I/O error, dev uba, sector 18
Buffer I/O error on device uba, logical block 9
end_request: I/O error, dev uba, sector 20
Buffer I/O error on device uba, logical block 10
end_request: I/O error, dev uba, sector 22
Buffer I/O error on device uba, logical block 11
end_request: I/O error, dev uba, sector 24
Buffer I/O error on device uba, logical block 12
end_request: I/O error, dev uba, sector 26
Buffer I/O error on device uba, logical block 13
end_request: I/O error, dev uba, sector 28
Buffer I/O error on device uba, logical block 14
end_request: I/O error, dev uba, sector 30
Buffer I/O error on device uba, logical block 15
end_request: I/O error, dev uba, sector 32
Buffer I/O error on device uba, logical block 16
end_request: I/O error, dev uba, sector 34
Buffer I/O error on device uba, logical block 17
end_request: I/O error, dev uba, sector 36
Buffer I/O error on device uba, logical block 18
end_request: I/O error, dev uba, sector 38
Buffer I/O error on device uba, logical block 19
end_request: I/O error, dev uba, sector 40
Buffer I/O error on device uba, logical block 20
end_request: I/O error, dev uba, sector 42
Buffer I/O error on device uba, logical block 21
end_request: I/O error, dev uba, sector 44
Buffer I/O error on device uba, logical block 22
end_request: I/O error, dev uba, sector 46
Buffer I/O error on device uba, logical block 23
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 2
Buffer I/O error on device uba, logical block 1
end_request: I/O error, dev uba, sector 4
Buffer I/O error on device uba, logical block 2
end_request: I/O error, dev uba, sector 6
Buffer I/O error on device uba, logical block 3
end_request: I/O error, dev uba, sector 0
Buffer I/O error on device uba, logical block 0
end_request: I/O error, dev uba, sector 8
Buffer I/O error on device uba, logical block 4
end_request: I/O error, dev uba, sector 10
Buffer I/O error on device uba, logical block 5
end_request: I/O error, dev uba, sector 12
Buffer I/O error on device uba, logical block 6
end_request: I/O error, dev uba, sector 14
Buffer I/O error on device uba, logical block 7
end_request: I/O error, dev uba, sector 14
Buffer I/O error on device uba, logical block 7
end_request: I/O error, dev uba, sector 12
Buffer I/O error on device uba, logical block 6
end_request: I/O error, dev uba, sector 10
Buffer I/O error on device uba, logical block 5
end_request: I/O error, dev uba, sector 8
Buffer I/O error on device uba, logical block 4
end_request: I/O error, dev uba, sector 10
Buffer I/O error on device uba, logical block 5
end_request: I/O error, dev uba, sector 12
Buffer I/O error on device uba, logical block 6
end_request: I/O error, dev uba, sector 14
Buffer I/O error on device uba, logical block 7
end_request: I/O error, dev uba, sector 8
Buffer I/O error on device uba, logical block 4
end_request: I/O error, dev uba, sector 10
Buffer I/O error on device uba, logical block 5
end_request: I/O error, dev uba, sector 12
Buffer I/O error on device uba, logical block 6
end_request: I/O error, dev uba, sector 14
Buffer I/O error on device uba, logical block 7
end_request: I/O error, dev uba, sector 8
Buffer I/O error on device uba, logical block 4
end_request: I/O error, dev uba, sector 10
Buffer I/O error on device uba, logical block 5
end_request: I/O error, dev uba, sector 12
Buffer I/O error on device uba, logical block 6
end_request: I/O error, dev uba, sector 14
Buffer I/O error on device uba, logical block 7
end_request: I/O error, dev uba, sector 8
Buffer I/O error on device uba, logical block 4
end_request: I/O error, dev uba, sector 10
Buffer I/O error on device uba, logical block 5
end_request: I/O error, dev uba, sector 12
Buffer I/O error on device uba, logical block 6
end_request: I/O error, dev uba, sector 14
Buffer I/O error on device uba, logical block 7
end_request: I/O error, dev uba, sector 8
Buffer I/O error on device uba, logical block 4
end_request: I/O error, dev uba, sector 10
Buffer I/O error on device uba, logical block 5
end_request: I/O error, dev uba, sector 12
Buffer I/O error on device uba, logical block 6
end_request: I/O error, dev uba, sector 14
Buffer I/O error on device uba, logical block 7
end_request: I/O error, dev uba, sector 8
Buffer I/O error on device uba, logical block 4
end_request: I/O error, dev uba, sector 10
Buffer I/O error on device uba, logical block 5
end_request: I/O error, dev uba, sector 12
Buffer I/O error on device uba, logical block 6
end_request: I/O error, dev uba, sector 14
Buffer I/O error on device uba, logical block 7
end_request: I/O error, dev uba, sector 8
Buffer I/O error on device uba, logical block 4
I am also pretty sure that the usb is still working perfectly beacuse it works without any problems on my Windows XP machine.

I don't think I did anything else stupid so I think that writing that umount /dev/uba1 code made it screw up (or just follow directions I guess).
 
Old 01-19-2006, 04:05 PM   #4
damicatz
Member
 
Registered: May 2004
Distribution: FreeBSD 7, Debian "Squeeze", OpenBSD 4.5
Posts: 167

Rep: Reputation: 30
Can you please do the following with the command line? :

1.cat /etc/mtab and paste the results here.
2.cat /proc/mounts and paste the results here.
3.cat /etc/fstab and paste the results here.
 
Old 01-19-2006, 04:17 PM   #5
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
Quote:
works without any problems on my Windows XP machine.
"works" as in the files you had on there are still there, or just that it recognises the drive?
 
Old 01-19-2006, 04:17 PM   #6
terminator14
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
cat /etc/mtab

Code:
root@box:~# cat /etc/mtab
/dev/hda2 / reiserfs rw 0 0
proc /proc proc rw,nodiratime 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
sysfs /sys sysfs rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/hda1 /mnt/hda1 vfat rw,nosuid,nodev,umask=000,quiet 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
automount(pid1929) /mnt/auto autofs rw,fd=4,pgrp=1929,minproto=2,maxproto=4 0 0
tmpfs /dev/shm tmpfs rw 0 0
cat /proc/mounts

Code:
root@box:~# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev2/root2 / reiserfs rw 0 0
proc /proc proc rw,nodiratime 0 0
devpts /dev/pts devpts rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/hda1 /mnt/hda1 vfat rw,nodiratime,nosuid,nodev,fmask=0000,dmask=0000,quiet 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
automount(pid1929) /mnt/auto autofs rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
and cat /etc/fstab

Code:
root@box:~# cat /etc/fstab
# /etc/fstab: filesystem table.
#
# filesystem  mountpoint  type  options  dump  pass
/dev/hda2  /  reiserfs  defaults  0  1

proc  /proc  proc  defaults  0  0
/dev/fd0  /floppy  vfat  defaults,user,noauto,showexec,umask=022  0  0
usbdevfs  /proc/bus/usb  usbdevfs  defaults  0  0
sysfs  /sys  sysfs  defaults  0  0
tmpfs  /dev/shm  tmpfs defaults  0 0
/dev/cdrom /cdrom  iso9660  defaults,ro,users,noexec,noauto  0  0
/dev/cdrom1 /cdrom1  iso9660  defaults,ro,users,noexec,noauto  0  0
/dev/cdrom2 /cdrom2  iso9660  defaults,ro,users,noexec,noauto  0  0
/dev/cdrom3 /cdrom3  iso9660  defaults,ro,users,noexec,noauto  0  0
/dev/cdrom4 /cdrom4  iso9660  defaults,ro,users,noexec,noauto  0  0
/dev/cdrom5 /cdrom5  iso9660  defaults,ro,users,noexec,noauto  0  0
/dev/cdrom6 /cdrom6  iso9660  defaults,ro,users,noexec,noauto  0  0
/dev/dvd /dvd  iso9660  defaults,ro,users,noexec,noauto  0  0
/dev/cdaudio /cdaudio  iso9660  defaults,ro,users,noexec,noauto  0  0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 vfat auto,users,exec,umask=000,quiet 0 0
# Added by KNOPPIX
/dev/hda3 none swap defaults 0 0
 
Old 01-19-2006, 04:19 PM   #7
terminator14
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
As I plug it in on a windows xp machine it automatically recognizes the usb storage drive and I am able to see and edit all files on it.
 
Old 01-19-2006, 04:29 PM   #8
damicatz
Member
 
Registered: May 2004
Distribution: FreeBSD 7, Debian "Squeeze", OpenBSD 4.5
Posts: 167

Rep: Reputation: 30
1.Try doing a lazy unmount and rebooting. umount -l /dev/uba1 should do the trick.
2.I assume that the 8 CD/DVD-Rom Drives there is intentional?
3.I see that you have automount listed under mounts. Are you using automount or is it leftover from the install?
 
Old 01-19-2006, 04:43 PM   #9
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
He's already done reboots, doing a lazy umount wouldn't affect anything if he's rebooted would it?

I'm left thinking that it's physical errors on the disk, or filesystem errors.

If the usb is FAT, try "fsck.vfat -t /dev/uba".
 
Old 01-19-2006, 04:44 PM   #10
terminator14
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
1. When I type umount -l /dev/uba1 it tells me

Code:
umount: dev/uba1: not mounted
2. 8 CD/DVD-Rom drives are not intentional - it was just like that when I installed Auditor to the Hard Drive. Auditor is meant to be a live CD so I guess that is why it was already set up that way so that if it is booted on a computer with up to 8 CD/DVD-Rom Drives it will see them all. I am not too concerned about that though.

3. Automount was also just there when I installed Auditor. I am not sure if it does anything or not.
 
Old 01-19-2006, 04:48 PM   #11
terminator14
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
When trying "fsck.vfat -t /dev/uba" I just get a reply that sais "-t and -w require -a or -r"

Not exactly sure what that means.
 
Old 01-19-2006, 04:49 PM   #12
damicatz
Member
 
Registered: May 2004
Distribution: FreeBSD 7, Debian "Squeeze", OpenBSD 4.5
Posts: 167

Rep: Reputation: 30
Quote:
Originally Posted by Ynot Irucrem
He's already done reboots, doing a lazy umount wouldn't affect anything if he's rebooted would it?

I'm left thinking that it's physical errors on the disk, or filesystem errors.

If the usb is FAT, try "fsck.vfat -t /dev/uba".
Automount might be attempting to remount the USB drive since it was unmounted in an unusual way. Doing a lazy unmount would clean up any "residue" that might have been left over.

terminator14, I recommend following the quoted posters advice for now. If that does not work, then post your automounter config file here. I regret that since I do not use automount much, I do not recall the name but it should be in etc and is something along the lines of automount.conf or a bunch of files in an automount.d directory.
 
Old 01-19-2006, 04:51 PM   #13
damicatz
Member
 
Registered: May 2004
Distribution: FreeBSD 7, Debian "Squeeze", OpenBSD 4.5
Posts: 167

Rep: Reputation: 30
Quote:
Originally Posted by terminator14
When trying "fsck.vfat -t /dev/uba" I just get a reply that sais "-t and -w require -a or -r"

Not exactly sure what that means.
-t marks any bad clusters as such so that they aren't attempting to be used. -a and -r tell the disk checker to automatically repair or prompt for repairs respectively. Marking bad clusters is considered a repair so you must tell the diskchecker you want to do repairs.

Try doing it without the -t option.
 
Old 01-19-2006, 04:59 PM   #14
terminator14
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Try doing it without the -t option.
I did "fsck.vfat /dev/uba1" and it sais
Code:
dosfsck 2.10, 22 Sep 2003, FAT32, LFN
open /dev/uba1:No Such device or address
I also tried out of curiosity "fsck.vfat /dev/uba" and I got something different:

Code:
dosfsck 2.10, 22 Sep 200., FAT32, LFN
Read 512 bytes at 0:Input/output error
The usb drive's filesystem is FAT32 so it might be seeing something.
 
Old 01-19-2006, 05:02 PM   #15
terminator14
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
I looked at the top of the post and see that you said to try "fsck.vfat /dev/uba" and not "fsck.vfat /dev/uba1" my mistake. But I did check the "fsck.vfat /dev/uba" command and posted the output above.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
which device in /dev is mapped to an USB device malo_umoran Slackware 4 07-31-2005 02:12 PM
special device /dev/uba1 does not exist phil.d.g Slackware 12 07-25-2005 03:11 AM
Failed to open device /dev/usb/ttyUSB0: No such device efm Linux - Newbie 2 04-04-2005 09:46 PM
How Do I Unmount An Unmounted Device? maatghandi Linux - Software 10 02-17-2005 01:28 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 04:22 PM


All times are GMT -5. The time now is 04:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration