Ubuntu :: Auto-mount My Storage HDD?
Nov 5, 2010Can I auto-mount my storage HDD? If so how?
View 4 RepliesCan I auto-mount my storage HDD? If so how?
View 4 RepliesI need to auto-mount a storage device AND execute a program passing mount point path to it. How can i do this? I'd like to avoid polling for new storage devices. I'm looking for something like acpid for ACPI events, but working with storage plug events instead.
View 6 Replies View RelatedI've just made the switch from Ubuntu to Debian Squeeze and am having trouble connecting external media (be it a USB stick or an ext HD). The error I am getting when I connect anything via usb is the following:
Error mounting: mount exited with exit code 1: helper failed with: mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error.
#lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[code]....
How to mount usb storage device in my ubuntu 10.10.
I have servers installed with RHEL 4 2.6.9-89.0.9 ELsmp. I tried using uuid and label in /etc/fstab to automount usb drives to mountpoints that I specify after reboot. Unfortunately, it just does not work in all my RHEL4 servers. After every reboot, /etc/fstab will be automatically modified and all configurations related to my USB drives will be changed. Irregardless of whether i use UUID or LABEL in my /etc/fstab.However, it works on RHEL5. But, upgrading is not an option in my environment. I have been googling around looking for alternatives but everything seems to point back to using UUID or LABEL in /etc/fstab. Anyone has tried something that works? Please help me, thank you.
View 7 Replies View RelatedI would like to have my USB stoage devices to be mounted under my $HOME automatically when I insert them. Those devices have been partitioned, formated with XFS and also given a UUID for this purpose. I think I should use udev's rules and have also done some attempts like this one:
SUBSYSTEM=="usb", ENV{ID_FS_UUID}=="c195a25a-c03e-4cd8-9d86-9b9219acfeb4", OWNER="uqbar", GROUP="uqbar", RUN+="/bin/mount /dev/%k /home/uqbar/work"
Of course it doesn't work. I'm running Kubuntu 9.10 and Ubuntu 9.04 and would prefer a solution not tied to a specific desktop.
My 11.04 installation is running beautifully in VM on ESXi. I'm trying to add storage so I added the disks, assigned them in vmware to the vm, then tried to mount them when I received the error code...
my setup:
HP Microserver, booting vmware from USB drive. Hardware RAID card (Adaptec RAID 2405), 2 x 250GB HDD in RAID1 (datastore1) with VM's, 2 x 2TB HDD in RAID1 (datastore2) - the storage I'm trying to add.
A search of the above errors yielded many results, all of them were different scenarios to mine.
Using Fedora 15 64 bit. The problem is when I put in a USB stick (directly into USB port front or back), or SD memory card via Card reader, they take a long time to auto mount. About 30 seconds. I've tried a few different USB sticks and memory cards. Once mounted they work fine. This is a new install, been running for a few weeks, but the problem only seems to have started in the last few days. Also, not sure if it's related, but now Shotwell takes about 30 seconds to start. The screen comes up, but the interface in non responsive for around 30 seconds. Both USB and Shotwell problems seem to have started at the same time.
View 3 Replies View RelatedRecently I upgraded from my long outdated Kubuntu 6.06 dapper installation to the new LTS, 8.04 hardy. Ever since everything has been working smoothly and going well, but there's one problem: I can't mount either my external USB HDD or my SD card in my USB card reader.When I try to mount either in Konqueror (Media:/) by right clicking on the device and clicking Mount I get this:Code:mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other errorIn some cases useful info is found in syslog - try dmesg | tail or soI also get this in the console:Code:mattmodica@Dothan:/media$ sudo mount sda1[mntent]: warning: no final newline at the end of /etc/fstabmount: can't find sda1 in /etc/fstab or /etc/mtabmattmodica@Dothan:/media$The first method I tried (doing it in Konqueror) worked in dapper 6.06 just fine.If I run dmesg | tail in console I get this:
Code:
mattmodica@Dothan:~$ dmesg | tail
[17254792.288000] sdc: assuming drive cache: write through
[code]...
Since I use openbox with some packages from Xfce4 (mainly for convenience) I get most stuff "for free" as it were when using openbox, but I can't figure out how to mount android devices in a simple way. I can either do it manually, or install some other file manager that has this capability. This leads me to my question, I've noticed that if I install Nautilus, which automatically mounts android devices OotB, I get this functionality in Thunar as well. This leads me to believe that there is clearly a dependency package of some kind installed when running apt-get install nautilus that enables it, It'd be great to get this functionality in Thunar without having all the nautilus packages just littering about for no good reason. the required package is gvfs-backends, which I should have realized when I was unable to browse smb:// addresses. You forget a lot when you only make a fresh install once every 2 years or so.
View 0 Replies View RelatedI am trying to play or backup various DVDs i have recently bought and keep geting this error message: (mind the wrap) org.freedesktop.hal.storage.mount-removable auth_admin_keep_always <-- (action, result) from KIOExec What in tarnation is going on. How about a useful error message.
View 9 Replies View RelatedI would like to download a few (591)images from the Galaxy S phone. Samsung have advised me that to do that I need to place the Galaxy S phone on Mass storage, whivch I can do and plug the phone USB cable to the PC and manually mount the USB. The Galaxy S firmware 2.1-update1 doesn't support automatic mounting! The Galaxy S has an Android platform Kernel version 2.6.29 with root @SE-S604 #2. I'm running Ubuntu 10.04 on a AMD Athlon(tm) XP 1700+ with 1G of ram. It's the manual mounting of the USB connection
View 1 Replies View RelatedHow to you mount a removable storage in Kubuntu 9.10 that is running on a dual-boot machine with Microsoft Windows XP.
View 4 Replies View RelatedIs there any way to specify what partitions of my USB Hard drive automount? There's really only one I want mounted automatically, and I've made three partitions. I'd like it so the one mounts, but the other 2 don't. Possible?
View 6 Replies View RelatedHow can I auto mount all my drive at start up, I want them to be auto mounted.
View 4 Replies View Relatedim currently useing kubunt 10.10 and i need help to have this drive automounted at bootfor all users./dev/sda1 1 14590 117185536 83 Linux
UUID: 32dc7bba-7605-4543-ab73-d8cbb16c0f76i have tested diffrent options but non work.before i could use psydm but that was for a ntfs drive for ext3 it dont work aswell.i find kubuntu @ ubuntu very userfriendly but when it comes to this part its not that goodfor users like me that not are so experienced with linux
current fstab
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc
[code]....
I recently formatted my memory stick in windows. It works properly in windows. I have a dual boot with ubuntu 10.04 and the usb automounts in read-only mode. I cannot write anything to the usb stick in ubuntu. sudo chomod does not work.
View 4 Replies View Relatedhow to set auto mount at startup. I have 3 partition how can i auto mount this partition at startup.
View 7 Replies View RelatedI'm running 64 bit Ubuntu, 11.04. When I first installed, I could plug in my USB thumb drive and it was automatically mounted for me. Lately, this no longer happens... I use the Disk Utility to mount it manually. What I did wrong to lose this automatic mounting?
View 9 Replies View RelatedI'm interested in buying a new hardware for my company. The old server (now 10 years old) should be replaced with a new one. Till now, I was looking on different hardware suppliers, boards and different other places. I found a Tyan board [URL]. The hardware spec is quite interesting and the board would fullfill our claims.
how both storage devices will be supported by Ubuntu or Debian??
- SATA-Controller: AMD SP5100
- SAS-Controller: LSI 1068E
I just installed kubuntu 9.10 and noticed that several partitions (fat32 and ntfs) are mounted automatically after I login. I searched /etc/fstab but found no entries for those partitions. So I guess there may be something like start-up scripts that automatically detect and mount all partitions on the hard disk at boot/login. Does anybody know the location of those scripts (if any)? I want to disable that auto mount.
View 4 Replies View RelatedI wanted to mount a drive permanently that I see in my Places -> Network ->
I can add it no problem, but I want it to always mount it when it is available when I am not around.
Once I mount it in the GUI is there any way to make that mount a permanent one?
I have 9.10 and notice that when I look in Places none of my volumes/partitions are mounted - if I click on them I have to enter my user password to authenticate to gain access. My problem is that (with some help) I have set up rsync so it runs when I shut down my PC and backs up my Home folder from a partition on sda to a partition on sdb - this is great but sometimes it works and sometimes it doesn't.
I have done some tests and discovered that if I use my PC and never manually mount my backup sdb partition the rsync does not work (I also have GAdmin-rysnc so I can run manually backup but this also will not run if I do no mount the sdb volume). However, if I do mount the sdb backup partition and close down/restart then the backup works. What I need is my sdb backup partition to be automatically mounted every time I switch on - can this be done? I'm sure I had this working in 9.04 (auto mounting) but 9.10 seems not to like it.
On my laptop I have Windows and Ubuntu, and I use Ubuntu very often. How can I auto-mount the NTFS partitions once I run my Ubuntu without the need to manually ask to mount it and confirm with the root password each time and for each partition?
View 5 Replies View RelatedMy 16gb usb memory stick now fails to mount. The device can be seen in gparted but partition is shown as unknown. Tried to format but error message popped up "failed". The device is shown in dmesg see below. I had tried to use the device to create a bootable usb but this did not work and the problems happen there after.
dmesg:
usb 2-2: new high speed USB device using ehci_hcd and address 3
[41796.814297] usb 2-2: configuration #1 chosen from 1 choice
[41796.943922] Initializing USB Mass Storage driver...
[41796.944228] scsi2 : SCSI emulation for USB Mass Storage devices
[Code]....
I have many flash drives, memory sticks, card reader, and 2 mybook 1tb so i am constanly plugging in, or unplugging devices from my machine running the latest version of ubuntu (i beleive 10.04?). I remember when i use to connect a device it would mount and work right off the bat. but now, everytime i connect anything, i have to go through Disk Utility to select the drive and mount it (also unmount before disconnect). Another problem is that some times disk utility doesnt like to work (as with a few other programs). This happends every now and then and im not sure if its my systems hardware or this version of ubuntu. every now and then programs like to stop responding (turn grey) and some programs like disk utility will open up, but just be blank and not show the detected devices
View 9 Replies View RelatedI upgraded to 10.4 and installed Grub on a wrong drive. This means that I have it on the right drive (the one with Ubuntu) and in the wrong one (the one use for data). I have no problems with booting to Ubuntu or Windows. I can even access the files from the data drive (called Storage) after the systems boots. The thing is that I can't auto mount it anymore (with /etc/fstab) and I don't know how to remove grub from the drive, because I can't find where the boot files are. When booting Ubuntu, a message appears saying that there has been an error when trying to mount the drive, I press 'S', to skip the mounting and it goes to the desktop with no problems after that. I only want to be able to auto mount it, even if I can't remove it.
This is the info from Boot Info Script:
Code:
Boot Info Script 0.55 dated February 15th, 2010
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #1 for /boot/grub.
=> Grub 2 is installed in the MBR of /dev/sdb and looks on the same drive in partition #1 for /boot/grub .....
I just changed the os on my media server from Windows Home Server to Unbuntu 10.4 server. I got most of it working (samba, twonkymedia)
The only thing i have left to get working is the backup of that server. I installed bacula as i beleive it will do the job (unless someone has a better and simpler to configure idea) and i would like it to backup to my external usb 1Tb hard drive. I am able to mount the drive manually but this server gets turn on and off often to save power (and cut the electric bill) when not in use. I tried adding a line to fstab but when a do that, the server gets stuck on the startup even with the drive turned on. I read somewhere that i should use the UUID of the drive as it could change from sbd1 to sbh1 on restart so i did, same result.
My 10.04 64-bit desktop has been auto-mounting USB devices (flash drives and my mp3 player) as read-only for some reason. I had this issue happen once a while in the past, so I simply re-mounted it as rw.
Code:
mike@mike-desktop:~$ mount | grep -i 36CB
/dev/sdc1 on /media/36CB-D1A8 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
[Code].....
I've been trying to unsuccessfully auto-mount my drives when starting up. I've made a script that sets me to the root using "sudo -s" and then mounts the drives. The commands to mount the drives work properly when entered into the command line, but when I try running them from an executable, they don't work. What might I be missing?
View 2 Replies View Related