Can GNU parted create a partition of the maximum possible size?

Solution Verified - Updated -

Issue

  • In a script parted should be used to create a partition of the maximal size the underlying block device allows.
  • This should be used in scripts so should not require user interaction.

Environment

  • Linux
  • Shell script using GNU parted

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.