Using GPT partitions with SLES9
All, I am trying to create an install profile for a system with >2TB disk (a raid array). Can anyone tell me how I can specify a disk be partitioned using GPT instead of the standard partitioning scheme? I have no problem setting up the disk using parted, but I have yet to see anything close to this in the documentation or list archives. Thanks in advance. -- Jeremy Silver Jeremy-list@broadware.com
On Thursday 18 May 2006 03:11, Jeremy Silver wrote:
I am trying to create an install profile for a system with >2TB disk (a raid array). Can anyone tell me how I can specify a disk be partitioned using GPT instead of the standard partitioning scheme?
you have to set the disk label to "gpt". For example via parted: parted /dev/hdx mklabel gpt I've never tried that though but our storage expert told me that. Actually that's not autoyast related. It's the same for a manual installation. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
On Thu, 2006-05-18 at 16:24 +0200, Uwe Gansert wrote:
On Thursday 18 May 2006 03:11, Jeremy Silver wrote:
I am trying to create an install profile for a system with >2TB disk (a raid array). Can anyone tell me how I can specify a disk be partitioned using GPT instead of the standard partitioning scheme?
you have to set the disk label to "gpt". For example via parted: parted /dev/hdx mklabel gpt I've never tried that though but our storage expert told me that. Actually that's not autoyast related. It's the same for a manual installation.
-- ciao, Uwe Gansert
Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
Thanks for the response, but I think I was a bit unclear. I am trying to create an autoyast profile to partition a >2TB disk with a single partition. In my normal profiles I partition a disk with: <partitioning config:type="list"> <drive> <partitions config:type="list"> <partition> <mount>/</mount> <size>10gb</size> <filesystem config:type="symbol">reiser</filesystem> <partition_type>primary</partition_type> </partition> <partition> <mount>swap</mount> <size>1gb</size> <partition_type>primary</partition_type> </partition> <partition> <mount>/media0</mount> <size>max</size> <filesystem config:type="symbol">xfs</filesystem> </partition> </partitions> <use>all</use> </drive> </partitioning> What I am wondering is whether autoyast will create a partition >2TB if I use the above scheme, or if I need to add a partition_id or other parameter? Unfortunately I don't have the hardware yet, and will only have a day to work on them once they arrive, so I am trying to get as far as possible in advanced and avoid a lot of manual work. Thanks again,
On Thursday 18 May 2006 17:19, Jeremy Silver wrote:
What I am wondering is whether autoyast will create a partition >2TB if I use the above scheme, or if I need to add a partition_id or other parameter?
you don't have to add anything special to the autoyast profile. The disk should have the label "gpt". It's not an autoyast thing but more a thing of the underlying storage library that (auto)yast uses. If you can create such a huge partition during a manual installation, it should work with autoyast too. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
On Thu, 2006-05-18 at 17:45 +0200, Uwe Gansert wrote:
On Thursday 18 May 2006 17:19, Jeremy Silver wrote:
What I am wondering is whether autoyast will create a partition >2TB if I use the above scheme, or if I need to add a partition_id or other parameter?
you don't have to add anything special to the autoyast profile. The disk should have the label "gpt". It's not an autoyast thing but more a thing of the underlying storage library that (auto)yast uses. If you can create such a huge partition during a manual installation, it should work with autoyast too.
-- ciao, Uwe Gansert
Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
Excellent, thanks Uwe. I guess I had assumed autoyast would not be that smart and I am glad I was wrong. Thanks again.
participants (2)
-
Jeremy Silver
-
Uwe Gansert