GNU Parted 문의드립니다.

0
points

HDD를 2TB 이상으로 구성하기 위하여 gnu parted-1.8.0을 받아서 설치하였습니다.

2TB 이상하기 위하여 gpt로 구성함에 있어,
연습으로 진행한 250GB HDD는 별무리 없이 잘 진행되었습니다.

그런데 750GB HDD에서 문제가 발생하였습니다.
gpt로 하여 xfs로 750GB 구성하는 것은 되었지만, 250GB에서는 출력되지 않은 오류가 출력되었습니다.

스크립트로 자동으로 넘어가도록 만들어야 하는데 이 오류가 말썽이네요. 내부에 값을 주어도 안되고.. 1.8.7까지 버전업을 해도 마찬가지네요

1.8.8은 gcc 업그레이드 관계로 실험하지 못하였습니다.

오류내용은 다음과 같습니다.

-----------------------------------------------------
GNU Parted 1.8.0
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Backtrace has 9 calls on stack:
9: /lib/libparted-1.8.so.0(ped_assert+0x64) [0xff4a5c8]
8: /lib/libparted-1.8.so.0 [0xffb8e50]
7: /lib/libparted-1.8.so.0 [0xffbbe14]
6: /lib/libparted-1.8.so.0(ped_disk_new+0x110) [0xff51640]
5: parted [0x10007964]
4: parted(command_run+0x30) [0x10004810]
3: parted(interactive_mode+0x154) [0x1000f9fc]
2: parted(main+0xd8) [0x1000b258]
1: /lib/libc.so.6(__libc_start_main+0x194) [0xfd0b768]

You found a bug in GNU Parted! Here's what you have to do:

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (1.8.0)
along with the error message below, the output of

parted DEVICE unit co print unit s print

and additional information about your setup you consider important.

Assertion (last_usable_if_grown > first_usable) at gpt.c:688 in function
_parse_header() failed.

Ignore/Cancel?
-----------------------------------------------------------

여기서 I를 누르면 다음 단계로 잘 넘어갑니다.

위와 같은 에러는 왜 발생하는 것일까요?

gpt.c 파일은 어디에도 없네요... 답변에 미리 감사드립니다.

버그를

1
point

버그를 발견하셨네요.
최신버젼 써보시고 같은 문제가 일어나면 개발자한태 신고하는게 좋겠네요.

그렇군효 ㅠ_ㅜ

0
points

답글 감사드립니다 ㅠ_ㅜ

김정균의 이미지
9736
points

배포본이 어떻게

1
point

배포본이 어떻게 되나요? 요즘 배포본이라면 8T 까지는 fdisk 로도 잡힐텐데요. (물론 RH 계열만 해당 됩니다. 다른 건 써 본적이 없어서..)

유감스럽게도..

1
point

램디스크를 구성하여 임베디드 시스템에 적재하는 것입니다.

위의 에러에서 Ignore/Cancel에서 Ignore하면 2T 이상 구성이 되긴 합니다.

하지만 저 에러로 인하여 스크립트 구성이 되질 않아서 그런것입니다.ㅠ_ㅜ

댓글 보기 옵션

원하시는 댓글 전시 방법을 선택한 다음 "설정 저장"을 누르셔서 적용하십시오.