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
449 Stars 24 Forks Other 38 Commits 7 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

# 953
Go
gRPC
2fa
oauth2
31 commits
# 64,085
Shell
data-ma...
c-plus-...
Markdow...
1 commit
# 413,884
Shell
JavaScr...
elastic...
mbr
1 commit
# 133,245
Go
btrfs
gRPC
Objecti...
1 commit
# 61,823
Haskell
rogue
access-...
node
1 commit
# 17,582
Go
angular...
HTML
k8s-sta...
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.