Ubuntu :: External Hard Drives Won't Be Automatically Mounted After Upgrading Some Packages
Sep 8, 2010
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?
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 have a headless 8.04 server with 2 USB drives attached. I'm trying to move everything off the 1.5TB drive onto a few 300GB drives (so I can then use LVM on the 1.5TB drive and move everything back onto LVs.)I check the drives using 'fdisk -l'. They show up as sdc1 and sdd1. I mount them and start a cp operation.When I run fdisk again, the drives are no longer sdc1 and sdd1. Now they are sde1 and sdf1 (and of course, they are no longer mounted.
What could be causing this and how do I fix it?I need to fix this ASAP because the 1.5 TB drive seems to be going bad. Every few seconds I hear a big "click" as though the head arms are smacking against a stop. (This is the 2nd brand new 1.5TB drive that has started doing this!)
This is the set up I have: PC downstairs by a tv, with 3TB of storage containing my media, connected to the tv too. HTPC upstairs by another tv and connected to it. A few laptops and other desktops around the house which are windows based
I want the downstairs pc to act as a file server and to run my torrent client, it is running Ubuntu desktop version and has xbmc installed too for use with the tv. The upstairs htpc has xbmc live on and will access the media from the file server. What I am looking to do is to be able to log into my ubuntu machine remotely from a laptop running windows so I can manage the files and add torrents for download etc, but for this to be a complete remote session, rather than taking control over what is already being shown on the downstairs pc, like VNC does in windows.
I have two user accounts set up on the main ubuntu machine, the admin account and a media user account which is set to go straight to xbmc after log in. Also how can I make sure that the media drives are automatically mounted to allow access if the admin user is not logged in?
When my husband and I installed Open SuSE 11.2, we made the mistake of telling it to have my other 2 hard drives owned by root. So now, whenever I want to open my other 2 hard drives, I have to type in the root password. How can I change this?
Debian if I suspend the PC, will the external mounted harddisk safely umount automatically? I want to make sure that the integrity of my external HDD is not compromised while the PC goes in the suspend mode.
For some reason, the second hard drive (sdb1) is not automatically mounted:
rick@rab-1:/mnt$ sudo fdisk -l Disk /dev/sda: 500.0 GB, 499989348352 bytes 255 heads, 63 sectors/track, 60786 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000c17f6
Before I installed Ubuntu, I installed the RAID software to handle 4 500 GB hard drives - so there are supposed to be two mirrored drives. I'm not an expert in using RAID. I'm assuming it is correctly configured. I only "see" two drives. sda has Ubuntu etc. How can I get sdb1 mounted? I've tried using the palimpsest program but I'm afraid I screw it up. Do I need to re-format sdb1?
Hard drive is connected to my Inspiron 1525 via USB, plugged in and I'm not seeing the new drive mounted. Restart doesn't fix things and manually trying to mount /dev/sdb1 doesn't work either. The drive I got is preformatted as NTFS and I've been using a logical partition formatted as NTFS as a sort of share drive between my Windows partition and Ubuntu partition, so I know I have NTFS set up properly. This is the hard drive I'm working with for reference.
I administer a remote server via SSH that runs CentOS 5.5. I have been unsuccessful in all my attempts to write to two different external USB hard drives with a single ext3 partition when logged in as root.
When attempting to create a "test" directory I get one of two messages:
Both drives *appear* to have filesystem issues. When I run an fsck on either drive, I get:
Keep in mind this is a newly-formatted, empty drive.
Not putting stock in the odds that I've had two hard drives (different sizes and brands) with the exact same hardware problem, I'm going to assume this is a software issue, although maybe it isn't. Hence, my post in "Linux - General". I've heard talk elsewhere of controller (chipset) issues coming into play. Is this valid?
Okay, here's the information you'll need to make a diagnosis....
Here's the output of a "df -h" command:
Here's the contents of my /etc/fstab:
Here's the output of "cat /etc/mtab":
Here's the output of a mount command:
Here's the output of fdisk on the device in question:
The number of cylinders for this disk is set to 48641.
There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help):
I've got someone with access to the box if necessary. But it might take days to implement solutions since this isn't his full-time job. Remote solutions are, therefore, preferable.
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.
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 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.
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?
I have a PC104 running debian. I have 3 hard drives (in addition to the one booting) mounted in fstab by UUID. I use the options defaults,error=remount-ro. However, this means that when I boot with the hard drives not attached, I have to press Ctrl-D to bypass when the boot discovers the drives are missing. Is there a timeout commandoption I can add to fstab so that it automatically continues booting even if the hard drives are not attached? I could not find anything on a timeout command. (I tried adding timeout=1000 but no-random guess)
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
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?
On my computer I have one IDE drive that is my boot drive and a mirrored SATA raid set. When I login as "root" and mount the SATA volume it's always there. When I logout or shutdown if I login as root it's always mounted. I want to do the same thing for my own user ID. I did a search on having volumes mounted when I boot but they seem related to older versions of Ubuntu. It almost seems like a permissions problem since the "root" ID mounts the volume when I boot and my user ID does not.