General :: Unmounting External USB Drives
Apr 7, 2009
Sometimes I get a problem with the basic "umount" command. I get an error message telling me that for one reason or another, the device couldn't be unmounted. Usually, it says the device is busy, when I can't see how it possibly can be. When this happens I'll use "umount -l" or "umount -f" or sometimes "eject" but I'm still not happy, because at the back of my mind I'm worried about damaging the integrity of the device's filesystem. What's the CORRECT way to deal with this problem?
View 4 Replies
ADVERTISEMENT
Mar 30, 2016
Running Debian 8.3.
I have an external hard drive (1TB MyBook) mounted via fstab by UUID to a directory. When copying/writing/reading a lot of files from it, it randomly unmounts and remounts as a different device.
It'll start as /dev/sdb1, I'll set a lot of files to copy to it and then it'll unmount and re-acknowledge itself as /dev/sdc1, the file copying process will crash and the current directory in terminal will display an I/O error. Running mount -a remounts it back to the directory specified in fstab as /dev/sdc1 and the loop continues. If it's just idling, there's no issue, only does this under load.
How can I diagnose what is causing it to unmount?
View 14 Replies
View Related
Jul 28, 2010
I bought an external hard drive a couple of months ago and in the last few days it is having some problems.
Step 1, I turn it on and plug in the USB
/var/log/syslog:
Jul 28 13:52:39 bc1982 kernel: [61683.130027] usb 1-5: new high speed USB device using ehci_hcd and address 22
[Code].....
I turn off the drive, wait a while, then turn it on again in which sometimes it works fine, sometimes it doesn't. These errors have occured frequently in the past two days, but never before that
I don't know what these system logs mean, does anyone else?
View 3 Replies
View Related
Oct 25, 2010
I have an external DVD burner hooked up to an EEE PC 701SD. The disk has worked on a dell desktop computer, and a 701 (the first eee pc which I built the install on) without a problem, however when I boot up the install disk on the 701SD, I get a message telling me it's unable to download the kickstart file. It's being set to cdrom:/ks.cfg, which should work, but it isn't.... This exact same disk just did a full install on the 701 15 minutes before I ran it on this computer.
View 8 Replies
View Related
May 9, 2010
upgraded from karmic through update managerANDnone of of my external drives cd drive or flash drives are picked upad to go back to karmic and will remain there for a whil
View 9 Replies
View Related
Mar 26, 2011
I am building a home server that will host a multitude of files; from mp3s to ebooks to FEA software and files. I don't know if RAID is the right thing for me. This server will have all the files that I have accumulated over the years and if the drive fails than I will be S.O.L. I have seen discussions where someone has RAID 1 setup but they don't have their drives internally (to the case), they bought 2 separate external hard drives with eSata to minimize an electrical failure to the drives. (I guess this is a good idea)I have also read about having one drive then using a second to rsync data every week. I planned on purchasing 2 enterprise hard drives of 500 MB to 1 GB but I don't have any experience with how I should handle my data
View 10 Replies
View Related
Jun 21, 2010
I recently had issues with the latest version of the Linux Kernels and I got that fixed but ever since that has happened none of my Drives will mount and they aren't even recognized.
View 1 Replies
View Related
Oct 18, 2010
I suspect this is not new but I just can't find where it was treated. Maybe someone can give me a good lead.I just want to prevent certain users from accessing CD/DVD drives and all external drives. They should be able to mount their home directories and move around within the OS but they shouldn't be able to move data away from the PC. Any Clues?
View 2 Replies
View Related
Jul 29, 2010
I switched over from Windows to Linux. I have an external drive that has basically just media files on it. Are there any advantages to converting this to ext3, or should I just leave it as ntfs3?
View 2 Replies
View Related
Feb 21, 2010
My Motherboard has 4 SATA ports on it, Is there a way short of buying an expensive RAID card to add more SATA drives and do a software raid still? What about getting an external 8-bay eSATA enclosure and putting drives in it? Will the OS see this and software raid? (linux)
View 2 Replies
View Related
Jan 29, 2011
I've recently brought a Western Digital Elements 2TB external hard disk and have been planning to encrypt it for use as a backup drive. However, it seems that these 2TB disks use the new 4K sector sizes and thus need to be handled more carefully than the older 512K ones.
After spending a week looking on Google, I have to admit I'm pretty confused and hope somebody here might be able to verify my conclusions
The drive reports that it's a 512-sector drive which is probably false. Using fdisk -uc, the original partition starts at sector 2048 so I assume that is a valid sector also to start a dm-crypt partition overwriting the previous one?
I've also read that every layer that is added to these drives must support the 4k layer. That means both dm-crypt and the ext3 filesystem I intend to put it on have to do so also.
Looking through the cryptsetup document, it states under the option "--align-payload" the following:
"Align payload at a boundary of value 512-byte sectors. This option is relevant for luksFormat. If your block device lives on a RAID, it is useful to align the filesystem at full stripe boundaries so it can take advantage of the RAIDs geometry. See for instance the sunit and swidth options in the mkfs.xfs manual page. By default, the payload is aligned at an 8 sector (4096 byte) boundary."
The fact that the payload is aligned at 4096 seems to indicate to me that it should be fine using default settings. Does everybody agree with this? Or do I need to take special measures due to the dm-crypt headers?
When I later finish up the dm-crypt layer, then I need to put ext3 on it. I understand adding -b 4096 to the mkfs.ext3 command will resolve that. Is that also correct and will it work well in combination with the dm-crypt layer?
View 4 Replies
View Related
Oct 6, 2009
I have a FAT32 external USB hard drive with a bunch of stuff I want to copy onto a RHEL server. Is it as simple as it is on a Mac or PC where I just plug it in and it will show up, then I can copy all the files off of it?If it is, how do I safely remove the drive after I'm done with it?
View 5 Replies
View Related
Mar 9, 2011
I have a volume that shows as the following when I do a df -h. How would I go about unmounting it so I can run an e2fsck on it, then remounting it? normally it mounts when the server starts, so i'm not sure how to manually do it.
View 7 Replies
View Related
Feb 28, 2010
Gnome version 2.28.1 with kernel 2.6.31-14 on an Ubuntu 9.10 Karmic box.I'm wondering how usb drives, etc get automounted in gnome now days. Thought it might be fusermount, but no.Gnome-mount is not installed. Perhaps it is via AL or udev, but what commands control it? I've found posts that talk about using gnome-mount, but these are outdated as this package isn't even installed by default anymore.I would like to unmount certain volumes via the command line, but without having root privileges as gnome is doing by clicking in nautilus. I would like to do the equivalent from the command line.
Are there any command lines commands that will allow me to do this (not talking about pmount which is not installed)?Also, is there a way to prevent automounting of just certain devices, but not all? I have a USB with 7 different things on it (a "built-in" CD for some reason for windoz users, the original NTFS, and 5 linux partitions). I really only want one of the linux partitions (an XFS for DVD isos) to automount but not all the others. I would like not to have to disable ALL automounting as in:
Code:
$ gconftool-2 -s /apps/nautilus/preferences/media_automount --type=bool false
$ gconftool-2 -s /apps/nautilus/preferences/media_automount_open --type=bool false
View 5 Replies
View Related
Apr 5, 2010
I can't use my shares on external drives. I've tried to work with this and I really like Fedora but enough is enough. enough having to recover from multiple crashes attempting to get Nvidia drivers installed but I've given up on this. I haven't found a solution after HOURS and HOURS of searching. I was willing to wait for 13 to have 3d support on my Nvidia card but if I can't find a solution to this one
View 6 Replies
View Related
Apr 12, 2011
I have recently installed Ubuntu 10.10 on my machine as dual boot using WUBI but on a seperate partition to Windows. Loving it so far, but i cannot get any external drives to mount - i've tried pen drives, camera memory cards and hard drives but nothing comes up.
I have just tried restarting with a pen drive plugged in, and it finally showed something in the computer folder - "memory stick drive" is shown (and my internal CD drive, which i'm not sure was there before.), but i still can't access it and when I try to unmount it gives me the message
Error detaching: helper exited with exit code 1: Detaching device /dev/sdc
USB device: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1)
SYNCHRONIZE CACHE: FAILED: No such file or directory
(Continuing despite SYNCHRONIZE CACHE failure.)
STOP UNIT: FAILED: No such file or directory
[Code]...
View 3 Replies
View Related
May 29, 2011
Im having some problems, when I plug in a USB drive or an external HDD to my computer it doesn't mount or show on the Desktop. It only shows up in "disk Utility".
I have tried ALT+F2 then typed "gconf-edit" went to Apps> Nautilus> desktop and check "Volumes Visible" but when I plug in anything in the USB it still doesn't show.
it shows up in the side pane only. I would like it to show up on the Desktop
View 1 Replies
View Related
Apr 7, 2011
I am trying to figure out how to get the UUID for some of my external hard drives.the internet revealed a couple of promising leads, this is what I have tried so far:
ls -l /dev/disk/by-uuid -> didn't list the hard discs
blkid -> didn't list the hard discs
lsusb -v -> listed the hard disc but no uuid
A normally formatted usb key is listed with uuid. The external hard discs are fully encrypted by truecrypt(realcrypt). I have been reading not so great things about that itself, but for now I don't have a promising alternative that I can use with windows as well.Any google searches don't seem to cast any new light on this for me,I'd be open to suggestions if there's a better way to get a definite ID for a hard drive... I just need to be able to mount it with realcrypt
View 3 Replies
View Related
May 9, 2010
I currently use Ubuntu Lucid, and I'm curious if there is a program that I can install and run through it which will defragment an external USB hard drive.
My 500GB hard drive is used a lot, and I often add/remove stuff on and off of it, and I'm sure it's slowly starting to get a little fragmented with the amount of deletion and addition I do on it.
Does anybody know of a way to check and potentially defragment just it through linux? Or am I gonna have to just find a windows computer and do it there?
FYI, I don't care to nor know I really don't need to defragment my Ext4 drive to which Ubuntu's installed, its' just the external I am curious about.
View 4 Replies
View Related
Sep 10, 2010
Is it possible to show only mounted external volumes on the desktop. I try the method of uncheck /app/nautilus/desktop/volumes_visible. But it hides both internal and external disk.
View 6 Replies
View Related
Jan 17, 2011
How do you unmount for safe removal external drives (such as USB sticks) in Lubuntu? In Nautilus (Ubuntu) under the File menu there are options Eject and Safely Remove Drive; but in Lubuntu I can't find anything like that.
I am using Lubuntu 10.10.
View 2 Replies
View Related
Feb 23, 2011
So me and my friend our on my network and we have done a bit of hacking and have managed to get music off of pandora and have it sort it by forlder /media/...../artist/album/song and it won't redownload a song that we have already downloaded (this is done by our code that we stripped from pithos and modified a bit) also we wrote a bash script that renames all of our files correctly and tags them with .mp3
I was wondering if I could link our two hard drives to make sure that we aren't both downloading the same songs. I am also having issues getting my external accessible on the network i have it formatted to use a FAT32 file system.
View 1 Replies
View Related
May 1, 2011
Just moved my Mac Server to Ubuntu Server 10.10. I have two external USB drives that need to be shared on the network and be available on the internet for sensitive file transfer. What would be the most secure way to do it ? Some users are mobile and some not. The mobile users can access the network through a vpn running on that same server. The server is serving DNS and Proxy as well. I thought about creating a SAMBA share but the two disks are 1TB each. Then I went for proftpd but after reading some doc, it appears not very secure.
View 1 Replies
View Related
May 17, 2011
I have an external hard drive that contains some 600 GB of files and folders. I use this external drive frequently and so the files and folders in it change on a daily basis. I want to back up this drive on another external drive. What is the best way to sync these two external hard drives on a daily basis?I have been trying to sync them through the Grsync software. But I think either I am not choosing the right options or else Grsync is not the best/right software for my purpose because the second hard drive does not ever become completely identical to the first one. What am I doing wrong? Should I go with another software? If so, are there suggestions for a good one? Or am I doing something not right?
When I run Grsync, I choose the first external hd as my source and the second one as my destination.Then below that I check "Preserve time," "Preserve permissions," "Preserve owner," and "Preserve group." Below that, I also check "Verbose" and "Show transfer progress." Other options are all unchecked.Should I reconfigure these options?FYI, I frequently rename, edit, modify, or else completely delete files and folders in the primary hard drive. Hence, my need to back it up everyday so that the change would be replicated in the second hard drive.
View 9 Replies
View Related
Mar 14, 2010
I want all my external drives mounted when I start OS.I don't want to do it for a specific external drive. I want my external drives mounted by default.o you have an idea? Does linux have such a configuration I can change?
View 8 Replies
View Related
Dec 19, 2010
I was thinking about reformatting my thumbdrives and external HDs from NTFS or FAT32 over to ext4. Anyone know if this could potentially cause any problems? They won't be used on a win machine.
View 1 Replies
View Related
Dec 22, 2010
If a USB drive is used under Linux and Windows, what would be the best file system? FAT32?Would it harm to have the drive formated as NTFS?How reliable is Linux when writing to NTFS today and is it worth taking the risk?I am asking this because I am pretty sure that there are a lot of peoples out there with external drives that are formated in NTFS.The main reason for this is that a OS like Windows XP cannot format a FAT32 partition bigger then 32GB and without noticing users might format their drives to NTFS.
View 4 Replies
View Related
Mar 17, 2010
I have a problem that i have tried to solve for a couple of days.server with some internal disks. Those disks are for the core-system and some file server related stuff.Beside the server i got two external LaCie boxes that contains 4x1tb disks each. The disks inside the boxes are RAID5, so the system sees every box as one whole "disk".Now to the problem. I just can�t get those "two" RAID cofigurations two be auto mounted at boot. I have tried to put them in /etc/fstab with a whole bunch of different options but nothing works. The system sees them but don't auto mount them, and i can manually mount them without any problem at all. I have tried to "google" the problem but can't find any similar
View 4 Replies
View Related
Feb 4, 2011
My file in (LG External Hard Drives ) is invisible but on windows the file is not hidden
[url]
[url]
View 14 Replies
View Related
Dec 20, 2010
How to mount multiple external HDD's. I'd like to link or mount the music, torrents, and general files from several external hard drives and apply permissions (in some cases I only want the mount or link to be read only).
My setup:
- Seagate Dockstar running Debian squeeze (it's headless so I don't have a gui running)
- Two external HDD's with one partition on each (250GB and 400GB)
What I'd like to accomplish:
1. Mount the external HDD's to /media/HDDs as read/write (this is already working using udev and autofs and it's available in samba)
2. I'd like the MUSIC directories on both external HDD's to show up under the same mount point. In other words I want the MUSIC folders (from both HDD's) to appear as one large library of music. And I only want this to be readonly. It will be used as the library for mpd and/or squeezebox.
3. Mount a directory used to download torrents to. I'll probably pick on HDD as the target for torrent dowloads. But let me know if you have any other ideas regarding this.
Since I have the first one done, how would I accomplish 2 & 3?
View 1 Replies
View Related