ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] GPT
@ 2010-12-13 13:53 Oleg
  2010-12-13 14:02 ` Igor Zubkov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Oleg @ 2010-12-13 13:53 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

  Добрый день!


Ставлю на сервер с массивами 12Тб и 2 Тб server-light 1.1.1-20101123 x86-64
Инсталлер разбивает больший массив GPT.
После загрузки rpm -qa | grep disk и man -k disk говорят, что в системе 
fdisk и sfdisk
Оба говорят, что не работают с GPT
Ставлю gdisk и parted
gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.6.11

Unsupported GPT version in main header; read 0x00010200, should be
0x00010000
Unsupported GPT version in backup header; read 0x00010200, should be
0x00010000
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: not present

Creating new GPT entries.
Disk /dev/sda: 23429361664 sectors, 10.9 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 30B51C80-409D-4022-B844-8AF1EA73843A
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 23429361630
Partitions will be aligned on 2048-sector boundaries
Total free space is 23429361597 sectors (10.9 TiB)

parted -l /dev/sda
Error: Both the primary and backup GPT tables are corrupt. Try making a 
fresh
table, and using Parted's rescue feature to recover partitions.


Подскажите, пожалуйста, кто разбивает в инсталлере и как управлять дисками?

--
С уважением,
Олег


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Sysadmins] GPT
  2010-12-13 13:53 [Sysadmins] GPT Oleg
@ 2010-12-13 14:02 ` Igor Zubkov
  2010-12-13 14:33 ` Konstantin Pavlov
  2010-12-13 14:59 ` Anton Farygin
  2 siblings, 0 replies; 6+ messages in thread
From: Igor Zubkov @ 2010-12-13 14:02 UTC (permalink / raw)
  To: ALT Linux sysadmins' discussion

2010/12/13 Oleg:
>  Добрый день!
>
>
> Ставлю на сервер с массивами 12Тб и 2 Тб server-light 1.1.1-20101123 x86-64
> Инсталлер разбивает больший массив GPT.

Вот в этом наверно и проблема. Три года назад я ставил альт на железку
с gpt путём загрузки с livecd с gparted, разбивал на диски и только
потом брал установщик и ставил уже на готове разделы. Я так понимаю,
что за три года ничего не изменилось. :)

P.S.: если что железо не серверное. это был мой macbook pro.

