Ubuntu :: Errors That Appear Randomly With All External Hard Drives
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.
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
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.
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.
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.
i am currently running palimpsest (system -> administration -> disk utility) and letting it "check" an unmounted filesystem.
i know its just running fsck.ext3 on this drive... the drive is formatted ext3, and is used on a hardware media player (WDTV Live Plus) in another room... i just moved it in here to avoid copying recorded HD shows over the LAN.
anyway, i was informed at boot with this drive connected that it needed to be checked, after booting it is mounted, but says it has errors and needs to be checked. it is checking, i would assume messages from fsck.ext3 would be logged to /var/log/fsck/checkfs, but i have never been interested in this type of thing before... usually when my drives start to get errors, its time to replace them... this one im sure is caused by being unmounted incorrectly by the stupid WDTV Live Plus...it locks up sometimes, lol...
i dunno, this is a big drive. just wish there was some "status update" other than a whirling indicator... im tailing the log file i mentioned above, but so far it just has "Nothing has been logged yet." (which i take as a really good thing at this point.
EDIT: at the very end of the filesystem check, i got a message about the filesystem being clean with no errors. id still like more of an indication than "whirling indicator thingy"...guess ill go back to CLI for checking filesystems. lol
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
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.
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?
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?
Months ago one of my computers died. I have bought a brand new one laptop, but I have a problem at the moment I wanted to install Ubuntu in dual boot with Windows 7: the new partition that windows 7 reserves for securing system files.
There are three partitions: Windows 7 principal, Windows 7 for securing system files (at the drive's beginning) and the recovery partition that HP puts there. Then I only have option to resize the Windows principal partition and get another principal partition. My question is if you know how to deal with this?
The other option you can help me is to advise me about some external hard drives to install ubuntu in them and don't touch the internal disk of my laptop.
2) Phenomenon: External hard drives won't be automatically mounted after upgrading some packages...
I have a "not good" habit: I'd love to upgrade whatever suggested by Ubuntu upgrading center every morning. However, after upgrading some packages for today, my computer won't be able to automatically mount external harddrives, including file systems ext4 and ntfs.
My question is: 1) How can I check what packages have been upgraded just within today? 2) How to make my Ubuntu be able to automatically mount external hard drives whenever I plug in a harddrive as before?
Because a lot of users are using laptops now, and many want externals hard drives for backups, is there a program in Ubuntu (cross-platform with Windows would be nice) that backs up files to an external hard drive when the external drive is plugged in or on a timely basis? All backup systems seem to have a timed system, but these systems have annoying pop ups if your backup location is non-existant (e.g. Deja Dup).
Use case 1: I plug in my external, the program recognizes that and starts a backup.
Use case 2: I leave my external in all day and every 6 hours, my laptop backs up my files to it.
i have docky and i set it up so when i put in a disk or plug in an external drive it registers on the dock. what i want to know is how to make it so when i plug something in or put a disk in it doesnt pop up on the desktop?
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
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
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.
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?
This box was formerly running Ubuntu Server x64 9.04 on the same hardware and ran just fine. I have now turned it into a media center box running Ubuntu Desktop x64 9.10. Since this has been installed it freezes about once a day. When that happens I can't do anything with it, can't even SSH. Also, and current SSH sessions die and exit. I have checked every log under /var/log but I have not found the problem. There does not seem to crash after any certain amount of time, just after several hours of sitting idle.
Below are a few examples of the last entires in several logs. Note for the clocksource error I have already forced it to use different ones in my kernel options and rebooted but it still crashes, still with no errors to tell me what went wrong. I also know the rsyslog error is caused by a bug and would not cause the crash.
Kubuntu 10.10 froze on me randomly. I shrugged it and rebooted. Then less than an hour later, another freeze. This was rare, so I started up Memtest86+ and let it go.
The results... were not encouraging.
Stock voltage on both. Never overclocked.
After pass 0 complete, swapped around various tests and ranges to check.
At pass 38, switched from full-range to test #5 2048M-3327M.
After pass 80, switched to various tests. No tests other than #5 generated errors.
So now my question is multipart...
One, is there anything that can be adjusted within linux itself to avoid triggering these errors (need to keep using this RAM for at least another week before I can afford to RMA it)?
Two, I'm assuming this does indeed point to RAM malfunction/damage, but if I'm wrong, what is going on here?
Three, if there is a way to adjust for these errors, should I still be RMAing it? If I do, I'm going to attempt to get some the same size/speed of ECC RAM. When I ordered originally, I wasn't aware the motherboard I'd picked supported ECC. Now I am.
Seems I'm not able to RMA this RAM at present, working with the company I got it from, but that option's just about out. Now, I read something about a kernel module called badram, but I'm finding little detail on how to go about activating it properly. Seems like if I can disable the one chip these errors are all occurring via, that would solve the issue just fine.
We have a Debian Linux Server with Samba setup. It connects to our lab computers each night to pull new data over. It's worked great for several years. Over the last month or two it has randomly been getting Samba errors (13663, 13668, 13673, 13683, 13693, etc). I don't know if those numbers mean anything because they are all different. Usually after rebooting it would be fixed, but it seems to be getting more frequent.
I have Fedora 14 installed on my main internal drive. I have one Fedora 14 and one Fedora 15 installed on two separate USB drives.When I boot into any of these drives, I can't access any of the other hard drives from the other drivesll I can, but just the boot partitions.Is there any way of mounting the other partitions so I can access the information?---------- Post added at 12:42 PM ---------- Previous post was at 09:34 AM ----------I guess even an explanation on why I can't view them would be good too.
i have cretaed RAID on one of my server RAID health is ok but its shows warning. so what could be the problem. WARNING: 0:0:RAID-1:2 drives:153GB:Optimal Drives:2 (11528 Errors)
I have a SATA drive that worked fine. Then I installed two more hard drives into my system. When these hard drives are installed, if I try to access the SATA drive in Linux, it will start lightly clicking and then the drive will become unavailable. If I power on the machine without the other two hard drives then it works fine. What could be causing this to happen? I don't think it's heat because the two hard drives are far away from the SATA drive.
I recently bought 320 GB Trancend external hard disk and working fine days back.Earlier i could copy from and to the hard disk with out any issue. I dont know what happened after that now i am not able to write any files in to the external hard disk. This is not NTFS formatted device. here is some of the out put from terminal.
Code: sundar@sundar-sundar:~$ fdisk -l Disk /dev/sda: 120.0 GB, 120034123776 bytes
What would prompt this? i shut off teh computer and turned it back on , didnt press any buttons and it started checking my drives, so i pressed C and cancelled it.
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