Ubuntu :: Using Udev To Mount USB Storage In Home?
Apr 1, 2010
I 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.
View 7 Replies
ADVERTISEMENT
Feb 27, 2011
I'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.
View 4 Replies
View Related
Mar 23, 2011
#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.
View 1 Replies
View Related
Jan 18, 2010
I need some advice or tips or maybe your own experiences about building a home data storage or NAS.Here's some thoughts / requirements I think it should have:It should expandable. I'll stick a couple of 1TB HDDs and a little later I'll stick some moreIt should easily integrated to both Ubuntu and Windows 7. Ideally it'll be an integrated part of the filesystem.I'm thinking some sort of RAID as a backing up my data. RAID 1 seems like a such a waste but then again, these days, HDDs are cheap.And when I do add more HDDs, I'd like them to appear as one big storage unit instead of separate drives.Any suggestions and tips on how to go about this is welcome. Questions are plenty: should I go with server hardware or is bigger ATX case and standard hardware enough? I'll need some pointers so keep 'em coming
View 9 Replies
View Related
Jun 2, 2010
i have a spare computer and 4 hds and was planning to make this computer a storage server with a media place aswell... i do have some linux knowledge but never used it for this and am not sure how good it will be initially the media files are in an HD with ntfs format which i want to keep as is... but i was wondering what options i had to make a media folder over network where i could browse and watch from any computer in my network ? is it samba my only options or is there a more media like solution for this ? There will aswell other features i was planning to use on it which made me think of linux, for example, svn server, websever with mysql to testing my applications, connection manager, all these i am sure on how to make and setup... but i am not very familiar with samba hence i am not sure if it is the best options for file sharing aswell as media sharing and/or my only option.i also heard that ntfs might be trouble some for linux in some cases
View 9 Replies
View Related
May 18, 2011
I have a fairly large home partition,and several directories with content in, that currently reside in my home account.I now have two slackware installs and would like the content to be available to both installs.Is it OK/advisable to make a directory in /home that has the content in, that both user accounts are mapped to for the content (music and video mainly)? I was thinking of setting the folder as readable/writable by all. This bit makes me wonder if I might encounter problems.There is no spare partition or alternative drive that I could use for this purpose and there is too much data for me to duplicate it in both user accounts.
View 8 Replies
View Related
Nov 5, 2010
Can I auto-mount my storage HDD? If so how?
View 4 Replies
View Related
Mar 1, 2010
I'm trying to get a script to run whenever an optical disc is mounted by the system but can't get it to work. I'm running Fedora 12 64bit and the drive is SATA device sr0.
Following online guides, I created a new rule file called '10-my.rules' in '/etc/udev/rules.d' which contains the following:
Code:
KERNEL=="sr0", RUN+="/usr/local/bin/myscript"
But nothing happens when a disc is mounted. The script itself runs fine manually and is clearly evident when launched so the problem must be the rule file. I've tried changing the name of the rule file in a few incremental steps from 10-my.rule to 99-my.rule to no effect.
I've gathered some information about my optical drive using the udevadm tool.
Here is the result of an info query:
Code:
P: /devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sr0
N: sr0
S: block/11:0
S: scd0
[Code]....
View 8 Replies
View Related
Jun 15, 2011
we have purchased the Dell PowerVault NF 500 NAS Storage Box with Window Storage server 2003 is Installed.we have LDAP server for authentication the user in network for accessing network resources.All ubuntu users on client side use ubuntu(LDAP server )for user authentication.when a user logon on client side machine his home directory is created on client machine .
but we want to use the NAS storage device to store the home directories of user.we want to implement that ,whenever a user logon his home directory is created on powerValut NF 500 storage device so that all user data is stored centrally for taking the backup .we want to mount NAS storage device so that user uses when they login and create user profile.
View 1 Replies
View Related
Aug 24, 2011
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.
View 8 Replies
View Related
Feb 1, 2011
I use CentOS for the servers I am responsible for. This time, I inherited a piece of hardware that CentOS refused to boot up on, so I installed Fedora Core 14. I have NIS and autofs working -- mostly.The home directories reside on an EMC network storage device. The problem is that when I login as a regular user, all the files under the home directory are owned by nobody/nobody, instead of user/group. I believe this has something to do with NFSv3 vs. v4, but I have yet to find the right trick to fix it.
[Code]...
View 2 Replies
View Related
Feb 9, 2010
i have installed nfs server on my redhat machine.when i want to mount shared data from client(suse)machine the following error occur."mount.nfs: mount to NFS server '10.3.31.146:/home/usbtest' failed: System Error: No route to host"
View 1 Replies
View Related
Jun 22, 2011
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 Related
Sep 24, 2009
Recently 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]...
View 3 Replies
View Related
Apr 12, 2016
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 Related
Jul 17, 2010
I 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 Related
May 27, 2011
I 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 Related
Jan 22, 2010
How 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 Related
Mar 11, 2011
I'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
View 4 Replies
View Related
Feb 9, 2010
My Canon PowerShot A470 + CHDK can write to SD-cards that are "locked" (the lock switch is used to make the card bootable), but GNU/Linux
`/dev/mmcblk1': Read-only file system
(I'm using "Texas Instrument 5-in-1 Multimedia Card Reader")
So I have to switch that switch on and off again and again. ("unlocked" to write to the card in Linux, "locked" to boot the camera from it).
How to force locked card to be writable in GNU/Linux?
View 1 Replies
View Related
Nov 13, 2010
Just playing around with things for the heck of it.
I would like to mount my home directory in a ramdisk. I have tried:
mount --bind /home/mooreted /dev/shm
But not sure if that's actually running home in RAM.
View 5 Replies
View Related
Jan 18, 2010
Running Ubuntu 9.10 for some months without any problems, but with no obvious trigger it won't boot this afternoon. (I'm not aware of any updates happening this morning, when everything was fine.)and it gets stuck; searching around shows lots of people get a similar message but then boot normally; this may have been happening to me in the past but I don't pay much attention to the boot up.The recovery console appears to load fine but I haven't a clue what to do with it!
View 9 Replies
View Related
May 12, 2011
So a few hours ago I opened up GPartEd from a live CD, and one of my operations was moving the /home partition up a little. In the process, it was changed from /dev/sda8 to /dev/sda7. Well upon the next boot, /home failed to mount. I edited /etc/fstab (and apparantly DropBox had just commented out the line that mounts /home so I have NO IDEA how /home was being mounted before) and still no dice. So every time I boot, I have to go to manual recovery and type mount /home before I can boot.
Is there some way I can mount /home without making a "git 'er done" script?
On a side note, Google Chrome has refused to open since the partition editing.
Oh, and, in case it is helpful, here's the contents of /etc/fstab:
Quote:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
[Code]....
View 2 Replies
View Related
Jan 10, 2010
I would like to mount a partition on a second disk as /home. I have two hdds. one is 250gigs that I wish to use for the / of two or more os'. The other is 1TB that I would like to use as /home/charlie and /home/prisca as well as some other partitions. Here is my current /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda6 during installation
[code]....
View 1 Replies
View Related
Jun 20, 2010
I have created a 75g partition on a hard drive that I would like all videos to be accessible to all users of the computer. I understand that I can mount to /home/user/video but I cant find a method to make user the current user that is logged on.I have built up a PC that I want to use as a place to download movies and music. I then want to create a uPNP server to share the media over my LAN. I vaguely understand what I am talking about and I think Vuze is the best program to meet all these needs. Its not a huge issue because there is only a single user that will ever be using this PC but if this is possible it will help me greatly when I migrate my main PC to Ubuntu. I am using Ubuntu 10.4 and I am not afraid to play on the command line.
View 3 Replies
View Related
Aug 28, 2010
I have a few drives that I would like to mount in my home directory. I know I need to add something like this to my fstab: /dev/hda2 ~/Music ntfs-3g defaults,locale=en_US.utf8 0 0I just don't know how to find the /dev/hda2 part
View 1 Replies
View Related
Apr 15, 2011
Can i mount my home folder in the following way?
/dev/sda5 /
/dev/sdb3 /home/Folder1
/dev/sdb3 /home/Folder2
View 3 Replies
View Related
Aug 11, 2011
I have an Acer Aspire ZG5 which I have installed Ubuntu on. There is a 8Gb internal harddisk which has the system files on (i.e. / ), and a SD flash drive of 16Gb that has the /home partition on.
The /home partition successfully mounts on boot. However, when the netbook resumes after sleep the /home partition is not mounted. Closer inspection with Disk Utility, and attempting to mount the disk within Disk Utility gives the following error:
Code:
Error mounting: mount exited with exit code 1: helper failed with: mount: according to mtab, /dev/mmcblk0p1 is already mounted on /home mount failed
View 8 Replies
View Related
Apr 11, 2011
I haven't been using Ubuntu for a couple of years. Yesterday I decided to fire up my ubuntu box and upgraded from 8.04 to 10.10.
The upgrade went fine, but when I boot it tells me that the /home dir cant be mounted. It allows me to Wait, Skip, or Manually mount it. If I skip I can log in and mount the partition that contains my /home folder so I know that nothing is corrupt. I'm sure my fstab just got overwritten during the upgrade, but, since its been so long, I don't recall how to (correctly) fix it back.
Cliffs:
--Upgraded from 8.04 to 10.10
--/home dir is on a separate partition & is not mounting properly
--How do I set it up so that my /home dir mounts on boot?
I'd just try messing around with fstab myself, but I really don't want to lose any data.
View 6 Replies
View Related
May 2, 2011
I had my home folder on it's own partition, and I decided to do a clean install of 11.04. when I put the disk, when I went to configure the partitions, I I re-formatted the / partition, and I selected my home partition as my new home partition and I made sure the format was NOT selected. after everything got done getting installed and rebooted. 11.04 just creates a new home directory and does not use the whole home partition.
I still have my data saved on it, when I go to the disk utility it shows the same amount of used space before I did a re-installed. If I go to the files system and click on home it shows my user from the last install and it shows the user from the new install. when I click on the user from last install it shows 2 files: Access-Your-Private-Data.desktop
and: README.txt
get my home partition mounted for my home folder
also when I set up the new install I used the same password for access for the ring keys and for login
View 1 Replies
View Related