umount 시 시스템 다운...

무혼인형의 이미지

16MB Disk on module 플레시롬을 이용해서 라우터를 구성하고 있습니다.
initrd 를 이용해서 램디스크로 부팅을 하고.. 램디스크 자체는 ext2 파일 시스템을 사용하고 있습니다.

설정내용을.. 다음과 같은 스크립트를 이용해서 저장하고 있습니다.

#!/bin/bash

mount /dev/hda1 /mnt

cp /etc/hostname /mnt/etc/
cp /usr/local/sbin/* /mnt/sbin/
... ...

umount /mnt

문제는 umount 하는 순간 시스템이 다운이 되어 버립니다.

원인이 무엇인지 짐작할 수 있을만한게 있을까요.. 화면과 터미널 등에 아무런 메시지도 나오지 않고 다운되네요. :(
네트웍 트레픽이 많을때.. 주로 그러지만.. 거의 없을때도 죽을(! )떄가 있어서 저로서는 경우를 가늠하기 힘드네요..

파일시스템을 바꾸면 해결 할 수 있을까요? ext2는 따로 설정 안해주니 22번 마운트 할 때 마다 fsck 하라고 나와서 귀찮(? ) 네요..

무혼인형의 이미지

질문을 올린지 2달이 지나고 있습니다.. 하하 8)

나름대로 답을 찾아가고 있는데.. 원인은 메인보드의 칩셋인거 같네요..

100여개의 장비 중에 20개 정도가 VIA의 칩셋이 들어가 있는데.. 그 장비들에서만 위와 같은 증상을 내는걸로 보여집니다.

확실한것은 분해 해봐야 알겠지만요 :wink:

익명 사용자의 이미지

#!/bin/bash

mount /dev/hda1 /mnt

cp /etc/hostname /mnt/etc/
cp /usr/local/sbin/* /mnt/sbin/
... ...

umount /mnt

umount 실행전에 "sync" 를 한번 수행해보셔도 그러는지요?

무혼인형의 이미지

minzkn wrote:
umount 실행전에 "sync" 를 한번 수행해보셔도 그러는지요?

sync를 넣지 않아서 해보지는 못했지만..
문제는 언마운트 하는 "그 순간" 에서만 에러나는 건 아니더군요. :roll:
쉘로 실행시키지 않고.. 직접 명령을 입력 해서 천천히 해보니까..
불규칙 하더라구요...

댓글 달기

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