[완료] VMWARE 에서 NFS 연결 문제..

air21c의 이미지

안녕하세요.

개발 보드와 VMWARE 위에서 돌아가는 우분투 간에 NFS 를 이용하고자 하는데요.
NFS 관련 요청은 port forwarding 을 이용해서 vmware 로 보내는 방식을 사용했습니다.

우분투 서버 측에서는 portmapper, nfs, mountd 등이 돌아가고 있는 것을
rpcinfo -p 로 확인했구요.

/etc/exports 에는
/nfs_share 클라이언트ip(rw,no_root_squash,no_all_squash,async)

입력했구요.
/etc/hosts.deny 는 아무것도 없고.
/etc/hosts.allow 에는 ALL:클라이언트ip
가 되어 있구여.

서버에서 개발보드로 ping 날려보면 들어갑니다.

개발보드에서는

$ moutn -t nfs -o nolock ip:/nfs_share /mnt/nfs_share

입력하니까

mount: RPC: Unable to receive; errno = Connection refused
mount: nfsmount failed: Bad file descriptor
mount: Mounting ***.**.***.***:/nfs_share on /mnt/nfs_share failed: No such file or directory

이런 메세지가 뜹니다.
우분투 서버측에 NFS 서비스 요청 들어온 흔적은 있는데요...
메세지 봐서는 방화벽 문제인가 해서
VMWARE 돌아가고 있는 윈도우 방화벽 껐고, 우분투 측에서도 특별한 방화벽을 사용하고 있지 않아서

이유를 잘 모르겠습니다.

지도편달 부탁드리겠습니다.

oneday의 이미지

메시지로만 본다면

/mnt/nfs_share

디렉토리가 없는듯 한데요 ? ㅡㅡ??

air21c의 이미지

아 실험을 반복하다 보니, 실수했네요
/mnt/nfs_share 를 보드에 만들었고해보니

mount: RPC: Unable to receive; errno = Connection refusedNFS: mount program didn't pass remote address!

mount: nfsmount failed: Bad file descriptor
mount: Mounting 147.46.240.118:/nfs_share on /mnt/nfs_share failed: Invalid argument

나오네요..ㅠㅠ

dukhwa의 이미지

서울대네....

=======================
예진아 안녕~

=======================
예진아 안녕~

oneday의 이미지

# mount -V
mount (util-linux-ng 2.13.1)

페도라에서 똑같이 해봤는데... 전 잘되는군요..
우분투라서 틀린건가... 도움이 못되 죄송해요.. ;ㅁ;

air21c의 이미지

localhost 로 해보니 mount 는 잘되는거 봐서, 서버 자체엔 문제가 없어 보이구요.

방화벽 문제인것 같은데...

방화벽 윈도우 리눅스 껐는데,

리눅스는 명시적으로 끄진 않았습니다만, 별도로 명시적으로 끄진 않았는데..

잠재적으로 어디선가 RPC 호출을 막는 듯 하기도 하고..

서버와 클라이언트 간의 관계에서 어떤 메세지 들이 오고 갔는지 알 수가 있는지요.

윈도우 에서 포트포워딩이 처리 안되고 있는 서비스가 있을지도 모르는데,

윈도우 단에서 들어오는 네트워크 요청들을 보는 방법이 있으면 도움이 될 것 같습니다.

air21c의 이미지

rpcinfo -p 에서 보여주는 모든 포트에 대해서 port forwarding 을 해야 하는데,

제가 mountd 에 대해서는 하질 않았네요.

자세한 사항은

http://blog.naver.com/jejezz?Redirect=Log&logNo=50012532464

를 참고하시면 될것 같습니다.

하루종일 구글링 했는데, 결국 네이버에서 ;;

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.