- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: autmount problem.
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
Discussions
Discussions
Forums
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
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
тАО12-25-2006 02:15 AM
тАО12-25-2006 02:15 AM
autmount problem.
[root@li0db01s NAS]# more /etc/auto.master
#
# $Id: auto.master,v 1.3 2003/09/29 08:22:35 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#/misc /etc/auto.misc --timeout=60
#/misc /etc/auto.misc
#/net /etc/auto.net
#/ora/ /etc/auto.misc
/ora/NAS /etc/auto.ora
[root@li0db01s NAS]#
[root@li0db01s NAS]#
[root@li0db01s NAS]#
[root@li0db01s NAS]#
[root@li0db01s NAS]# more /etc/auto.ora
#
# $Id: auto.misc,v 1.2 2003/09/29 08:22:35 raven Exp $
#
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage
#cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
# the following entries are samples to pique your imagination
#linux -ro,soft,intr ftp.example.org:/pub/linux
#boot -fstype=ext2 :/dev/hda1
#floppy -fstype=auto :/dev/fd0
#floppy -fstype=ext2 :/dev/fd0
#e2floppy -fstype=ext2 :/dev/fd0
#jaz -fstype=ext2 :/dev/sdc1
#removable -fstype=ext2 :/dev/hdd
NAS -fstype=nfs,rw,hard,rsize=32768,wsize=32768 10.20.11.204:/tst
[root@li0db01s NAS]#
[root@li0db01s NAS]#
[root@li0db01s NAS]#
[root@li0db01s NAS]# pwd
/ora/NAS
[root@li0db01s NAS]# ls -lrt
total 0
[root@li0db01s NAS]# mkdir NAS
mkdir: cannot create directory `NAS': Permission denied
[root@li0db01s NAS]# pwd
/ora/NAS
[root@li0db01s NAS]#
[root@li0db01s NAS]# mount 10.20.11.204:/tst /mnt
[root@li0db01s NAS]#
[root@li0db01s NAS]#
[root@li0db01s NAS]# cd /mnt
[root@li0db01s mnt]# ll
total 0
-rw-r--r-- 1 root root 0 Dec 25 18:09 test
[root@li0db01s mnt]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol01
10095152 6798256 2784080 71% /
/dev/cciss/c0d0p1 101086 12296 83571 13% /boot
/dev/mapper/VolGroup00-LogVol02
7063480 2664796 4039876 40% /db
none 2043272 0 2043272 0% /dev/shm
/dev/mapper/VolGroup00-LogVol03
13643272 4694788 8255444 37% /ora
/dev/hda 641798 641798 0 100% /media/cdrom
10.20.11.204:/tst 286737408 8361184 278376224 3% /mnt
[root@li0db01s mnt]#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-25-2006 02:26 AM
тАО12-25-2006 02:26 AM
Re: autmount problem.
/ora/NAS/NAS
if won't work post the output of
showmount -e 10.20.11.204
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-25-2006 02:34 AM
тАО12-25-2006 02:34 AM
Re: autmount problem.
/ora/NAS
[root@li0db01s NAS]# cd NAS
-bash: cd: NAS: No such file or directory
[root@li0db01s NAS]#
[root@li0db01s NAS]# showmount -e 10.20.11.204
Export list for 10.20.11.204:
/oracle 10.20.11.206,10.20.11.205
/test 10.20.11.205
/oracledr 10.20.11.206
/down (everyone)
/tst (everyone)
[root@li0db01s NAS]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:21:B0:6E:8E
inet addr:10.20.11.205 Bcast:10.20.11.255 Mask:255.255.255.0
inet6 addr: fe80::213:21ff:feb0:6e8e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:409852 errors:0 dropped:0 overruns:0 frame:0
TX packets:298051 errors:2 dropped:0 overruns:0 carrier:0
collisions:22952 txqueuelen:1000
RX bytes:343336778 (327.4 MiB) TX bytes:27331292 (26.0 MiB)
Interrupt:217
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5458 errors:0 dropped:0 overruns:0 frame:0
TX packets:5458 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2240760 (2.1 MiB) TX bytes:2240760 (2.1 MiB)
[root@li0db01s NAS]#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-25-2006 03:18 AM
тАО12-25-2006 03:18 AM
Re: autmount problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-25-2006 04:30 AM
тАО12-25-2006 04:30 AM