fuel-dev team mailing list archive
-
fuel-dev team
-
Mailing list archive
-
Message #00747
Re: cleaning partition table
Aleksandr, great. It is much better than what we do at the moment. Will
implement.
Vladimir Kozhukalov
On Thu, Mar 27, 2014 at 1:03 AM, Mike Scherbakov
<mscherbakov@xxxxxxxxxxxx>wrote:
> Andrew, could you please reference a link to this email thread in the bug
> post, and who is the author.
> Aleksandr, thanks for research on this.
>
> Vladimir, you are an expert in this part of Fuel, please take a look on
> this.
>
> On Thursday, March 27, 2014, Andrew Woodward <xarses@xxxxxxxxx> wrote:
>
>> Sounds like a bug to me. Created
>> https://bugs.launchpad.net/fuel/+bug/1298052
>>
>>
>> On Wed, Mar 26, 2014 at 11:42 AM, Andrey Danin <adanin@xxxxxxxxxxxx>wrote:
>>
>>> Thank you.
>>> It seems to be a better way to wipe out previous partitions.
>>>
>>> Guys, should we create a blueprint or bug for that? Low-hanging-fruit?
>>>
>>> As I understand, we will simply modify a couple of lines in a file
>>> https://github.com/stackforge/fuel-library/blob/master/deployment/puppet/cobbler/templates/scripts/pmanager.py
>>>
>>>
>>> On Tue, Mar 25, 2014 at 3:10 AM, Aleksandr Dobdin <
>>> sanek.dobdin@xxxxxxxxx> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I have 2 cents to add in pre-script in a kickstart file.
>>>> Instead of using dd if=/dev/zero of=/dev/sda bs=1M count=10
>>>> we can use the following commands:
>>>> # sgdisk --zap-all /dev/sda
>>>> # parted -s /dev/sda mklabel gpt
>>>>
>>>> from man sgdisk: Zap (destroy) the GPT and MBR data structures and then
>>>> exit. This option works much like -z, but as it wipes the MBR as well as
>>>> the GPT, it's more suitable if you want to repartition a disk after using
>>>> this option
>>>>
>>>> from man parted: mklabel Create a new disklabel (partition table) of
>>>> label-type.
>>>> Thank you.
>>>>
>>>> Best Regards,
>>>> Aleksandr Dobdin.
>>>>
>>>> --
>>>> Mailing list: https://launchpad.net/~fuel-dev
>>>> Post to : fuel-dev@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~fuel-dev
>>>> More help : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> Andrey Danin
>>> adanin@xxxxxxxxxxxx
>>> skype: gcon.monolake
>>>
>>> --
>>> Mailing list: https://launchpad.net/~fuel-dev
>>> Post to : fuel-dev@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~fuel-dev
>>> More help : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Andrew
>> Mirantis
>> Ceph community
>>
>
>
> --
> Mike Scherbakov
> #mihgen
>
>
References