-
USB drive errors
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
Similar Threads
-
By nico.g in forum Hardware & Booting
Replies: 9
Last Post: 03-19-2005, 06:04 PM
-
By allanorn in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 01-04-2005, 06:06 PM
-
By daryl in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 12-07-2004, 08:33 AM
-
By ogami1972 in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 08-24-2004, 10:40 AM
-
By mikekgr in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 06-30-2004, 08:01 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$105.99

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$90.00

SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE
$214.99

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive
$39.99

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$549.00

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$129.99

SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps
$37.99

Samsung PM9C1A 256GB m.2 2280 SSD GEN4X4 NVME MZVL8256HDJD new Laptop PC
$34.99

Samsung New SSD 970 EVO Plus 2TB 1TB 500GB 250GB NVMe M2 Internal Hard Drive Lot
$74.99

128TB External SSD Solid State Drive Hard Drive Disk PC Phones Mac Games Videos
$97.60