nfs가 작동을 안해요..ㅠㅠ

peacepiece의 이미지

안녕하세요~~ embedded를 공부하기 시작한 학생입니다.

지금까지 nfs를 잘 사용해 오고 있었습니다.
타겟보드에서 데스크탑 컴퓨터의 파일을 공유하는 목적으로 사용하고 있었습니다.

그런데 몇일전부터 이 nfs 가 작동을 안하기 시작하는군요.

처음 데스크탑에서 nfs를 start시키면 이런 메시지가 나옵니다.
--------------------------------------------------------
[root@localhost /]# /etc/rc.d/init.d/nfs start
NFS 서비스를 시작하고 있습니다: exportfs: /etc/exports [1]: No 'sync' or 'async' option specified for export "192.168.12.1:/mnt/nfs".
Assuming default behaviour ('sync').
NOTE: this default has changed from previous versions
[ OK ]
NFS 쿼터를 시작하고 있습니다: [ OK ]
NFS 데몬을 시작함: [ OK ]
NFS mountd를 시작하고 있습니다: [ OK ]
--------------------------------------------------------

원래는 OK만 네번 나왔는데...

/etc/exports의 내용은 다음과 같구요...
--------------------------------------------------------
/mnt/nfs 192.168.12.1(rw,no_root_squash)
--------------------------------------------------------

타겟보드(hybus xhyper270-tku)에서 마운트 시키면 다음과 같습니다.
--------------------------------------------------------
[root@xhyper /]# mount -t nfs 192.168.12.24:/mnt/nfs /nfs
mount: RPC: Unable to receive; errno = Connection refusednfs warning: mount version newer than kernel

mount: nfsmount failed: Bad file descriptor
gss_create: Pseudoflavor 2595046 not found!<6>RPC: Couldn't create auth handle (flavor 2595046)
NFS: cannot create RPC client.
mount: Mounting 192.168.12.24:/mnt/nfs on /nfs failed: Cannot allocate memory
--------------------------------------------------------

os는 fedora linux 2.6.17 입니다.

어떻게 하면 다시 nfs를 쓸수 있나요?? ㅠㅠ

ydhoney의 이미지

커널 컴파일 하실때 nfs3/nfs4 에 대한 옵션들을 죄다 꺼놓으신게 아닐까 싶은데요 -_-

아니면 컴파일중 뭔가 불량해서 nfs가 써야 할 메모리 주소(혹은 cpu쪽의 주소?)가 개쫑난것 같네요.

우선 문제 해결방법으로 보자면 다른 리눅스 시스템이 있다면 타겟 보드에서 다른 리눅스 시스템의 nfs 서빙을 제대로 받아오는지를 확인하시구요.

그 다음에는 현재 돌리고 계신 nfs 서버는 냅두고 다른 리눅스 서버에서 해당 nfs 서버를 마운트 해 보세요.

그러면 양쪽 중 어디가 문제인지가 확인이 되겠지요? 그 다음에 다시 이 곳에 해당 내용을 기재해주시면 누군가가(어디선가 누군가에 무슨 일이 생기면..응? =_=) 나타나서 짱가~ 하고 소리지른 다음에(......) 답변을 남겨주실것이라고 봅니다.

그러니까 이제 다음에 결과 올라온 다음에 답변 남기는 사람은 짱가~ 하고 소리지르기..

=3=33

==
어디가 위고 어디가 아래여..

gbkwon의 이미지

export 옵션에 async나 sync 를 추가 시켜 주시면 위의 경고 메세지는 안나오리라 봅니다.

개인적으로 async 를 추천 합니다.

그리고 warning: mount version newer than kernel 메세지는 커널의 nfs 랑 mount 명령어의 nfs 가 서로 맞지 않을때

나오는 메세지라 보여 집니다. mount 를 최신버전 변경 해서 테스트 해보세요.

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.