-- 
Igor Zubkov
http://hi.im/ice

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Sysadmins] GPT
  2010-12-13 13:53 [Sysadmins] GPT Oleg
  2010-12-13 14:02 ` Igor Zubkov
@ 2010-12-13 14:33 ` Konstantin Pavlov
  2010-12-13 14:59 ` Anton Farygin
  2 siblings, 0 replies; 6+ messages in thread
From: Konstantin Pavlov @ 2010-12-13 14:33 UTC (permalink / raw)
  To: sysadmins

On Mon, Dec 13, 2010 at 04:53:10PM +0300, Oleg wrote:
>   Добрый день!
> 
> 
> Ставлю на сервер с массивами 12Тб и 2 Тб server-light 1.1.1-20101123 x86-64
> Инсталлер разбивает больший массив GPT.
> После загрузки rpm -qa | grep disk и man -k disk говорят, что в системе 
> fdisk и sfdisk
> Оба говорят, что не работают с GPT
> Ставлю gdisk и parted
> gdisk -l /dev/sda
> GPT fdisk (gdisk) version 0.6.11
> 
> Unsupported GPT version in main header; read 0x00010200, should be
> 0x00010000
> Unsupported GPT version in backup header; read 0x00010200, should be
> 0x00010000
> Partition table scan:
> MBR: protective
> BSD: not present
> APM: not present
> GPT: not present
> 
> Creating new GPT entries.
> Disk /dev/sda: 23429361664 sectors, 10.9 TiB
> Logical sector size: 512 bytes
> Disk identifier (GUID): 30B51C80-409D-4022-B844-8AF1EA73843A
> Partition table holds up to 128 entries
> First usable sector is 34, last usable sector is 23429361630
> Partitions will be aligned on 2048-sector boundaries
> Total free space is 23429361597 sectors (10.9 TiB)
> 
> parted -l /dev/sda
> Error: Both the primary and backup GPT tables are corrupt. Try making a 
> fresh
> table, and using Parted's rescue feature to recover partitions.
> 
> 
> Подскажите, пожалуйста, кто разбивает в инсталлере

evms, наверно

> и как управлять дисками?

натяните поверх них LVM и не парьтесь

-- 
Konstantin Pavlov
VideoLAN team


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Sysadmins] GPT
  2010-12-13 13:53 [Sysadmins] GPT Oleg
  2010-12-13 14:02 ` Igor Zubkov
  2010-12-13 14:33 ` Konstantin Pavlov
@ 2010-12-13 14:59 ` Anton Farygin
  2010-12-13 15:45   ` Igor Zubkov
  2 siblings, 1 reply; 6+ messages in thread
From: Anton Farygin @ 2010-12-13 14:59 UTC (permalink / raw)
  To: sysadmins

13.12.2010 16:53, Oleg пишет:
> Добрый день!
>
>
> Ставлю на сервер с массивами 12Тб и 2 Тб server-light 1.1.1-20101123 x86-64
> Инсталлер разбивает больший массив GPT.
> После загрузки rpm -qa | grep disk и man -k disk говорят, что в системе
> fdisk и sfdisk
> Оба говорят, что не работают с GPT
> Ставлю gdisk и parted
> gdisk -l /dev/sda
> GPT fdisk (gdisk) version 0.6.11
>
> Unsupported GPT version in main header; read 0x00010200, should be
> 0x00010000
> Unsupported GPT version in backup header; read 0x00010200, should be
> 0x00010000
> Partition table scan:
> MBR: protective
> BSD: not present
> APM: not present
> GPT: not present
>
> Creating new GPT entries.
> Disk /dev/sda: 23429361664 sectors, 10.9 TiB
> Logical sector size: 512 bytes
> Disk identifier (GUID): 30B51C80-409D-4022-B844-8AF1EA73843A
> Partition table holds up to 128 entries
> First usable sector is 34, last usable sector is 23429361630
> Partitions will be aligned on 2048-sector boundaries
> Total free space is 23429361597 sectors (10.9 TiB)
>
> parted -l /dev/sda
> Error: Both the primary and backup GPT tables are corrupt. Try making a
> fresh
> table, and using Parted's rescue feature to recover partitions.
>
>
> Подскажите, пожалуйста, кто разбивает в инсталлере и как управлять дисками?
>

В инсталлере дисками управляет libevms.
Про то, что она создаёт несовместимые с gparted таблицы - известно, по 
моему я даже в bugzilla что-то вешал.

При этом libevms читает прекрасно таблицы, созданные parted'ом...

Стандартная рекомендация - использовать LVM и не заморачиваться.

Ну или найти ту самую багу на libevms и пожаловаться мейнтейнеру ещё.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Sysadmins] GPT
  2010-12-13 14:59 ` Anton Farygin
@ 2010-12-13 15:45   ` Igor Zubkov
  2010-12-14  7:01     ` Oleg
  0 siblings, 1 reply; 6+ messages in thread
From: Igor Zubkov @ 2010-12-13 15:45 UTC (permalink / raw)
  To: ALT Linux sysadmins' discussion

2010/12/13 Anton Farygin:
> 13.12.2010 16:53, Oleg пишет:
>>
>> Добрый день!
>>
>>
>> Ставлю на сервер с массивами 12Тб и 2 Тб server-light 1.1.1-20101123
>> x86-64
>> Инсталлер разбивает больший массив GPT.
>> После загрузки rpm -qa | grep disk и man -k disk говорят, что в системе
>> fdisk и sfdisk
>> Оба говорят, что не работают с GPT
>> Ставлю gdisk и parted
>> gdisk -l /dev/sda
>> GPT fdisk (gdisk) version 0.6.11
>>
>> Unsupported GPT version in main header; read 0x00010200, should be
>> 0x00010000
>> Unsupported GPT version in backup header; read 0x00010200, should be
>> 0x00010000
>> Partition table scan:
>> MBR: protective
>> BSD: not present
>> APM: not present
>> GPT: not present
>>
>> Creating new GPT entries.
>> Disk /dev/sda: 23429361664 sectors, 10.9 TiB
>> Logical sector size: 512 bytes
>> Disk identifier (GUID): 30B51C80-409D-4022-B844-8AF1EA73843A
>> Partition table holds up to 128 entries
>> First usable sector is 34, last usable sector is 23429361630
>> Partitions will be aligned on 2048-sector boundaries
>> Total free space is 23429361597 sectors (10.9 TiB)
>>
>> parted -l /dev/sda
>> Error: Both the primary and backup GPT tables are corrupt. Try making a
>> fresh
>> table, and using Parted's rescue feature to recover partitions.
>>
>>
>> Подскажите, пожалуйста, кто разбивает в инсталлере и как управлять
>> дисками?
>>
>
> В инсталлере дисками управляет libevms.
> Про то, что она создаёт несовместимые с gparted таблицы - известно, по моему
> я даже в bugzilla что-то вешал.
>
> При этом libevms читает прекрасно таблицы, созданные parted'ом...
>
> Стандартная рекомендация - использовать LVM и не заморачиваться.
>
> Ну или найти ту самую багу на libevms и пожаловаться мейнтейнеру ещё.

