Change volume type from MSDOS to GPT

March 18, 2009 – 21:08 by Hannes Van de Vel

To use a volume larger than 2GB it needs the GPT volume label in stead of MSDOS. I used this with Openfiler 2.3.

You can change it like this. THIS REMOVES ALL DATA!

parted /dev/sdb
mklabel GPT
quit

Check:

parted /dev/sdb print
Disk geometry for /dev/sdb: 0.000-2000000.000 megabytes
Disk label type: gpt
Minor    Start       End     Filesystem  Name                  Flags
1          0.017    100.000
Bookmark and Share
  1. One Response to “Change volume type from MSDOS to GPT”

  2. You have not idea.

    If start of new partition (mpt) is bigger than the start of partition (msdos) you already have, you’ll lost all data, if is equal or smaller, you don’t loose anything.

    By sysadmin on Mar 31, 2009

Post a Comment