도와주세요!!
글 수 15,339
2005.11.26 09:48:50 (*.255.19.175)
6685
[root@mcmo root]# cat /etc/exports
/nfsroot 192.168.1.0/24(rw,insecure,sync,no_wdelay)
[root@mcmo root]# mount -t nfs -o nolock 192.168.1.1:/nfsroot /mnt/nfs
[root@mcmo root]# cat /proc/filesystems
nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev tmpfs
nodev shm
nodev pipefs
ext2
nodev ramfs
iso9660
nodev devpts
ext3
nodev usbdevfs
nodev usbfs
nodev autofs
nodev nfs
[root@mcmo /]#ls -l
?⑷퀎 201
drwxr-xr-x 2 root root 4096 11??26 07:17 bin
drwxr-xr-x 4 root root 1024 11??26 07:04 boot
drwxr-xr-x 20 root root 118784 11??26 10:05 dev
drwxr-xr-x 56 root root 4096 11??26 10:12 etc
drwxr-xr-x 3 root root 4096 11??25 22:33 home
drwxr-xr-x 2 root root 4096 1??25 2003 initrd
drwxr-xr-x 9 root root 4096 11??26 07:22 lib
drwx------ 2 root root 16384 11??26 07:00 lost+found
drwxr-xr-x 2 root root 4096 1??28 2003 misc
drwxr-xr-x 6 root root 4096 11??26 01:25 mnt
drwxrwxrwx 2 nobody nobody 4096 11??26 01:06 nfsroot
drwxr-xr-x 2 root root 4096 1??25 2003 opt
dr-xr-xr-x 87 root root 0 11??26 2005 proc
drwxr-x--- 18 root root 4096 11??26 10:13 root
drwxr-xr-x 2 root root 8192 11??26 07:07 sbin
drwxr-xr-x 3 nobody nobody 4096 11??26 04:37 tftpboot
drwxrwxrwt 8 root root 4096 11??26 10:13 tmp
drwxr-xr-x 16 root root 4096 11??26 03:16 usr
drwxr-xr-x 20 root root 4096 11??26 07:25 var
[root@mcmo /]#
<보드쪽>
root
[root@ez-x5 /root]$ mount
rootfs on / type rootfs (rw)
/dev/ram0 on / type ext2 (rw)
/proc on /proc type proc (rw)
none on /dev/pts type devpts (rw)
[root@ez-x5 /root]$ mount -t nfs -o nolock 192.168.1.1:/nfsroot /mnt/nfs
mount: RPC: Unable to receive; errno = No route to hostNFS: mount program didn'!
mount: nfsmount failed: Bad file descriptor
mount: Mounting 192.168.1.1:/nfsroot on /mnt/nfs failed: Invalid argument
[root@ez-x5 /root]$
/nfsroot 192.168.1.0/24(rw,insecure,sync,no_wdelay)
[root@mcmo root]# mount -t nfs -o nolock 192.168.1.1:/nfsroot /mnt/nfs
[root@mcmo root]# cat /proc/filesystems
nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev tmpfs
nodev shm
nodev pipefs
ext2
nodev ramfs
iso9660
nodev devpts
ext3
nodev usbdevfs
nodev usbfs
nodev autofs
nodev nfs
[root@mcmo /]#ls -l
?⑷퀎 201
drwxr-xr-x 2 root root 4096 11??26 07:17 bin
drwxr-xr-x 4 root root 1024 11??26 07:04 boot
drwxr-xr-x 20 root root 118784 11??26 10:05 dev
drwxr-xr-x 56 root root 4096 11??26 10:12 etc
drwxr-xr-x 3 root root 4096 11??25 22:33 home
drwxr-xr-x 2 root root 4096 1??25 2003 initrd
drwxr-xr-x 9 root root 4096 11??26 07:22 lib
drwx------ 2 root root 16384 11??26 07:00 lost+found
drwxr-xr-x 2 root root 4096 1??28 2003 misc
drwxr-xr-x 6 root root 4096 11??26 01:25 mnt
drwxrwxrwx 2 nobody nobody 4096 11??26 01:06 nfsroot
drwxr-xr-x 2 root root 4096 1??25 2003 opt
dr-xr-xr-x 87 root root 0 11??26 2005 proc
drwxr-x--- 18 root root 4096 11??26 10:13 root
drwxr-xr-x 2 root root 8192 11??26 07:07 sbin
drwxr-xr-x 3 nobody nobody 4096 11??26 04:37 tftpboot
drwxrwxrwt 8 root root 4096 11??26 10:13 tmp
drwxr-xr-x 16 root root 4096 11??26 03:16 usr
drwxr-xr-x 20 root root 4096 11??26 07:25 var
[root@mcmo /]#
<보드쪽>
root
[root@ez-x5 /root]$ mount
rootfs on / type rootfs (rw)
/dev/ram0 on / type ext2 (rw)
/proc on /proc type proc (rw)
none on /dev/pts type devpts (rw)
[root@ez-x5 /root]$ mount -t nfs -o nolock 192.168.1.1:/nfsroot /mnt/nfs
mount: RPC: Unable to receive; errno = No route to hostNFS: mount program didn'!
mount: nfsmount failed: Bad file descriptor
mount: Mounting 192.168.1.1:/nfsroot on /mnt/nfs failed: Invalid argument
[root@ez-x5 /root]$
또는 만든 nfsroot 가 퍼민션이 몽땅 개방 형태를 가지고 계신가요?
한번 점검해 보세요