Hardware :: Mounting One USB Drive Automatically Unmounts Other
Feb 6, 2010
I just formatted my iomega 250 gb external HD to ext3. This is where i store media, such as music. What I am attempting to do is take all the music from my 5th gen 80gb ipod (rockbox firmware), and transfer it back onto my external drive, as all my data was (naturally) erased during the format. However, as soon as I plug in my ipod it mounts as usual... but after about 15-20 seconds my external drive unmounts. When i do a 'sudo mount dev/sdc1' it says sdc1 does not exist. How can i fix this? what is the problem? I have my ipod set on /dev/sdd2 and the external drive at /dev/sdc1, each with their own mount point. They each work perfectly independently. I have tried switching usb ports around and rebooting.
when I plug in a Small USB key, hotplug sees the new device, mounts it in userspace and creates a link on the desktop. The user can open the link and read and write to the USB key. I have tested 3 different usb keys and they all work. When I plug in a USB 250 GB drive (Lacie), also fat32, it doesn't mount:
May 11 12:25:29 tinkerer kernel: SCSI device sdf: 488397168 512-byte hdwr sectors (250059 MB) May 11 12:25:29 tinkerer kernel: sdf: Write Protect is off May 11 12:25:29 tinkerer kernel: sdf: assuming drive cache: write through May 11 12:25:29 tinkerer kernel: SCSI device sdf: 488397168 512-byte hdwr sectors (250059 MB
However, I can mount the drive manually as root. The problem is that the user cannot write to the device if it's mounted by root.Is this a problem with hotplug/udev or another way that I can make this device available rw to the user?
When I mount an external usb drive on linux (CentOs4), the permissions are by default set to read-only. Since there are multiple users on the computer who need to use the external drive, I want everybody to have rw permission for the entire drive. I also want them to be able to mount the drive if the computer has accidentially been shut down. They can use sudo mount to mount the drive, but this will only give them read permission, and I obviously don't want to allow sudo chmod.
Is there a default setting that I can change so that every new external usb disk automatically gets rw permissions?
I have dual boot on my laptop. First OS is Windows XP and second is Ubuntu 10.10.
When I click on places menu in Ubuntu, I can access Windowz XP Drives.
If I access some pdf file or document while in Ubuntu which is in Windows XP Drive, then it will come in Recent Document in Places menu.
Now I restart Ubuntu and click on Recent Documents and click on the document which I accessed in last session ( before restart ).
It says Unable to Open Document.
Then I click Places again and access my Windows XP drive. Then again I click Recent Document and click on document, I am able to open the document.
My guess is this happens because my windows drives are not mounted automatically when I start Ubuntu. How can I mount Windows drive automatically when I start Ubuntu.
I have a netbook running Ubuntu Netbook Edition and I would like a USB flash drive to be automatically mounted whenever I plug it in. The drive is FAT formatted. It mounts when I plug it in but all files are only writable by my user, other users only have read access. I understand that I need to add a corresponding entry to the /etc/fstab file. I've added the following so far:/dev/sdb1 /mnt/USB_DRIVE vfat
Firstly, is that appropriate so far? I've created /mnt/USB_DRIVE as root. Next, I'm not sure what options I should be finishing the line with, especially to get all users to be able to write to the drive.
I recently updated to Kernel 2.6.32.7 available from the: Mainline. The reason I have done this is because it corrects an error that prevents my web-cam from functioning (Microsoft VX-3000). So, with this kernel I have a functioning web-cam *but* I have noticed now that my USB Hard Drive intermittently now unmounts. I am unable to remount the device without rebooting Ubuntu. The drive was mounting dirty but installing NTFSProgs and running NTFSfix was the solution for that. I have disabled power management completely on my machine by editing /etc/default/acpi-support and changing SUSPEND_METHODS to "none" and both ACPI_SLEEP and ACPI_HIBERNATE to false. This seems to have made the USB hard drive take longer before it unmounts but it does still unmount. Also as a GRUB2 boot option I have tried acpi=off but this also disabled my usb keyboard and mouse and my BIOS isn't flexible enough to work around that so I cannot use that option. With these things in mind are there any other avenues I could pursue and things I could try?
Edit: It may not be "unmounting" it just disappears. Also, I could try to whitelist the USB controller in /etc/default/acpi-support if I knew how to find out what it was called but I do not know how to do that.. Yet !
Edit2: I moved the physical plug to another slot where it connects on the computer. If this disconnects again I'll swap out the cable. If it disconnects again.. I'll go buy a huge 1TB internal sATA and call it a day. ~
I have a start and stop script registered with chkconfig for a fuse mounted drive. I can /sbin/service scriptname start and /sbin/service scriptname stop with no issues.
The stop script unmounts the drives and then stops the service with a function to wait until the pidof service is gone. My drives are showing up as dirty on reboot, which should mean that my script that functions normally in cli, is running out of time and possible being ignored by service after a certain wait period when shutdown -h now is issued. System is a remote server so I can not view the output during shutdown. How can I increase the wait before /sbin/service issues a [FAILED] if that is the case on shutdown? The startup script runs, however the shutdown script does not...the script does work though with the service scriptname stop command.
I have a hard drive which I put in an enclosure so that I can attach it by USB to my laptop, like a giant flash drive. In other words, its an external Hard Drive now. When I first plug it in it is detected and mounts like you would expect, but after a few minutes it unmounts. It's like the drive spins down and unmounts or something.
So, I want to remount it over my network rather than having to walk over to the computer and unplug the Hard Drive and then plug it back in. I would even be happy if I could just remote desktop onto that machine and remount the device somehow.
Here's the problem:
When the Hard Drive is mounted, and I run the "mount" command in terminal it shows up as:
/dev/sdc1 on /media/"NAME OF HARD DRIVE"
but when it unmounts itself and I run lsusb in terminal it only shows up as:
Bus 002 Device 053: ID 13fd:1840 Initio Corporation
I don't know how to get it to mount based on that name. So, I am asking: given that it shows up with that name, how can I remount the device from the command line...
The ultimate goal being to get it to reappear in my SAMBA shares.
I have Ubuntu 9.10 and when i plug in my usb drive it wont mount it automatically and is not shown in the nautilus browser also, but if i search in /dev its visible(its detected) and i can mount using mount /dev/sdc /mnt But if i do this i can only copy files from browser and for all other times i need to use terminal again
I've created some encrypted partitions using Disk Utility, and would like them to be automatically mounted when Ubuntu starts up. Is there a guide to this anywhere?
I've gathered that it involves /etc/crypttab and possibly /etc/init.d/cryptdisks, but haven't had much success so far.
Ideally, some of the partitions would mount early in the boot process, while some of them can mount after I've logged in.
If I can't get this sorted, I really can't use Ubuntu so pleeease help. I'm a complete newbie, as in, about 2 hours using ubuntu so far. Generally things are going well. I am trying to create a link to my windows xp workgroup where all my data is stored (I was surprised that linux could even see it!) I mounted a volume on the desktop apparently... that worked fine until I rebooted and it had disappeared. it was fairly annoying that I had to go back into the network and re-mount the volume. How can I get it to stay put, even after rebooting? I have limited to zero knowledge of linux/ubuntu so you may need to break it down for me.I tried using 'Storage Device Manager' as someone suggested but emmm I didn't understand a word of it. In fact there weren't many words. Only acronyms
I'm trying to automatically mount a windows share in a Fedora 12 instance (FC12).When I manually mount things work:mount -t cifs //nas01/servers -o username=guest,password=myPassword /mnt/nas01/serversIf I update /etc/fstab with the following://nas01/servers /mnt/nas01/servers cifs username=guest,password=myPassword 0 0Nothing happens after reboot. The thing that has me baffled is after a reboot if I run:mount -aThe share is mounted.
Fairly new to Ubuntu (started with Karmic), now dualbooting Lucid and Windows 7. Lucid is automatically mounting my NTSC partitions, which is pretty convenient since I store all my media there, but I recently deleted one of the partitions and just extended the other one. Now Lucid is still trying to automatically mount the partition that no longer exists and giving me an error message every time I boot up. Not really a big deal, just a minor annoyance, but I'm wondering what I do to make it realize the partition is gone.
I want the following behavior in kubuntu 9.04 when I plug a device (USB stick or CD disk):
1. It should be mounted automatically for me. Now it isn't, though it appears in fdisk -l output: Code: Disk /dev/sdd: 8006 MB, 8006926336 bytes 16 heads, 32 sectors/track, 30544 cylinders Units = cylinders of 512 * 512 = 262144 bytes Disk identifier: 0x9b12d290 Device Boot Start End Blocks Id System /dev/sdd1 * 16 30544 7815232 b W95 FAT32 and if I mount it manually, all goes OK
2. If I mount manually my CD disk and then press the eject button on my drive nothing happens until I manually unmount the drive. But I want it to open immediately
All this worked for me in kubuntu 8.10, and broke with the upgrade. My fstab entries Code: /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 /dev/sdc1 /media/usb vfat noexec,codepage=866,utf8,nosuid,nodev,quiet,uid=1000,gid=1000,umask=077,user 0 0
I have various drives and partitions that I have been mounting through fstab, but sometimes I had to do it manually, but now, I can't get them to mount at all. At first I thought it might be a disk failure, but booting to a Live CD shows all the drives working fine. when the entries are added into fstab, $mount -l shows them as mounted to their relevant mount points, but the data does't show in either terminal or dolphin?
Typing $umount /dev/drive always returns /dev/drive not mounted.
When I comment out the entries in fstab and reboot and try a manual mount, I always get /dev/drive already mounted or /mount/point busy. $mount -l does not show any mount entry points for the drive. My /home/user partition is now full as I can't save data on the other drives, so I don't know if this is an issue. Also I use a mixture of encrypted partitions and non encrypted partitions, but this wasn't an issue before. Checking some of the logs didn't show any errors. The problem seemed to start when gdd was saving data to a partition mount point I thought was mounted but wasn't. I have since removed that data and even created a new mount point.
I'm having difficulties mounting an FTP address to my file system automatically during boot. After a bit of research I have discovered a package called curlftpfs, I've installed this package using aptitude and I had no errors.
I've successfully mounted an FTP address manually using curlftpfs at the command line and proved to myself that this is working as it should...However, I can't get this to mount automatically and I am receiving the following error during boot when I try and mount it through /etc/fstab...
Error connecting to ftp: Failed to connect to (IP address of server): Network is unreachable
My research indicates this package should be able to do this.
I'm still a learner when it comes to Linux, but could this be because TCP/IP services are not started at the time of mounting the filesystems? I've tried a continuous ping at this computer whilst it is booting and I don't get a response until after /etc/fstab has been processed. If this is the reason, can I start them these processes earlier?
Another option would be to have a script/command run when the computer boots, but prior to MySQL loading. If this is possible, it would also satisfy my problems.
I've got a removeable disk which I want to mount on startup automatically at mountpoint "/backupsystem". If' it's not there I would like to have no error message. Actually after upgrading to 10.4 I get the message: Continue to wait; or press S to skip mounting or M for manual recovery.". But I don't wand this if the disk is not there that's OK for me. How would I configure fstab to achieve this?
I have been having this problem when playing music using Rhytmbox or Exaile.....The external HDD (sata through USB) automatically unmounts thereby stopping playback of music. I just have not been able to figure out how to stop "auto" unmount.
This is an odd one. I have a C program that calls umount to unmount a volume. A simplified case looks like this:
Code: int main() { int rc = umount2("/v0", MNT_FORCE); if (rc != 0) { printf("Unable to unmount volume /v0, err='%s'", strerror(errno)); code....
I also discovered the reverse effect with calling mount() in code. When I make a call like Code: mount(drive, volume, "xfs", MS_NOATIME, NULL); the indicated drive is mounted since I can access the files as expected, but df doesn't show the drive has been mounted.
Why is my C code behaving this way? What do the mount/umount commands do when run from the command line that I'm not doing in my C code?
[URL]I was going through this tutorial linked above, but then when I got to the dmesg | grep -i portion, I thought for a moment and said to myself, "Wait, I don't have that kind of output.Which is true,
dmesg | grep -i "SCSI device" outputs nothing where
I have an 320GB hard drive with F11 installed. Lately, I got a 1.5TB new hard drive, on which I have installed F12. Now I want to use the 320GB as a second hard drive since I have lots of data on it. My question here is as I boot my desktop, how does it recognize to boot from the 1.5TB and consider the 320GB as a secondary? Is there anything I need to setup in BIOS? My motherboard has one extra SATA connection left for a second hard drive.
I am having issues mounting my non-OS hard drive (/dev/sda).I had the following information in my /etc/fstab file:/dev/sda /mnt/storage auto defaults 0 0This worked as expected; however, I decided the modify this so I can have it automounted to my home directory (/home/jesse/storage)./dev/sda /home/jesse/storage auto defaults 0 0This /mnt/storage remains intact even after rebooting the system.
I've got a semi-retired hdd (with a few bad sectors my disk utility tells me) formatted in ext4 that can be mounted onto the Desktop after boot provided root password is offered first. I thought it would be straight forward to mount it at boot with something in etc/fstab like :
Code:
/dev/sdb /home/Jo/Desktop ext4 But this doesn't work, is there a glaring error here ?
Various threads suggest permission restrictions could be the cause but i have had no success with them
I just switched to Fedora (from Ubuntu) and can't seem to get Fedora to automount my old drive (which is my old Ubuntu drive). I tried the following with no luck (in fact, when I did this, it chocked during boot and went into emergency mode:
In /etc/fstab, I entered:
/dev/sdc /media/UBUNTU_DRIVE defaults 0 0
Another odd thing is the UBUNTU_DRIVE directory just disappears after reboot (and I know it was there before rebooting).
I have two additional drives in my tower, and both do show up in gparted, so I'm not sure why they're not getting mounted.
Why can't Fedora auto mount secondary (internal drives) automatically?
What can I do to tell it to auto mount the secondary drives (I have two) automatically?
I just updated to 10.04 from the previous version and I'm encountering two main problems: First, on boot, after grub, I get the following message: Quote:"Disk drive for /hdba/sda6 is not ready yet or not present" "Continue to wait, or press S to skip mounting or M for manual recovery" It won't go past that (I've waited 30 min) If I press S then I get tis other message but it skips after a few seconds:
Quote: "Disk drive for /hdba/sda7 is not ready yet or not present" "Continue to wait, or press S to skip mounting or M for manual recovery" If I press S then I have an ALMOST working system. You see: I have an external USB hard drive, shared between XP and Ubuntu with all my files in it, and it won't mount. It's a simpletech and it was working just before the update and it loads, mounts and unmounts perfectly on windows and on another laptop I've got running crunchbang!. I can see the disk in "Media" but says I have not enough permissions to see its contents.
I'm having a problem on startup where GRUB seems to time out attempting to mount my main drive. Here is the error it gives me:
Quote:
Gave up waiting for root device. Common problems:
-Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough?) - Check root= (did the system wait for the right device?) -Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-uuid/b1517926-aba4-47d1-81f0-42ca5dd36257 does not exist. Dropping to a shell!
I am given a initramfs shell. Sometimes waiting a couple of minutes and then typing 'exit' works. However, I've noticed if I do this:
Code: (initramfs) mount /dev/disk/by-uuid/b1517926-aba4-47d1-81f0-42ca5dd36257 /root (initramfs) exit
my laptop will boot.
I'm really not sure what the issue is, or how to even start to resolve it.. I'm not sure what the issue is, since