- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- autofs didnt work-- plz help asap
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2005 03:51 PM
03-11-2005 03:51 PM
autofs didnt work-- plz help asap
/mnt/cdrom /etc/auto.cdrom --timeout=15
# cat /etc/auto.cdrom
cdrom -fstype=iso9660,ro :/dev/cdrom
# service autofs status
Configured Mount Points:
------------------------
/usr/sbin/automount --timeout 15 /mnt/cdrom file /etc/auto.cdrom
Active Mount Points:
--------------------
/usr/sbin/automount --timeout 15 /mnt/cdrom file /etc/auto.cdrom
# mount
.
.
.
automount(pid512) on /mnt/cdrom type autofs (rw,fd=5,pgrp=512,minproto=2,maxproto=3)
Now i insert the cd into the cdrom drive, and then
# ls -l /mnt/cdrom
total 0
'ls -l /mnt/cdrom' didnt mount the cd ... so obviously it also didnt show me the contents of cd
plz help ... i am not able to configure autmount
so plz point out where i m doing mistake ? or what should i do ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2005 04:05 PM
03-11-2005 04:05 PM
Re: autofs didnt work-- plz help asap
Thanks n Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2005 10:40 PM
03-11-2005 10:40 PM
Re: autofs didnt work-- plz help asap
The following config file is exactly,
cat /etc/autofs.master
/misc /etc/auto.misc --time=60
cat /etc/auto.misc
cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
Perform command "ls -l /misc/cd" will show file of cdrom.
NiCK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2005 10:42 PM
03-11-2005 10:42 PM
Re: autofs didnt work-- plz help asap
Before you perform command "ls -l /misc/cd",you should restart autofs service.
NiCK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2005 04:15 AM
03-13-2005 04:15 AM
Re: autofs didnt work-- plz help asap
What I was doing wrong is that i issue 'ls -l /mnt/cdrom' but in my case the correct should be 'ls -l /mnt/cdrom/cdrom', i.e i was not providing the 'key' after the mount point. And the key in my case is 'cdrom'
# cat /etc/auto.cdrom
cdrom -fstype=iso9660,ro :/dev/cdrom
Anyway many thanx NiCK.
Regards
Maaz