https://bugzilla.altlinux.org/show_bug.cgi?id=24675

-- 
Igor Zubkov
http://hi.im/ice

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Sysadmins] GPT
  2010-12-13 15:45   ` Igor Zubkov
@ 2010-12-14  7:01     ` Oleg
  0 siblings, 0 replies; 6+ messages in thread
From: Oleg @ 2010-12-14  7:01 UTC (permalink / raw)
  To: ALT Linux sysadmins' discussion

  On 12/13/2010 06:45 PM, Igor Zubkov wrote:
> 2010/12/13 Anton Farygin:
>> 13.12.2010 16:53, Oleg пишет:
>>> Добрый день!
>>>
>>>
>>> Ставлю на сервер с массивами 12Тб и 2 Тб server-light 1.1.1-20101123
>>> x86-64
>>> Инсталлер разбивает больший массив GPT.
>>> После загрузки rpm -qa | grep disk и man -k disk говорят, что в системе
>>> fdisk и sfdisk
>>> Оба говорят, что не работают с GPT
>>> Ставлю gdisk и parted
>>> gdisk -l /dev/sda
>>> GPT fdisk (gdisk) version 0.6.11
>>>
>>> Unsupported GPT version in main header; read 0x00010200, should be
>>> 0x00010000
>>> Unsupported GPT version in backup header; read 0x00010200, should be
>>> 0x00010000
>>> Partition table scan:
>>> MBR: protective
>>> BSD: not present
>>> APM: not present
>>> GPT: not present
>>>
>>> Creating new GPT entries.
>>> Disk /dev/sda: 23429361664 sectors, 10.9 TiB
>>> Logical sector size: 512 bytes
>>> Disk identifier (GUID): 30B51C80-409D-4022-B844-8AF1EA73843A
>>> Partition table holds up to 128 entries
>>> First usable sector is 34, last usable sector is 23429361630
>>> Partitions will be aligned on 2048-sector boundaries
>>> Total free space is 23429361597 sectors (10.9 TiB)
>>>
>>> parted -l /dev/sda
>>> Error: Both the primary and backup GPT tables are corrupt. Try making a
>>> fresh
>>> table, and using Parted's rescue feature to recover partitions.
>>>
>>>
>>> Подскажите, пожалуйста, кто разбивает в инсталлере и как управлять
>>> дисками?
>>>
>> В инсталлере дисками управляет libevms.
>> Про то, что она создаёт несовместимые с gparted таблицы - известно, по моему
>> я даже в bugzilla что-то вешал.
>>
>> При этом libevms читает прекрасно таблицы, созданные parted'ом...
>>
>> Стандартная рекомендация - использовать LVM и не заморачиваться.
>>
>> Ну или найти ту самую багу на libevms и пожаловаться мейнтейнеру ещё.
> https://bugzilla.altlinux.org/show_bug.cgi?id=24675
>
Спасибо всем, помогли разобраться. В багзиллу тоже написал.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-12-14  7:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-13 13:53 [Sysadmins] GPT Oleg
2010-12-13 14:02 ` Igor Zubkov
2010-12-13 14:33 ` Konstantin Pavlov
2010-12-13 14:59 ` Anton Farygin
2010-12-13 15:45   ` Igor Zubkov
2010-12-14  7:01     ` Oleg

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git