LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   can't get rid of GPT disk label (https://www.linuxquestions.org/questions/linux-general-1/cant-get-rid-of-gpt-disk-label-729209/)

Wavebourn 03-31-2013 10:03 PM

fdisk -l gives size, dvide it bt 512 and take off 1.

Thanks for the thread, I myself stepped on the same GPT rakes today.

vrazumihin 02-05-2017 05:24 AM

This old thread saved me tonight.

FWIW, this is a rhel 7.3 machine, so perhaps things have changed some, but I was able to just blank out the gpt label at the beginning of the disk. I never looked at the end. pvcreate ran happily after
Code:

dd if=/dev/zero of=/dev/emcpowere bs=512 count=1


All times are GMT -5. The time now is 06:25 AM.