USB is autodetecting but when its pull out throwing error
Friends,
OS: RHEL AS 3.0 when i insert my usb its detecting automatically in /dev/sda1. after that i mount by /dev/sda1 /mnt/flash. no problem in mounting..... after finish my work...i umount /dev/sda1 /mnt/flash it says /dev/sda1 not mounted. when i unplug the usb device its throwing an IO error... what might be the reason? thanks sathyguy |
Umount the mountpoint, not the device: "umount /mnt/flash"?
|
i tried both.....separately.
umount /mnt/flash umount /dev/sda1 /mnt/flash umounting is not a problem.its working fine.. but when i unplug/remove the usb im getting an io error....that is the problem. |
What exact error? What happens if you try to unload the corresponding kernel modules?
|
ok....
as soon as i insert the usb....im getting the below message. Quote:
i.e., [root@mypc root]$ now i will mount the usb to the mount point /mnt/flash [root@mypc root]$ mount /dev/sda1 /mnt/flash [root@mypc root]$ ok...now its mounted..... now im umouting..... [root@mypc root]$ umount /mnt/flash [root@mypc root]$ ok....its umounted.... now im removing the usb....(below is the error im getting) Quote:
i.e., [root@mypc root]$ thanks sathyguy |
All times are GMT -5. The time now is 12:00 AM. |