GNU Parted 문의드립니다.

j92music의 이미지

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 파일은 어디에도 없네요... 답변에 미리 감사드립니다.

dg의 이미지

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

j92music의 이미지

답글 감사드립니다 ㅠ_ㅜ

김정균의 이미지

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

j92music의 이미지

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

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

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

댓글 달기

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