vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I would like to know how I can automount a volume placed on an external USB port. I am able to mount if I get root privileges, but the drive does not get automount. I have surfed the net searching for solutions and haven't found the answer. Thanks in advance. John |
| |||
| <news2003@wanadoo.es> wrote in message news:1137941020.042038.274620@o13g2000cwo.googlegr oups.com... >I would like to know how I can automount a volume placed on an external > USB port. That..... depends a lot on your distribution. Which Linux are you using, and which operating system release? It's possible with recent RedHat versions, for example, to allow users to mount hard drives by setting specific settings in /etc/fstab. Auto-mounting could be more of an adventure, depending on what the drives are and what configurations you want them to have. And do you mean "mount at boot time", or "mount and unmount it when I plug it in"? > I am able to mount if I get root privileges, but the drive does not get > automount. > > I have surfed the net searching for solutions and haven't found the > answer. Some details of what you're trying to do might help define what you need better. |
| |||
| I try to mount it on FC4. My idea is to keep the hard drive always plug to that machine. The hard drive is a combo Seagate 300GB connected to the USB port. I didn't manage to make it work using the firewire port. I tried the drive in another machine using the Firewire port and works. There is another question that comes to my mind. this is the result of df -h $ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 11G 8.9G 1.3G 88% / /dev/hda1 99M 9.8M 84M 11% /boot /dev/shm 252M 0 252M 0% /dev/shm /dev/sda 276G 217M 261G 1% /mnt/external When I come to fdisk I get quite confuse. Originally it was set the mount as /dev/sda1. I don't know if this changed will make a big change for futures update of the machine. Or in case I plug a second USB drive. Also the information about "mount and unmount it when I plug it in" will be helpful as I won't need to reboot the system. Once again, Thanks in advance. John |
| |||
| news2003@wanadoo.es wrote: > I try to mount it on FC4. > it should have HAL. Nowadays autmounting is (usually) done by combination of kernel + udev + HAL + user agent that does actual mount. I am surprised it did not "just work". Are you using GUI? Which one (KDE or Gnome and which version)? Do you have HAL installed? Do you use udev? > My idea is to keep the hard drive always plug to that machine. > > The hard drive is a combo Seagate 300GB connected to the USB port. > > I didn't manage to make it work using the firewire port. I tried the > drive in another machine using the Firewire port and works. > That sounds like hardware issue unless another machine is using another distribution. > There is another question that comes to my mind. > > this is the result of df -h > > $ df -h > Filesystem Size Used Avail Use% Mounted on > /dev/mapper/VolGroup00-LogVol00 > 11G 8.9G 1.3G 88% / > /dev/hda1 99M 9.8M 84M 11% /boot > /dev/shm 252M 0 252M 0% /dev/shm > /dev/sda 276G 217M 261G 1% /mnt/external > > When I come to fdisk I get quite confuse. Originally it was set the > mount as /dev/sda1. I don't know if this changed will make a big change > for futures update of the machine. Or in case I plug a second USB > drive. > This implies that either partition table on your hard drive was changed or a bug in HAL or whatever software is used to setup mount points. HAL did have some issues with FAT detection (are you using FAT BTW?) > Also the information about "mount and unmount it when I plug it in" > will be helpful as I won't need to reboot the system. > http://freedesktop.org/ then got to Software and look for HAL. =arvi= |
| |||
| news2003@wanadoo.es wrote: > I try to mount it on FC4. > > My idea is to keep the hard drive always plug to that machine. > > The hard drive is a combo Seagate 300GB connected to the USB port. > > I didn't manage to make it work using the firewire port. I tried the > drive in another machine using the Firewire port and works. > > There is another question that comes to my mind. > > this is the result of df -h > > $ df -h > Filesystem Size Used Avail Use% Mounted on > /dev/mapper/VolGroup00-LogVol00 > 11G 8.9G 1.3G 88% / > /dev/hda1 99M 9.8M 84M 11% /boot > /dev/shm 252M 0 252M 0% /dev/shm > /dev/sda 276G 217M 261G 1% /mnt/external > > When I come to fdisk I get quite confuse. Originally it was set the > mount as /dev/sda1. I don't know if this changed will make a big change > for futures update of the machine. Or in case I plug a second USB > drive. > > Also the information about "mount and unmount it when I plug it in" > will be helpful as I won't need to reboot the system. > > Once again, Thanks in advance. > John Set "Enable Legacy USB support" in the BIOS - and ensure that 'USB' or 'Removable' device/drive appears (or atleast is not omitted) from your Boot Order Device list in the BIOS... System specs (CPU/Mobo/etc) may help, if above doesn't do it for ya |
| ||||
| kermit wrote: > news2003@wanadoo.es wrote: > >> I try to mount it on FC4. >> > > it should have HAL. Nowadays autmounting is (usually) done by > combination of kernel + udev + HAL + user agent that does actual > mount. I am surprised it did not "just work". > > Are you using GUI? Which one (KDE or Gnome and which version)? Do you > have HAL installed? Do you use udev? I had problems myself with external USB drives and FC4, at least out of the box. I'd certainly update to the latest kernel: I was trying to use an external 300 Gig drive as a mirror drive for a source code repository, and it would hang with the default FC4 kernel. It got a lot better with 2.6.14 based recent kernels, but I never got a chance to really test it again under serious load. I wound up giving up on USB for the moment and switching to a firewire card and the firewire port on the machine, which worked flawlessly. >> I didn't manage to make it work using the firewire port. I tried the >> drive in another machine using the Firewire port and works. >> > > That sounds like hardware issue unless another machine is using > another distribution. Really: which kernel? And does a Knoppix boot CD or DVD detect it and mount it properly? >> There is another question that comes to my mind. >> >> this is the result of df -h >> >> $ df -h >> Filesystem Size Used Avail Use% Mounted on >> /dev/mapper/VolGroup00-LogVol00 >> 11G 8.9G 1.3G 88% / >> /dev/hda1 99M 9.8M 84M 11% /boot >> /dev/shm 252M 0 252M 0% /dev/shm >> /dev/sda 276G 217M 261G 1% /mnt/external >> >> When I come to fdisk I get quite confuse. Originally it was set the >> mount as /dev/sda1. I don't know if this changed will make a big >> change for futures update of the machine. Or in case I plug a second >> USB drive. > > This implies that either partition table on your hard drive was > changed or a bug in HAL or whatever software is used to setup mount > points. HAL did have some issues with FAT detection (are you using > FAT BTW?) It looks to me like someone set up the hard drive as a single filesystem without ever setting up a parttion, this it mounts as /dev/sda instead of as /dev/sda1. That.... could cause adventures. Can you type "fdisk -l /dev/sda" and see what is reported? >> Also the information about "mount and unmount it when I plug it in" >> will be helpful as I won't need to reboot the system. >> > > http://freedesktop.org/ then got to Software and look for HAL. Also looks like a good idea. |