Need help with embiggen-disk?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

bradfitz
439 Stars 23 Forks Other 38 Commits 5 Opened issues

Description

embiggden-disk live-resizes a filesystem after first live-resizing any necessary layers below it: an optional LVM LV and PV, and an MBR or GPT partition table

Services available

!
?

Need anything else?

Contributors list

# 940
Go
gRPC
2fa
oauth2
31 commits
# 63,466
Shell
data-ma...
c-plus-...
Markdow...
1 commit
# 427,144
Linux
CSS
elastic...
golang
1 commit
# 124,691
C
btrfs
gRPC
Objecti...
1 commit
# 59,034
Haskell
rogue
access-...
Shell
1 commit
# 16,709
Go
Kuberne...
angular...
HTML
1 commit

embiggen-disk

The embiggen-disk tool live-resizes a filesystem after first live-resizing any necessary layers below it: an optional LVM LV and PV, and an MBR or GPT partition table.

Example

# embiggen-disk /
Changes made:
  * partition /dev/sda3: before: 8442546176 sectors, after: 8444643328 sectors
  * LVM PV /dev/sda3: before: sectors=8442544128, after: sectors=8444641280
  * LVM LV /dev/mapper/debvg-root: before: sectors=8442544128, after: sectors=8444641280
  * ext4 filesystem at /: before: 1038833256 blocks, after: 1039091312 blocks

Then again:

# embiggen-disk /
No changes made.

Installing

With Go 1.15 and earlier:

$ go get github.com/bradfitz/embiggen-disk

With Go 1.16+:

$ go install github.com/bradfitz/[email protected]

Requirements

It's only been tested on 64-bit x86 Linux ("amd64"). It should work on other Linux architectures.

Disclaimer

Audit the code and/or snapshot your disk before use if you're worried about losing data.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.