USB flash drive folder not appearing
Hi, I'm trying to backup files onto my USB flash drive but the folder that once appeared no longer does. The device is detected though, heres the output of lsusb
Code:
[root@Marv ~]# lsusb Chris |
If you created the folder from a Linux machine, did you make sure to properly unmount the volume before removing the drive? You have to be very careful with removable media on Linux, as the OS doesn't immediately write to the physical device.
You can make a folder, and even see it on the drive in your file manager, but that doesn't necessarily mean anything has happened yet. It could be several seconds to a few minutes (depending on many factors) before the folder is actually written out to the drive itself. |
I've never created a folder, my mistake. What used to appear was the removable volume icon and then I was brought to the flash drive directory. I've been using the flash drive between a linux machines and I've never had to mount or unmount the drive. I plugged it in the first time and the removable volume appeared on desktop so I thought it was plug n play, never gave me any issues. Also, I just plugged it into a different machine and the removable volume appeared on that desktop... I have no idea what I did
|
^are you able to mount it manually -e.g:
Code:
mkdir temp; sudo mount /dev/sdx1 temp |
I have sdc devices... Here's the messages
Code:
[root@Marvin Desktop]# tail -f /var/log/messages |
does mounting manually propose a problem ?
i think udev is the guy that automounts stuff. maybe there is a rule that is broken ? my fedora machine automounts stuff in /media/disk0 . |
I followed manual mounting instructions and the messages mount returned were like [whatever name] is busy or already mounted. I recall one message saying it was already mounted through /proc/bus/usb... I've tried so many different things. Maybe I'll try to update again and see if that'll fix anything.
|
What does your /etc/fstab look like?
In my understanding udev attaches a device file to the actual USB device, so in my Debian system a usb drive gets attached to /dev/sdb. Your log file seems to indicate your drive was attached to /dev/sg3 or /dev/sg4 (most likely the first is the actual disk, the second the partition on it). Try umounting and remounting it by hand, to see if it works: # umount /dev/sg4 # mount /dev/sg4 /mnt/usb If you get that the device is busy when umounting, you can try using something like lsof to figure out which processes are using /dev/sg4, kill them, and try again. If this works, check to see you that have a line corresponding to your device in /etc/fstab and possibly take a look at how your distro handles auto-mounting. I prefer to keep the "noauto" option in fstab for my usb drives and mount them every time by hand. That way I remember to also umount them when I'm done, before unplugging them (it is pretty data dangerous, especially for ntfs usb hard drives, to unplug them while they're still mounted). Also, is the last line of your log file related to your device and did it happen because you actually disconnected it? I used to have a problem where my motherboard couldn't give enough power to spin a usb hard drive thorough the usb port, and the logs would show multiple connects and disconnects in a row. |
All times are GMT -5. The time now is 01:04 PM. |