Editing Growpart

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
 
{{lc}}
 
{{lc}}
<code>[[growpart]]</code> [[extend]] a [[partition]] in a partition table to fill available space. It is included in <code>[[cloud-guest-utils]]</code> package.
+
<code>[[growpart]]</code> extend a [[partition]] in a partition table to fill available space. It is included in <code>[[cloud-guest-utils]]</code> package.
 
* Man page: http://manpages.ubuntu.com/manpages/hirsute/man1/growpart.1.html
 
* Man page: http://manpages.ubuntu.com/manpages/hirsute/man1/growpart.1.html
  
Line 23: Line 23:
 
  FAILED: failed to dump sfdisk info for /dev/nvme1n1
 
  FAILED: failed to dump sfdisk info for /dev/nvme1n1
  
  growpart [[/dev/root]] 1
+
  growpart /dev/root 1
 
  WARN: unknown label
 
  WARN: unknown label
 
  failed [sfd_dump:1] sfdisk --unit=S --dump /dev/root
 
  failed [sfd_dump:1] sfdisk --unit=S --dump /dev/root
 
  sfdisk: /dev/root: does not contain a recognized partition table
 
  sfdisk: /dev/root: does not contain a recognized partition table
 
  FAILED: failed to dump [[sfdisk]] info for /dev/root
 
  FAILED: failed to dump [[sfdisk]] info for /dev/root
Solution:
 
growpart [[/dev/nvme0n1]] 1
 
CHANGED: partition=1 start=227328 old: size=16549855 end=16777182 new: size=104630239 end=104857566
 
  
  
[[growpart /dev/nvme0n1 1]]
 
failed [sfd_list:1] [[sfdisk --list]] --unit=S /dev/nvme0n1
 
FAILED: failed: sfdisk --list /dev/nvme0n1
 
 
 
growpart /dev/nvme0n1p1
 
/usr/bin/growpart: line 112: cannot create temp file for here-document: [[No space left on device]]
 
[[must supply partition-number]]
 
  
  
Line 50: Line 39:
  
 
== See also ==
 
== See also ==
* {{sfdisk}}
 
 
* {{Partition}}
 
* {{Partition}}
 
* {{Block}}
 
* {{Block}}

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: