Created
January 25, 2022 18:48
-
-
Save tfmeneses/307342ce0cc80c2a8f5610b3c8c2adb4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lsblk #find loop(X) swift | |
losetup /dev/loop0 #find the swiftloopback directory | |
blkid #confirm ext4 or xfs file system | |
dd if=/dev/zero bs=1MiB of=/srv/loopback-device/swiftloopback conv=notrunc oflag=append count=XXXXX # XXXX new size in megabytes | |
losetup -c /dev/loop0 | |
resize2fs /dev/loop0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment