Skip to main content

GPT partition on multipathed disk

A new gpt partition can be created on multipathed disk with the following command

# parted -s /dev/mapper/mpath1 -mklabel gpt mkpart primary ext3 0 -1


Popular posts from this blog

Find and replace with sed command in Linux

Find and replace feature is always handy. It can turn into a torture when it comes to change or delete a simple constant string in a text file. There is a handy tool in linux for doing these kind of tihngs. Actually sed is not a text editor but it is used outside of the text file to make changes.