Hey everyone, I've been having some problems with a USB keychain drive.
By default my HDD install of Knoppix did not allow me to auto-detect or mount USB devices (particularly from Konqueror), so I created the directory /mnt/usb and added this line to /etc/fstab
/dev/sda1 /mnt/usb auto defaults,user,noexec,auto 0 0
At first when I only tried reading from the drive everything seemed to work fine, I could mount, unmount and access the drive from the devices tab in Konqueror. However, when I try to copy something to the drive, the copy may only be partially successful (my first copy was 2 files, one good and one corrupted). After this point I can no longer unmount the drive. umount -f gives the following error:
root@monster:/home/matt# umount -f /mnt/usb
umount2: Device or resource busy
umount: /dev/sda1: not mounted
umount: /mnt/usb: Illegal seek
To access the USB drive again I have to reboot the machine.
I'd appreciate any suggestions on how to fix the problem, and also any advice on how to force an unmount if this problem comes up again (or for testing out solutions, so I don't have to reboot for each one).
One other thing: I just realized that /mnt/usb is owned by my normal user account and not root, could this be a problem?
Complete /etc/fstab:
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
/dev/hda2 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ext2 noauto,users,exec 0 0
# TEST - USB drive
/dev/sda1 /mnt/usb auto defaults,user,noexec,auto 0 0
HP EliteBook 850 G5 15.6" 64GB RAM 2TB SSD Intel Quad Core i7 4.80GHz AMD Radeon
$443.00
Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP
$38.99
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800)
$79.95
Samsung 16GB (2x8GB) DDR4 2400MHz PC4-19200 Desktop RAM Memory M378A1K43CB2-CRC
$19.95
Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM
$21.33
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$12.90
HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM
$14.85
16GB 8GB 4GB DDR2 800MHz PC2-6400U 240Pin intel DIMM Desktop PC Memory SDRAM LOT
$79.99
HyperX FURY DDR4 64GB (4x16GB) 3200MHz PC4-25600 Desktop RAM Memory DIMM 288PIN
$129.95