samba로 윈도우 폴더 공유시에...

이홍석의 이미지

안녕하세요..

리눅스 초보입니다.... wmware를 사용하고 있습니다.

smbclient //윈도우서버/공유폴더 <== 이렇게 하면

smb: > 이런 프롬프트 상에서 test.txt란 파일이 있습니다..

test.txt 는 윈도우 탐색기에서 공유폴더에 카피해놓은 파일이고요...

이것을 리눅스의 /root/test 에 옮기고 싶은데 잘 안되네요..

help를 보니 몇가지 명령이 있는듯 한데...

smbmout //윈도우서버/공유폴더 /root/test <== 이렇게
하면 /root/test 폴더가 마운트 되야 하는거 아닌가요?

위에처럼 하면
ERROR: smbfs filesystem not supported by the kernel
Please refer to the smbmnt(8) manual page
smbmnt failed: 255

이런 에러가 나오네요....

답변좀 부탁드립니다..

감사합니다...

codebank의 이미지

smbfs는 연결을 시키기위한 파일시스템종류입니다.
위와 같은 에러가 발생을하는 원인을 현재 커널에서 해당 파일 시스템을 포함시키지
않고 컴파일을 한경우입니다.
만일 배포판에서 배포하는 커널을 그대로 사용한다면 modprobe를 이용해서 smbfs를
메모리에 올려서 다시한번 연결을 시도해보시기 바랍니다.
커널을 직접 컴파일해서 사용한다면 File Systems부분에서 smbfs와 fat32등의
파일 시스템을 포함(또는 모듈)시켜서 컴파일하고 바뀐 커널로 부팅을 해야만 합니다.

기본적인 SAMBA에 관련된 내용은 아래문서를 참고하시고
http://wiki.kldp.org/wiki.php/LinuxdocSgml/SMB-HOWTO
좀더 자세한 내용은
http://us1.samba.org/samba/
을 참조하시기 바랍니다.

------------------------------
좋은 하루 되세요.

incarnate의 이미지

각 배포판 마다 다를 수 있겠지만 전 이렇게 하고 쓰고 있습니다.

smbmount \\\\컴퓨터(ms-windows)이름\\공유폴더 /원하는디렉토리(linux)

※ \\가 아닌 \\\\, \가 아닌\\로 입력하셔야 합니다.

이렇게 하면 암호를 입력하라고 나옵니다.

ms-windows의 administrator 암호가 없을시 그냥 enter를 치면 바로 공유 됩니다.

도움이 되셨길 바랍니다.

먹고 죽자~

댓글 달기

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