nas4free 에서 zfs로 잡힌 디스크를 다시 잡았더니 자료가 사라졌습니다.

   조회 7290   추천 0    

흑흑흑흑 안녕하세요.

ZFS 로 된 디스크 2개를 pools 이라는 메뉴에서 delete pool을 하고 다시 잡았더니

1테라가 넘는 자료가 아예 사라졌습니다. 흑흑흑흑

mount, unmount 개념으로 지우고 다시 했더니 그게 아니였나 봅니다.

pool을 잡았다 지우고를 2~3번 정도 해버렸습니다. 흑흑흑

pool 만 만들고 지우고 했고 데이터를 넣거나 하진 않았습니다.

다시 살릴수 있는 방법이 없을까요???? 엉엉엉엉

무지가 사람을 잡았습니다. 흑흑흑
짧은글 일수록 신중하게.
2013-02
아무래도 레이드0로 잡으셨을듯한데 복구하기 쉽지않을듯합니다.

콘솔접속이 불가능하시다면 별도의 디스크에 freebsd를 설치하신 뒤 zpool import 명령으로 복원시도를 해 보실 수 있겠습니다.


http://www.2cpu.co.kr/bbs/board.php?bo_table=QnA&wr_id=365378&sca=&sfl=wr_subject&stx=zfs&sop=and

# zpool import -Df ZFSVOL

# man zpool
    zpool import [-o mntopts] [-o property=value] ... [-d dir | -c cachefile]
        [-D] [-f] [-m] [-N] [-R root] [-F [-n]] -a

        Imports all pools found in the search directories. Identical to the
        previous command, except that all pools with a sufficient number of
        devices available are imported. Destroyed pools, pools that were pre-
        viously destroyed with the "zpool destroy" command, will not be
        imported unless the -D option is specified.

        -o mntopts
                Comma-separated list of mount options to use when mounting
                datasets within the pool. See zfs(8) for a description of
                dataset properties and mount options.

        -o property=value
                Sets the specified property on the imported pool. See the
                "Properties" section for more information on the available
                pool properties.

        -c cachefile
                Reads configuration from the given cachefile that was created
                with the "cachefile" pool property. This cachefile is used
                instead of searching for devices.

        -d dir  Searches for devices or files in dir.  The -d option can be
                specified multiple times. This option is incompatible with
                the -c option.

        -D      Imports destroyed pools only. The -f option is also required.

        -f      Forces import, even if the pool appears to be potentially
                active.

        -m      Enables import with missing log devices.

        -N      Do not mount any filesystems from the imported pool.

        -R root
                Sets the "cachefile" property to "none" and the "altroot"
                property to "root"

        -F      Recovery mode for a non-importable pool. Attempt to return
                the pool to an importable state by discarding the last few
                transactions. Not all damaged pools can be recovered by using
                this option. If successful, the data from the discarded
                transactions is irretrievably lost. This option is ignored if
                the pool is importable or already imported.

        -n      Used with the -F recovery option. Determines whether a non-
                importable pool can be made importable again, but does not
                actually perform the pool recovery. For more details about
                pool recovery mode, see the -F option, above.

        -a      Searches for and imports all pools found.
     
오준호 2013-02
답변 감사합니다. 흑흑흑 못살렸습니다. 엉엉엉


QnA
제목Page 3561/5731
2014-05   5268174   정은준1
2015-12   1793189   백메가
2019-10   3155   제라드TN
2011-06   8495   가빠로구나
2015-04   12329   우주제일미남
2016-06   6222   김건우
2019-10   3125   어흥씨
2016-06   8053   Psychophysi…
2013-12   5768   박성만
2017-05   3703   kim덕
2011-07   10097   tualatin
2022-08   2207   씨엔
2024-04   1599   Software1995
2013-12   3700   분당김동수
2018-09   4120   Carolus
2013-12   5901   민규
2015-04   21274   미담
2016-06   8570   eunrabuny
2019-11   2564   굴다리교
2021-02   1965   무쏘뿔처럼
2018-09   5733   민사장
2015-05   4937   jack33