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
Broadcom LSI 9400-16i Raid card SAS/SATA/NVME SFF-8643 SAS3416 PCIe 3.1 x8 HBA
$155.12
Oracle 7085209 LSI MegaRAID SAS 9361-8i 1GB Cache 12Gbps SAS/SATA PCIe RAID Card
$28.20
Adaptec ASR-81605ZQ 12G SAS 16-Port 1GB Cache PCIe x8 RAID Controller
$131.99
LSI 9207-8i 8-Port SAS Non-RAID 6GBPS PCIe Host Bus Adapter
$34.95
Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE
$15.98
LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License
$39.95
LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault
$39.00
ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs
$82.49
ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID
$58.99
NEW LSI MEGARAID SAS 9361-8i 12GB/s SAS + SATA RAID CONTROLLER CARD PCIe x8 3.0
$99.00