When "mklabel" subcommand of "parted" command is executed, is the information after the 16th block from the top of a disk rewritten by this command?

Solution Verified - Updated -

Issue

  • When "mklabel" subcommand of "parted" command is executed, is the information after the 16th block from the top of a disk rewritten by this command?

  • Following warning message is output from parted command:

$ parted /dev/sdi
GNU Parted 2.1
Using /dev/sdi
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel gpt
Warning: The existing disk label on /dev/sdi will be destroyed and all data on 
this disk will be lost. Do you want to continue?
Yes/No?
  • However, by renewal of the label information, will all data of the disk be really destroyed?

Environment

  • Red Hat Enterprise Linux 6
  • parted-2.1-19.el6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.