Re: Problems with autofs
On Tue, Apr 12, 2011 at 11:07 PM, Klistvud quotati...@aliceadsl.fr wrote: Dne, 12. 04. 2011 20:52:08 je Aniruddha napisal(a): I tried with and without quotes, with the label and formatting the drive as ext3. I restarted autofs. None of these worked. When I cd to /var/autofs/removable it's empty. It's supposed to be empty. After you cd to it, try issuing: ls usb Or, even better, use the --ghost option in your auto.master, like this: /var/autofs/removable /etc/auto.removable --timeout=2,sync,nodev,nosuid,ghost Both suggestions didn't work. If I understand correctly my config files are correct? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktinv5hwgbf_iaoog7_tgwfvqu-s...@mail.gmail.com
Re: Problems with autofs
On Fri, Apr 15, 2011 at 10:59 AM, Aniruddha mailingdotl...@gmail.com wrote: On Tue, Apr 12, 2011 at 11:07 PM, Klistvud quotati...@aliceadsl.fr wrote: Dne, 12. 04. 2011 20:52:08 je Aniruddha napisal(a): I tried with and without quotes, with the label and formatting the drive as ext3. I restarted autofs. None of these worked. When I cd to /var/autofs/removable it's empty. It's supposed to be empty. After you cd to it, try issuing: ls usb Or, even better, use the --ghost option in your auto.master, like this: /var/autofs/removable /etc/auto.removable --timeout=2,sync,nodev,nosuid,ghost Both suggestions didn't work. If I understand correctly my config files are correct? auto has never worked for me, as you're any ways mounting it through UUID, you can specify the actual FS, in this case vfat. Try it and think it'll work out... Thanks, -- Javier. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktinr3ojwq7ehygxbr2hvvw6t3w8...@mail.gmail.com
Problems with autofs
I try to automagically mount an usb drive following the autofs instructions in the wiki ( http://wiki.debian.org/AutoFs ). For some reason it just doesn't work. I can't find any relevant error message in messages or syslog. Any ideas where I can begin to troubleshoot? Thanks! # cat /etc/auto.master /var/autofs/removable /etc/auto.removable --timeout=2,sync,nodev,nosui # cat /etc/auto.removable usb -fstype=auto UUID=7DF2-7401 # lsmod | grep autofs autofs424072 1 # blkid /dev/sdc1 /dev/sdc1: LABEL=KINGSTON UUID=7DF2-7401 TYPE=vfat
Re: Problems with autofs
Dne, 12. 04. 2011 17:39:35 je Aniruddha napisal(a): I try to automagically mount an usb drive following the autofs instructions in the wiki ( http://wiki.debian.org/AutoFs ). For some reason it just doesn't work. I can't find any relevant error message in messages or syslog. Any ideas where I can begin to troubleshoot? Thanks! # cat /etc/auto.master /var/autofs/removable /etc/auto.removable --timeout=2,sync,nodev,nosui Is that the only line in your auto.master? Have you checked in /var/autofs/removable? Have you restarted autofs? # cat /etc/auto.removable usb -fstype=auto UUID=7DF2-7401 The quotes around the UUID may be superfluous. # lsmod | grep autofs autofs424072 1 # blkid /dev/sdc1 /dev/sdc1: LABEL=KINGSTON UUID=7DF2-7401 TYPE=vfat Try with LABEL=KINGSTON if you can't make it work with UUID...? Then again, Linux may just plain hate vfat... -- Cheerio, Klistvud http://bufferoverflow.tiddlyspot.com Certifiable Loonix User #481801 Please reply to the list, not to me. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1302629888.3942.0@compax
Re: Problems with autofs
Thanks for the help! On Tue, Apr 12, 2011 at 7:38 PM, Klistvud quotati...@aliceadsl.fr wrote: The quotes around the UUID may be superfluous. Try with LABEL=KINGSTON if you can't make it work with UUID...? Then again, Linux may just plain hate vfat... I tried with and without quotes, with the label and formatting the drive as ext3. I restarted autofs. None of these worked. When I cd to /var/autofs/removable it's empty. My current settings: # cat /etc/auto.master /var/autofs/removable /etc/auto.removable --timeout=2,sync,nodev,nosuid # cat /etc/auto.removable usb -fstype=auto UUID=b5fe478b-26f5-4182-a264-ba2b0a7c33c8 # blkid /dev/sdc1 /dev/sdc1: LABEL=KINGSTON UUID=b5fe478b-26f5-4182-a264-ba2b0a7c33c8 SEC_TYPE=ext2 TYPE=ext3 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktikpb+yw3m1fqszgdbhdz9jptgd...@mail.gmail.com
Re: Problems with autofs
Dne, 12. 04. 2011 20:52:08 je Aniruddha napisal(a): Thanks for the help! On Tue, Apr 12, 2011 at 7:38 PM, Klistvud quotati...@aliceadsl.fr wrote: The quotes around the UUID may be superfluous. Try with LABEL=KINGSTON if you can't make it work with UUID...? Then again, Linux may just plain hate vfat... I tried with and without quotes, with the label and formatting the drive as ext3. I restarted autofs. None of these worked. When I cd to /var/autofs/removable it's empty. It's supposed to be empty. After you cd to it, try issuing: ls usb Or, even better, use the --ghost option in your auto.master, like this: /var/autofs/removable /etc/auto.removable --timeout=2,sync,nodev,nosuid,ghost My current settings: # cat /etc/auto.master /var/autofs/removable /etc/auto.removable --timeout=2,sync,nodev,nosuid # cat /etc/auto.removable usb -fstype=auto UUID=b5fe478b-26f5-4182-a264-ba2b0a7c33c8 # blkid /dev/sdc1 /dev/sdc1: LABEL=KINGSTON UUID=b5fe478b-26f5-4182-a264-ba2b0a7c33c8 SEC_TYPE=ext2 TYPE=ext3 -- Cheerio, Klistvud http://bufferoverflow.tiddlyspot.com Certifiable Loonix User #481801 Please reply to the list, not to me. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1302642420.3942.1@compax