Ubuntu :: External Hard Drives - Error "Cannot Unmount Because File System On Device Is Busy"
May 19, 2011
Having problems with external hard drives. I may be wrong, but I suspect they originated with an upgrade to 10.04 last Christmas. Around that time I also started using Amazon's S3 storage system, and, as a consequence, I stopped using my WD 80G external drive, previously used to backup my important files.
A week or so ago I decided to start using the WD drive again. I can't remember exactly what I did, but it wasn't happy - never caused any problems before. When I plug it in, the on-off light as the front keeps flashing on and off, and when I try to remove the drive I get the message: Error unmounting volumne An error occured while performing an operation on "My Book" (Partition 1 of WD 800BB External): The device is busy
Details: Cannot unmount because file system on device is busy Assuming the device had died - it's about 5 years old - I bought a 160G Samsung S-Series drive - my but they do look neat! Unfortunately, this doesn't seem to have solved my problem. I plugged the new drive in, and it happily appeared on my desktop. It seemed a good idea at the time, but I then started to format the drive - using the default option of FAT. All went well at first, but then the format process stopped.
My new Samsung drive now seems to be operating pretty much as the WD device, I can't copy to the drive, and attempts to unmount it generate a response similar to what's happening with the WD drive. Currently, although plugged in, I can't see the drive on my desktop, although it appears under Places. However, when I try to mount the drive, I get the message: Unable to mount SAMSUNG A job is pending on /dev/sdb1
View 1 Replies
ADVERTISEMENT
Feb 26, 2011
Code:
HP 210 Mini
Fedora 14 xfce
2.6.35.11-83.fc14.x86_64
I have inserted my handy drive. However, when I right click and select unmount I get the following message:
Code:
An application is preventing the volume "New Volume" from being unmounted
So I try from the command line:
Code:
umount /dev/sdb1
And I get the following message:
Code:
umount: /media/New Volume: device is busy. All I have done is copied some files to my handy drive. So I am not sure what process is keeping my handy drive busy.
Is there any command that I can use to see what process of anything else is using the handy drive?
View 3 Replies
View Related
Jul 20, 2009
The server comes up after rebooting and after setting the hostname it starts setting up logical volume management. It says that 2 logical volume(s) in volume group "VolGroupOO" now active But then it starts to check the file system and errors with fsck.ext3: Device or resource busy while trying to open /dev/sdb1 [failed]
***An error occured during the file system check
***Droppping you to a shell, the system will reboot when you leave the shell
Give root password for maintenace
After I log in with the root I get the message mesg: error tty device is not owned by group 'tty' Can the forum tell me how to troubleshoot this issue so I can boot back up again? I have 2 harddrives in this server and only 1 drive was detected when I first installed CentOS. The error first appeared when I mounted the 2nd drive at the mount point /UserGeneratedData. drive was formatted with ext3 before mounting and did not have any data on it I don't want any software RAID if thats what seems to be going on with "VolGroup00"
View 4 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
Jan 11, 2011
It started when I wanted to dual boot Windows 7 and Opensuse off of my netbook (No DVD/CD drive) I tried install suse from an external hard drive and I botched it. I ended up erasing EVERYTHING off of my internal netbook hard drive. Windows and all.
Well, I had a couple of other computers so I studied up and eventually successfully installed OpenSUSE 11.2 on my external hard drive (11.3 being the one that I accidentally erased everything with, so kinda scared of it) and now I want to install openSUSE 11.2 on my internal netbook hard drive.
I can not use disks
I can not use a flash drive (For some reason, even if I make it bootable, it will not load up, this could be because it's actually a 8GB microSD card that is placed in a USB card reader.)
I can not use an external hard drive because that's what I'm running suse off of.
I've tried reading up on how to install suse on another drive off of the hard drive and I've gotten as far as whenever I boot up the netbook with the suse external hard drive connected it will ask to boot into OpenSUSE, the Fail Safe, or to install OpenSuse. When I select to install it it gives me the Error 18 Unknown File system.
I've tried formatting the internal hard drive twice. One as NTFS and again as EXT4. Neither seems to effect it other than when it's ext4 I can open it and it contains a Lost and Found folder.
When I interrupt the boot sequence by pressing c and going to the terminal and I use the root (hd +TAB command it tells me I have a hd0 and a hd1. The hd1 only has 1 partition which is ext4, which I'm assuming hd1 is the internal hard drive (I'm not sure how to check) and the hd0 is the external hard drive, which has three partitions. One with an unknown file system and two with ext4. When I try to enter the set up from the terminal it gives me the same error for any thing I put it (e.g. root (hd0,0) gives the same error as root (hd0,1), or root (hd0,2) and root (hd1,0)
Something like it cannot locate these two files I'm assuming it needs to boot. If anyone finds this relevant I'll retry it and post the files its missing.
I've been searching for awhile and can't find any threads that can solve my problem. From other threads, however, I have noticed that I should probably include my menu.lst, listed below
Code:
I have also ran the boot info script and received the RESULTS.txt file it generates. Listed below
Code:
View 9 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
Jan 16, 2010
I am trying to set up a mdadm raid in a new PC that I am building for home theatre. the machine boot just fine from /dev/sdc running ubuntu 9.10 However in gparted /dev/sda and dev/sdb show to be part of /devmapper/sil_ajbicfacbaej Both dev/sda and /dev/sdb were drives that used to be part of a sil hardware raid on a previous machine. I would like to use them as a new mdadm raid on this new machine the old hardware card was really quite slow. the drives are now pluged into the MB and should bw much faster there.
fdisk -l shows this
*********************************************** ~$ sudo fdisk -l
Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
[code]....
View 6 Replies
View Related
Oct 12, 2010
can't find an answer for this here or elsewhere. I recently installed Ubuntu on my laptop with no problems...until now. I bought a Seagate portable drive for backup/extra storage purposes. When I plug in the drive and start up Disk Utility, it recognizes the Drive and whatnot, but when I click "Format Drive" I end up (after clicking through the warnings) with an error message stating:Error Formatting DriveAn error occurred while performing an operation on "640 GB Hard Disk" (Seagate Portable):The device is busyI clicked for details, which resulted in:One or more partitions are busy on /dev/sdb(Not that detailed, if you ask me.)I then entered the command line (a scary place for someone who came over from OSX) Code:sudo lshw -C diskgave me this info about the hard drive I'm trying to format:
Code:
*-disk
description: SCSI Disk
[code]...
View 7 Replies
View Related
Jun 17, 2010
I have an external hard drive which connects to a usb port. until recently i could unmount it by right clicking on the desktop icon and selecting unmount. now when i try that it tells me that i can't because the device is not in fstab and i am not the root. i checked mtab and it had this line '/dev/sdb1 /media/usb0 msdos rw,noexec,nodev,nosuid 0 0' i changed that to '/dev/sdb1 /media/usb0 msdos user,rw,noexec,nodev,nosuid 0 0' thinking that would fix it, but it didn't. i unmounted using 'sudo umount /media/usb0' and restarted my computer and now the line in mtab reads '/dev/sdb1 /media/usb0 vfat rw,noexec,nodev,sync,noatime,nodiratime 0 0' and i still can't unmount without using the sudo umount command. i also tried adding '/dev/sdb1 /media/usb0 msdos user,rw,noexec,nodev,nosuid 0 0' to fstab and that didn't help
View 2 Replies
View Related
Feb 18, 2011
there are some drives in my system that appear to be always mounted (were at some point) that I cannot get rid of - i checked fstab, and do not appear there - 2 are related with the use of truecrypt, and 1 is from an exernal HD
I use Maverick 10.10 x64
View 3 Replies
View Related
Aug 10, 2010
I'm going to reformat my external drives to get rid of the crud that I've built up. (Crud being incremental backups, windows software, and similar things.)(I also want to get rid of the FAT32 file system that they use.) These are USB 1TB drives. The theory is that data is written to it once, but read back a number of times. (I also burn that data to DVD. If there was software that could organize 5TB of data on DVDs, I'd be using them.)
I"m trying to decide whether to use ReiserFS, Ext4, or another file system. Basically, I want something that:
* Won't get corrupted when the power fails;
* Can handle files that are 4+GB in size;
* Uses extends --- preferably without user intervention;
View 3 Replies
View Related
May 26, 2011
I have Seagate Freeagent Go 500GB external hard drive that I use for backup. I wanted to resize the partition so I used GParted to shrink the 500GB NTFS partition to 400GB. The other 100 I wanted to encrypt and use for some other more important files. For some reason, the shrink failed and I disconnected the hard drive and reconnected it. I didn't see the icon appear on the desktop. I went into the Disk Utility to discover that GParted's shrink error deleted all of the partitions on my hard drive. So I created a new 400GB NTFS partition and put back all of my files. The other 100 is unallocated currently.
It will normally mount automatically and show up on the desktop but the hard drive won't mount without me going into the Disk Utility and mounting it through there. I can't even mount it from the Terminal with root privileges. It gives me this:
Quote:
sudo mount /media/My Data
mount: can't find /media/My Data in /etc/fstab or /etc/mtab
Now, I can unmount with root privileges and I can unmount it from the Disk Utility. I can browse and edit the files within. But I can't unmount it from within Nautilus or on the desktop (the Safely Remove Drive option is not there).
The new 400GB partition also isn't detected by GParted. It just shows the whole drive as unallocated.
View 2 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
Nov 15, 2010
I've been running Linux for a year on our family computers (one desktop, one laptop and two netbooks). I've run into a problem with the encrypted ext4 partition (270GB) on a LaCie external hard drive which also has a NTFS partition (50GB) which is not encrypted . First two times I tried using the encrypted ext4 partition (from two different computers) it worked fine but now I can't access it at all. I can still access the NTFS partition.Encrypted external hard drive partition will unlock but won't mount (or unmount). The computer says "Opening 320GB Hard Disk" but after a minute says, "Unable to mount location. DBus error org.freedesktop.DBus.Error.NoReply"Disk utility (GUI for gparted I believe) states that the encrypted partition (/dev/sdb1) is unlocked and the underlying partition (/dev/dm-0) is not mounted but it has a "busy circle sign" on it that will not turn off. The NTFS partition on the same drive mounts and accesses normally.
But if I try to unmount the NTFS partition, it says: "Unable to stop drive. One or more partitions are busy on /dev/sdb"If I try to shut down the computer, it is unable to shut down because (I assume) it can't shut down that drive either. So I have to just turn off the computer.fdisk states that /dev/dm-0 doesn't have a valid partition table [full output attached]fsck suggests: "Filesystem mounted or opened exclusively by another program?"ps axuf shows some processes running on /dev/dm-0 but killinghem doesn't release the drive either. [full output attached]I checked /etc/blkid.tab (suggested in one vaguely related thread) and there's no actual file only a broken link pointing to /dev/.blkid.tab (which doesn't exist). I tried deleting this link and rebooting but that didn't change anything.when I finally gave up my data as lost, I tried to format the partition (using Disk Utility) and it refused saying, "One or more block devices are holding /dev/sdb"
View 1 Replies
View Related
May 15, 2011
I have 3 u3 type flash drives, 1 Memorex and 2 Sandisk Cruzers, and one non-U3 (JDSecure).The purpose is file storage.All four work perfectly on Ubuntu 10.04 and XP.I have continual problems with the U3 devices on 11.04. Problems vary from not being able to open the flash drives causing screen to freeze until I remove the device from the hub, or I am unable to unmount the device causing the desktop to freeze until devices are removed.Sometimes I am able to access files in the flash, before the freeze.The non-U3 device works perfectly on 11.04, 10.04, and XP.Sounds like a system problem to me. I have google searched this to death, but can't find a solution.
View 4 Replies
View Related
Dec 16, 2010
I am trying to mount an external USB hard drive. I'm using Debian Lenny 5. I tried to right-click on the hard drive and then select the mount command inside the gnome desktop environment but it gives me an error. Is there an easy way to mount and unmount this hard drive? The hard drive itself is formatted from the factory in NTFS. I'm going to leave it in this file format is a need to use it with Windows machines as well.
View 4 Replies
View Related
Aug 22, 2010
I have a 1.5TB Western Digital Caviar Green in a USB 2.0 external setup with an ext4 file system. I'm going to purchase a 2.0TB Western Digital Caviar Green in a USB 2.0 external case, copy the data over and put my 1.5TB in a fire-resistant box in another house. I'm worried about a couple things however:
(1) I'm worried about the long-term viability of _any_ file system years into the future. I've been storing my data on hard drives (instead of CDs, DVDs or BDs) for years now due to their higher reliability than optical disks. However, the file system used in optical disks is UDF which I think has much longer viability into the future. I'm not going to store terabytes of data on optical discs of course, so I'm wondering what I should choose for a hard drive file system. FAT32 or NTFS (due to Windows' 90%+ presence on the desktop, including still being used by Windows 7) may be the best choice, but I much rather have a open source file system, especially one that allows for permissions, timestamps, etc.
(2) As for my 2TB hard drive that I will be using for a while into the future, should I continue to use ext4 (I've had no problem with it thus far), but is there another file system that has better performance when storing and transferring gigs of data?
View 9 Replies
View Related
Feb 28, 2010
The external hard drive which contains all my photos and where I backed-up all my important documents is no longer recognized. It is a three month old 500GB Iomage Prestige Desktop Hard Drive.When I plug it in, it is recognised as a USB device, because it shows up when I type lsusb, but dmesg gives this error message.
[19712.013250] usb 2-2: new high speed USB device using ehci_hcd and address 21
[19712.145347] usb 2-2: configuration #1 chosen from 1 choice
[19712.147214] scsi25 : SCSI emulation for USB Mass Storage devices
[code]....
I popped the disk out of the casing put it on a SATA connect internally and then tried the file recovery programs testdisk/photorec and SpinRite, but both failed because they couldn't recognize the external hard disk.
View 4 Replies
View Related
May 10, 2010
unmount seems to hang forever.... I then usually would just unplug my drives. Then maybe 20 minutes later there is a pop-up error box saying
Code:
Unable to stop MyDrive" DBus error .... did not receive a reply. Possible causes include.
View 6 Replies
View Related
Dec 28, 2010
Assume I have plugged in an external USB hard disc.
How can I find out (from terminal cmdline) the file system (ext2, ext3, reiserfs,...) of this hard disc?
From Ubuntu I know the two commands:
sudo blkid -c /dev/null
or
sudo fdisk -l
but these are not known in CentOS.
What are the corresponding cmds in CentOS?
View 5 Replies
View Related
Jul 19, 2011
So I cant seem to be able to install fedora 15. I think it is the disk. I have windows 7 already installed (and would like to keep it) It was installed on the end of the hard drive leaving a 100 GB chunk in the center of the drive open and unformatted (this may be the problem). Anyway I used the live cd and tried to format the unformatted partition to exf but it gives me this error
Code:
Error creating partition: helper exited with exit code 1: In part_add_partition: device_file=/dev/sda, start=105906176, size=104752742400, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
Entering MS-DOS parser (offset=0, size=500107862016)
MSDOS_MAGIC found
found partition type 0xee => protective MBR for GPT
Exiting MS-DOS parser
Entering EFI GPT parser
GPT magic found
partition_entry_lba=2
num_entries=128
size_of_entry=128
Leaving EFI GPT parser
EFI GPT partition table detected
containing partition table scheme = 3
got it
got disk
new partition
added partition start=105905664 size=512
committed to disk
Error doing BLKPG ioctl with BLKPG_ADD_PARTITION for partition 2 of size 105905664 at offset 512 on /dev/sda: Device or resource busy
Do I have to reinstall windows for this to work or is there something I can try to do.
View 2 Replies
View Related
Feb 9, 2010
i needed to change my external hard drive's file system from ext3 to fat32, to use it in windows, which i did the simple way: i shrunk the ext3 partition, made a fat32 partition, copied the files over, removed the ext3 and made the fat32 bigger. unfortunately, while gparted was making the partition larger, my computer shut down. i lost all my files and the partition messed up immediately. i made a new fat32 partition, after deleting the old one, but noticed that gparted was showing 100 gigs already in use (???). so now i have a 300 gb hard drive with only 200 gb i can use; i ran df to make sure gparted wasn't messing up, but indeed it shows the partition as being only 200 gigs in size. i haven't tried making any other kind of partition yet, such as ext3, for fear of losing my files again, and because it wouldn't be permanent anyway, because i need those files in windows and stupid microsoft won't make their OS ext3 compatible.
View 2 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
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 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
Dec 5, 2010
The error message I keep getting during mounting is:-
device-mapper: remove ioctl failed: Device or resource busy
This is from ane external USB HDD I use as a backup device. I've tried formatting it as ext4 ane encrypting it from the command line
# mkfs.ext4 /dev/sdc1
# cryptestup luksFormat /dev/sdc1
which run without errors but an attempt to mount throws up the above error as well as saying - you must specify the file type (tried that) - and fails to mount. I've tried using YaST to format and encrypt it which throws up the same error when I run mount but actually does actually mount the filesystem Googling around has brought up info saying that it's probably a race condition brought on by invalid udev rules. I've got a (mostly) working system and the udev rules documentation leaves more confused than when I started.
View 8 Replies
View Related
Nov 22, 2010
After some googling I found out that there might be a problem with highspeed external USB drives in Linux in general. Im using Ubuntu 10.10 32 bit and have now this problem I think. My external hard drive is working fine but when I type dmesg in a terminal I can see message errors that appear randomly with all my external hard drives. The problem is now, I have all my music on this drive and randomly I will have hangs while listening to music and the performance while tranferring data between my notebook and the USBs is poor. Anybody know a workaround for this problem or have the same experience or have more details about it? My principle USB device that I use is an iOmega 500 GB what I use on my Compaq 6730s. The other USB device is a Toshiba 1 TB. I tried to transfer the files into my homefolder to avoid this problem but there is no chance as on my notebook is no more space.
View 8 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
Sep 10, 2010
I have set up two external hard drives to automount in fstab with the following lines:
/dev/sdb1 /media/DownstairsBackup ntfs-3g rw,auto,user,exec,sync 0 0
/dev/sda1 /media/UpstairsBackup ntfs-3g rw,auto,user,exec,sync 0 0
And right after I restart, all users have permission to read and write, and everything is fine. However, I have an automated backup utility (BackinTime) installed to back up particular (mounted network) directories every night, but whenever I check up on it the next day, I get the error "Unable to mount ..... Authorization required". (These network directories are mounted into the local filesystem in fstab as well.) Oddly enough, if I run BackinTime by hand as the users, it works fine. I'm running 10.04 LTS.
View 1 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