Use extra VPS storage on Linux: identify the disk layout, grow a supported partition or LVM volume, then extend ext4 or XFS and check the result.
A disk upgrade increases the virtual disk size. Linux may still show the old usable space until you expand the partition and filesystem.
Make a current off-server backup before changing partitions or filesystems. The examples cover ext4 and XFS on a single disk, with or without a simple LVM layout. They do not cover RAID, encrypted volumes or moving partitions.
If the partition already fills the disk, it does not need this step. If Linux cannot reread the partition table, arrange a clean reboot and inspect the result before continuing; do not force repeated writes.
If the physical volume is inside a partition, grow that partition first using its actual number. For example, /dev/vda3 requires growpart -N /dev/vda 3, followed by growpart /dev/vda 3 after checking the preview.Let LVM recognise the larger physical volume:
sudo pvresize /dev/vda3sudo vgs
Substitute your actual physical volume. If the volume group already has enough free space, a partition change and pvresize are unnecessary.Extend the root logical volume by an amount no greater than the group’s free space. This example adds 10 GiB; replace both the amount and logical-volume path:
sudo lvextend -L +10G /dev/VG/ROOT_LV
Then grow the filesystem: for ext4, run sudo resize2fs /dev/VG/ROOT_LV; for XFS mounted at /, run sudo xfs_growfs /. Do not allocate space to a different logical volume by guessing its name.
Do not delete swap, EFI or recovery partitions just to make growpart succeed. Moving partitions requires a separate maintenance and recovery plan. The Linux rescue guide explains how to inspect the disk and recover files; booting rescue media alone does not make a partition move safe.For a layout you cannot safely extend, consider moving your data to a freshly installed VPS with the required disk size, then verifying the new installation before cancelling the old one.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"EDBB Docs","colors":{"primary":"#3857e8","light":"#8da2ff","dark":"#3857e8"},"logo":{"light":"https://mintcdn.com/edbackboneco/GXZDWPUcLpd5fRmb/logo/EDBB_dark.svg?fit=max\u0026auto=format\u0026n=GXZDWPUcLpd5fRmb\u0026q=85\u0026s=cfa1041d16994b88380da3ff36225dfa","dark":"https://mintcdn.com/edbackboneco/GXZDWPUcLpd5fRmb/logo/EDBB_light.svg?fit=max\u0026auto=format\u0026n=GXZDWPUcLpd5fRmb\u0026q=85\u0026s=497d87296d6e93817ac98a5880bcf553"},"favicon":"https://mintcdn.com/edbackboneco/GXZDWPUcLpd5fRmb/favicon.svg?fit=max\u0026auto=format\u0026n=GXZDWPUcLpd5fRmb\u0026q=85\u0026s=27d0302879ec7031fb0dd663889f8e52","navbar":{"links":[{"href":"https://www.edbb.com/contact","label":"Support"},{"href":"https://status.edis.global/","label":"Status"},{"href":"https://blog.edbb.com","label":"Blog"}],"primary":{"type":"button","label":"Control Panel","href":"https://my.edbb.com/clientarea.php"}},"footer":{"socials":{"x":"https://x.com/edbb_vps"}},"seo":{"indexing":"navigable"},"styling":{"codeblocks":"system","latex":false},"integrations":{"intercom":{"appId":"mh511doa"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","cursor","vscode"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Buy VPS Hosting","icon":"cloud","href":"https://www.edbb.com/#start-now"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"edbackboneco","hasAudioNarration":false,"actualSubdomain":"edbackboneco","customDomains":["docs.edbb.com"],"gitSource":{"type":"github","owner":"edbb-docs","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{},"buildId":"6af632da7fc6995f7dea4021","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"Documentation","count":114},{"language":"default","tag":"IP addresses and DNS","count":24},{"language":"default","tag":"Billing and payments","count":18},{"language":"default","tag":"Manage your VPS","count":14},{"language":"default","tag":"Getting started","count":11},{"language":"default","tag":"Upgrades and locations","count":11},{"language":"default","tag":"Policies and abuse","count":8},{"language":"default","tag":"Cancellation and account","count":7},{"language":"default","tag":"Troubleshooting","count":7},{"language":"default","tag":"Advanced guides","count":5}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":""}],"page":{"pagePath":"advanced-setup-guides/resize-linux-disk","slug":"/advanced-setup-guides/resize-linux-disk","pageMetadata":{"title":"Expand a Linux filesystem after a disk upgrade","sidebarTitle":"Resize Linux disk","description":"Use extra VPS storage on Linux: identify the disk layout, grow a supported partition or LVM volume, then extend ext4 or XFS and check the result.","href":"/advanced-setup-guides/resize-linux-disk"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Use extra VPS storage on Linux: identify the disk layout, grow a supported partition or LVM volume, then extend ext4 or XFS and check the result.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tab,Table,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`A disk upgrade increases the virtual disk size. Linux may still show the old usable space until you expand the partition and filesystem.`}),`\n`,_jsx(`span`,{id:`important-notice-risks-associated-with-resizing-disk-space`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Make a current off-server backup before changing partitions or filesystems. The examples cover ext4 and XFS on a single disk, with or without a simple LVM layout. They do not cover RAID, encrypted volumes or moving partitions.`})}),`\n`,_jsx(`span`,{id:`access-the-edbb-vps-control-panel`}),`\n`,_jsx(`span`,{id:`launch-novnc`}),`\n`,_jsx(`span`,{id:`inspect-the-existing-layout`}),`\n`,_jsx(Heading,{level:`2`,id:`1-check-the-disk-and-filesystem`,children:`1. Check the disk and filesystem`}),`\n`,_jsxs(_components.p,{children:[`Follow the upgrade’s `,_jsx(_components.a,{href:`/vps-management/power-cycle-or-reboot-a-vps`,children:`power-cycle instructions`}),` and keep the `,_jsx(_components.a,{href:`/vps-management/enable-vnc-server`,children:`VNC console`}),` open. Run:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`findmnt`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -no`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` SOURCE,FSTYPE`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lsblk`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -o`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` NAME,SIZE,TYPE,FSTYPE,MOUNTPOINTS`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`df`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -hT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Check that the `,_jsx(_components.strong,{children:`whole disk`}),` shows the upgraded capacity. Then identify the root filesystem:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Layout`}),_jsx(_components.th,{children:`Next step`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Root on a plain partition, such as `,_jsx(_components.code,{children:`/dev/vda1`})]}),_jsx(_components.td,{children:`Expand that partition if there is free space immediately after it, then expand the filesystem.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Root on an LVM logical volume`}),_jsx(_components.td,{children:`Inspect the physical volume and free space, then use the LVM steps below.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Swap, EFI or another partition sits after the partition you want to grow`}),_jsx(_components.td,{children:`Stop. The free space is not adjacent; do not delete the other partition.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Filesystem occupies the whole disk with no partition`}),_jsxs(_components.td,{children:[`Do not run `,_jsx(_components.code,{children:`growpart`}),`; use a procedure for that layout.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`RAID, encryption, an unfamiliar filesystem or unclear device names`}),_jsx(_components.td,{children:`Get a layout-specific procedure before continuing.`})]})]})]}),`\n`,_jsx(`span`,{id:`resize-partition`}),`\n`,_jsx(Heading,{level:`2`,id:`2-expand-a-partition-into-adjacent-free-space`,children:`2. Expand a partition into adjacent free space`}),`\n`,_jsxs(_components.p,{children:[`Install `,_jsx(_components.code,{children:`growpart`}),` if it is missing:`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Debian / Ubuntu`,id:`debian-%2F-ubuntu`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` apt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` apt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cloud-guest-utils`})]}),`\n`]})})})}),_jsx(Tab,{title:`Rocky / AlmaLinux`,id:`rocky-%2F-almalinux`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dnf`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cloud-utils-growpart`})]}),`\n`]})})})})]}),`\n`,_jsxs(_components.p,{children:[`This example is for `,_jsxs(_components.strong,{children:[`partition 1 on `,_jsx(_components.code,{children:`/dev/vda`})]}),`. Use the disk and partition number from your own layout. Preview the change first:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` growpart`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -N`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /dev/vda`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Proceed only if it keeps the partition start unchanged and extends the intended partition into adjacent free space:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` growpart`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /dev/vda`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lsblk`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -o`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` NAME,SIZE,TYPE,FSTYPE,MOUNTPOINTS`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`If the partition already fills the disk, it does not need this step. If Linux cannot reread the partition table, arrange a clean reboot and inspect the result before continuing; do not force repeated writes.`}),`\n`,_jsx(`span`,{id:`expand-a-matching-ext4-layout`}),`\n`,_jsx(Heading,{level:`2`,id:`3-expand-the-filesystem`,children:`3. Expand the filesystem`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Plain ext4`,id:`plain-ext4`,children:[_jsxs(_components.p,{children:[`For an ext4 root filesystem directly on `,_jsx(_components.code,{children:`/dev/vda1`}),`:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` resize2fs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /dev/vda1`})]}),`\n`]})})}),_jsx(_components.p,{children:`Use the actual filesystem device. Do not run this command on XFS or on an LVM physical volume.`})]}),_jsxs(Tab,{title:`Plain XFS`,id:`plain-xfs`,children:[_jsx(_components.p,{children:`XFS grows using its mounted directory. For the root filesystem:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` xfs_growfs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /`})]}),`\n`]})})}),_jsx(_components.p,{children:`The underlying partition must already have the extra space. XFS cannot be shrunk with this command.`})]}),_jsxs(Tab,{title:`LVM with ext4 or XFS`,id:`lvm-with-ext4-or-xfs`,children:[_jsx(_components.p,{children:`Inspect the volume names and free space:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pvs`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` vgs`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` lvs`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -o`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` lv_path,lv_size,vg_name`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`If the physical volume is inside a partition, grow that partition first using its `,_jsx(_components.strong,{children:`actual number`}),`. For example, `,_jsx(_components.code,{children:`/dev/vda3`}),` requires `,_jsx(_components.code,{children:`growpart -N /dev/vda 3`}),`, followed by `,_jsx(_components.code,{children:`growpart /dev/vda 3`}),` after checking the preview.`]}),_jsx(_components.p,{children:`Let LVM recognise the larger physical volume:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pvresize`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /dev/vda3`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` vgs`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Substitute your actual physical volume. If the volume group already has enough free space, a partition change and `,_jsx(_components.code,{children:`pvresize`}),` are unnecessary.`]}),_jsxs(_components.p,{children:[`Extend the root logical volume by an amount no greater than the group’s free space. This example adds `,_jsx(_components.strong,{children:`10 GiB`}),`; replace both the amount and logical-volume path:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` lvextend`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -L`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` +10G`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /dev/VG/ROOT_LV`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Then grow the filesystem: for ext4, run `,_jsx(_components.code,{children:`sudo resize2fs /dev/VG/ROOT_LV`}),`; for XFS mounted at `,_jsx(_components.code,{children:`/`}),`, run `,_jsx(_components.code,{children:`sudo xfs_growfs /`}),`. Do not allocate space to a different logical volume by guessing its name.`]})]})]}),`\n`,_jsx(`span`,{id:`verify`}),`\n`,_jsx(Heading,{level:`2`,id:`4-verify-the-result`,children:`4. Verify the result`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lsblk`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -o`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` NAME,SIZE,TYPE,FSTYPE,MOUNTPOINTS`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`df`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -hT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`df`}),` should show the larger usable filesystem. Check that your applications work and that the system logs contain no storage errors.`]}),`\n`,_jsx(`span`,{id:`identify-the-new-swap-partition`}),`\n`,_jsx(`span`,{id:`mount-system-rescue-cd-and-boot`}),`\n`,_jsx(Heading,{level:`2`,id:`if-another-partition-is-in-the-way`,children:`If another partition is in the way`}),`\n`,_jsxs(_components.p,{children:[`Do not delete swap, EFI or recovery partitions just to make `,_jsx(_components.code,{children:`growpart`}),` succeed. Moving partitions requires a separate maintenance and recovery plan. The `,_jsx(_components.a,{href:`/vps-management/linux-rescue`,children:`Linux rescue guide`}),` explains how to inspect the disk and recover files; booting rescue media alone does not make a partition move safe.`]}),`\n`,_jsx(_components.p,{children:`For a layout you cannot safely extend, consider moving your data to a freshly installed VPS with the required disk size, then verifying the new installation before cancelling the old one.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Expand a Linux filesystem after a disk upgrade","sidebarTitle":"Resize Linux disk","description":"Use extra VPS storage on Linux: identify the disk layout, grow a supported partition or LVM volume, then extend ext4 or XFS and check the result.","href":"/advanced-setup-guides/resize-linux-disk"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"1. Check the disk and filesystem","slug":"1-check-the-disk-and-filesystem","depth":2,"children":[]},{"title":"2. Expand a partition into adjacent free space","slug":"2-expand-a-partition-into-adjacent-free-space","depth":2,"children":[]},{"title":"3. Expand the filesystem","slug":"3-expand-the-filesystem","depth":2,"children":[]},{"title":"4. Verify the result","slug":"4-verify-the-result","depth":2,"children":[]},{"title":"If another partition is in the way","slug":"if-another-partition-is-in-the-way","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"edbackboneco","siteName":"EDBB Docs","title":"Expand a Linux filesystem after a disk upgrade - EDBB Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-28T16:06:56.065Z","originalFileLocation":"advanced-setup-guides/resize-linux-disk.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Use extra VPS storage on Linux: identify the disk layout, grow a supported partition or LVM volume, then extend ext4 or XFS and check the result.\">\u003cmeta data-mint-head name=\"application-name\" content=\"EDBB Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/edbackboneco/DJ9PRfl9Fx8OuZcY/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/edbackboneco/DJ9PRfl9Fx8OuZcY/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/edbackboneco/DJ9PRfl9Fx8OuZcY/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/edbackboneco/DJ9PRfl9Fx8OuZcY/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/edbackboneco/DJ9PRfl9Fx8OuZcY/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/edbackboneco/DJ9PRfl9Fx8OuZcY/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/edbackboneco/DJ9PRfl9Fx8OuZcY/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/edbackboneco/DJ9PRfl9Fx8OuZcY/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/edbackboneco/DJ9PRfl9Fx8OuZcY/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Expand a Linux filesystem after a disk upgrade - EDBB Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Use extra VPS storage on Linux: identify the disk layout, grow a supported partition or LVM volume, then extend ext4 or XFS and check the result.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"EDBB Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.edbb.com/advanced-setup-guides/resize-linux-disk\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://edbackboneco.mintlify.site/_mintlify/api/og/v2?division=Advanced+guides\u0026amp;title=Expand+a+Linux+filesystem+after+a+disk+upgrade\u0026amp;description=Use+extra+VPS+storage+on+Linux%3A+identify+the+disk+layout%2C+grow+a+supported+partition+or+LVM+volume%2C+then+extend+ext4+or+XFS+and+check+the+result.\u0026amp;theme=d171f5f76c6c80bd9b07a0d2\u0026amp;signature=b8477d4066b87d167c801b924599fdb8fda0a29c3c48d34434b6951c70f8fc16\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Expand a Linux filesystem after a disk upgrade - EDBB Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Use extra VPS storage on Linux: identify the disk layout, grow a supported partition or LVM volume, then extend ext4 or XFS and check the result.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://edbackboneco.mintlify.site/_mintlify/api/og/v2?division=Advanced+guides\u0026amp;title=Expand+a+Linux+filesystem+after+a+disk+upgrade\u0026amp;description=Use+extra+VPS+storage+on+Linux%3A+identify+the+disk+layout%2C+grow+a+supported+partition+or+LVM+volume%2C+then+extend+ext4+or+XFS+and+check+the+result.\u0026amp;theme=d171f5f76c6c80bd9b07a0d2\u0026amp;signature=b8477d4066b87d167c801b924599fdb8fda0a29c3c48d34434b6951c70f8fc16\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/edbackboneco/DJ9PRfl9Fx8OuZcY/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"EDBB Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3857e8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.edbb.com/advanced-setup-guides/resize-linux-disk\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/advanced-setup-guides/resize-linux-disk.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.edbb.com/#organization\",\"name\":\"EDBB Docs\",\"url\":\"https://docs.edbb.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/edbackboneco/GXZDWPUcLpd5fRmb/logo/EDBB_dark.svg?fit=max\u0026auto=format\u0026n=GXZDWPUcLpd5fRmb\u0026q=85\u0026s=cfa1041d16994b88380da3ff36225dfa\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.edbb.com#website\",\"name\":\"EDBB Docs\",\"url\":\"https://docs.edbb.com\",\"publisher\":{\"@id\":\"https://docs.edbb.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.edbb.com/advanced-setup-guides/resize-linux-disk#webpage\",\"url\":\"https://docs.edbb.com/advanced-setup-guides/resize-linux-disk\",\"name\":\"Expand a Linux filesystem after a disk upgrade\",\"description\":\"Use extra VPS storage on Linux: identify the disk layout, grow a supported partition or LVM volume, then extend ext4 or XFS and check the result.\",\"dateModified\":\"2026-09-28T16:06:56.065Z\",\"isPartOf\":{\"@id\":\"https://docs.edbb.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.edbb.com/advanced-setup-guides/resize-linux-disk#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.edbb.com/advanced-setup-guides/resize-linux-disk#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Advanced guides\",\"item\":\"https://docs.edbb.com/advanced-setup-guides/ufw-firewall\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Expand a Linux filesystem after a disk upgrade\",\"item\":\"https://docs.edbb.com/advanced-setup-guides/resize-linux-disk\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.edbb.com/advanced-setup-guides/resize-linux-disk#article\",\"headline\":\"Expand a Linux filesystem after a disk upgrade\",\"name\":\"Expand a Linux filesystem after a disk upgrade\",\"description\":\"Use extra VPS storage on Linux: identify the disk layout, grow a supported partition or LVM volume, then extend ext4 or XFS and check the result.\",\"url\":\"https://docs.edbb.com/advanced-setup-guides/resize-linux-disk\",\"mainEntityOfPage\":{\"@id\":\"https://docs.edbb.com/advanced-setup-guides/resize-linux-disk#webpage\"},\"dateModified\":\"2026-09-28T16:06:56.065Z\",\"publisher\":{\"@id\":\"https://docs.edbb.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.edbb.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"EDBB Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"EDBB Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/advanced-setup-guides/resize-linux-disk.md","siteName":"EDBB Docs","nav":{"global":{"anchors":[{"anchor":"Buy VPS Hosting","icon":"cloud","href":"https://www.edbb.com/#start-now"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Getting started","pages":[{"title":"Get started with your EDBB VPS","sidebarTitle":"Getting started","href":""},{"title":"Everyday EDBB VPS tasks: OS, IPs, billing and upgrades","sidebarTitle":"Common VPS tasks","href":"/getting-started/common-vps-tasks"},{"title":"Check your VPS welcome email","sidebarTitle":"Welcome email","href":"/check-your-inbox"},{"title":"No welcome email? Get access to your VPS","sidebarTitle":"Missing welcome email","href":"/no-email-received"},{"title":"Connect to Linux with SSH","sidebarTitle":"Connect with SSH","href":"/linux-secure-shell-ssh"},{"title":"Windows remote desktop access","sidebarTitle":"Connect with RDP","href":"/windows-remote-desktop"},{"title":"Secure SSH access to your VPS","sidebarTitle":"SSH security","href":"/getting-started/ssh-security-hardening"},{"title":"Back up your VPS","sidebarTitle":"Backups","href":"/backups"},{"title":"Understanding EDBB email notifications","sidebarTitle":"Email notifications","href":"/getting-started/email-notifications"},{"title":"Check infrastructure status","sidebarTitle":"Infrastructure status","href":"/getting-started/infrastructure-status"},{"title":"How EDBB support can help","sidebarTitle":"Contact support","href":"/how-our-support-team-helps-you"}]},{"group":"Manage your VPS","pages":[{"title":"EDBB VPS control panel","sidebarTitle":"Control panel","href":"/vps-management/vps-control-panel"},{"title":"Power cycle or reboot a VPS","sidebarTitle":"Restart and power cycle","href":"/vps-management/power-cycle-or-reboot-a-vps"},{"title":"Reinstall your VPS with Linux or Windows","sidebarTitle":"Reinstall VPS","href":"/vps-management/reinstall-vps"},{"title":"Operating system availability on EDBB","sidebarTitle":"Operating systems","href":"/vps-management/os-availability"},{"title":"Enable VNC on your VPS","sidebarTitle":"VNC console","href":"/vps-management/enable-vnc-server"},{"title":"Reset your Linux root password","sidebarTitle":"Reset root password","href":"/vps-management/reset-root-password"},{"title":"Reset your Windows Administrator password","sidebarTitle":"Reset Windows password","href":"/vps-management/reset-windows-password"},{"title":"Mount an ISO image","sidebarTitle":"Mount ISO","href":"/vps-management/mount-iso-image"},{"title":"Upload a custom ISO image","sidebarTitle":"Custom ISO","href":"/vps-management/bring-your-own-iso"},{"title":"Provision EDBB VPS with Cloud-Init","sidebarTitle":"Cloud-Init","href":"/vps-management/cloud-init-vps-installation"},{"title":"VPS hardware settings explained","sidebarTitle":"Hardware settings","href":"/vps-management/system-configuration-dialog"},{"title":"Boot modes and TPM in VPS","sidebarTitle":"Boot mode and TPM","href":"/vps-management/efi-vs-bios-and-tpm"},{"title":"How to find and use your EDBB Support PIN","sidebarTitle":"Support PIN","href":"/vps-management/your-support-pin"},{"title":"Manage a Windows Server evaluation","sidebarTitle":"Windows evaluation","href":"/misc/windows-server-evaluation"}]},{"group":"Billing and payments","pages":[{"title":"How VPS billing and renewals work","sidebarTitle":"Billing and renewals","href":"/faq/billing-lifecycle/billing-workflow"},{"title":"Scheduled billing window","sidebarTitle":"Billing window","href":"/faq/billing-lifecycle/scheduled-billing-window"},{"title":"When will my VPS be ready?","sidebarTitle":"Provisioning time","href":"/faq/billing-lifecycle/provisioning-time"},{"title":"Which payment methods does EDBB accept?","sidebarTitle":"Payment methods","href":"/faq/billing-lifecycle/accepted-payment-methods"},{"title":"Find and download your invoices","sidebarTitle":"Download invoices","href":"/faq/billing-lifecycle/find-and-download-invoices"},{"title":"VAT on EDBB invoices","sidebarTitle":"VAT","href":"/faq/billing-lifecycle/vat"},{"title":"How currency conversion works","sidebarTitle":"Currency conversion","href":"/faq/billing-lifecycle/currency-conversion"},{"title":"How to top up your account credit","sidebarTitle":"Add account credit","href":"/faq/billing-lifecycle/how-to-add-account-credit"},{"title":"Top up account balance by bank transfer","sidebarTitle":"Top up by bank transfer","href":"/faq/billing-lifecycle/top-up-credit-balance-by-bank-transfer"},{"title":"Paying invoices with account credit","sidebarTitle":"Pay with credit","href":"/faq/billing-lifecycle/how-to-pay-with-account-credit"},{"title":"Do I need an upfront deposit?","sidebarTitle":"Upfront deposits","href":"/faq/billing-lifecycle/no-upfront-deposits-required"},{"title":"Request a monthly consolidated invoice","sidebarTitle":"Consolidated invoices","href":"/faq/billing-lifecycle/consolidated-invoices"},{"title":"Send invoices to a different email","sidebarTitle":"Invoice contacts","href":"/faq/billing-lifecycle/invoice-contacts"},{"title":"Cancel a PayPal subscription","sidebarTitle":"Cancel PayPal subscription","href":"/faq/billing-lifecycle/cancel-paypal-subscription"},{"title":"Card reservation vs captured payment","sidebarTitle":"Card payment holds","href":"/faq/billing-lifecycle/credit-card-reservation-vs-payment"},{"title":"Cryptocurrency payment confirmations","sidebarTitle":"Crypto confirmations","href":"/faq/billing-lifecycle/crypto-confirmations"},{"title":"Crypto payment arrived after the time window","sidebarTitle":"Late crypto payments","href":"/faq/billing-lifecycle/late-crypto-payment"},{"title":"Blocked cryptocurrency payment","sidebarTitle":"Blocked crypto payments","href":"/faq/billing-lifecycle/blocked-crypto-payment"}]},{"group":"Cancellation and account","pages":[{"title":"VPS cancellation","sidebarTitle":"Cancel a VPS","href":"/faq/billing-lifecycle/cancel-a-service"},{"title":"Can I get a refund?","sidebarTitle":"Refund eligibility","href":"/faq/billing-lifecycle/can-i-get-a-refund"},{"title":"Cancellation and refund policy","sidebarTitle":"Refund policy","href":"/faq/billing-lifecycle/cancellation-and-refund-policy"},{"title":"Data retention after cancellation","sidebarTitle":"Data retention","href":"/faq/billing-lifecycle/data-retention-period"},{"title":"Accidental renewal: convert payment to account credit","sidebarTitle":"Accidental renewal","href":"/faq/billing-lifecycle/accidental-renewal"},{"title":"Lost access to your two-factor authentication?","sidebarTitle":"Reset 2FA","href":"/faq/billing-lifecycle/reset-2fa"},{"title":"Move services to another client account","sidebarTitle":"Account transfers","href":"/faq/billing-lifecycle/account-transfers"}]},{"group":"IP addresses and DNS","pages":[{"title":"VPS IP address settings \u0026 network info","sidebarTitle":"IP settings","href":"/vps-management/ip-address-information"},{"title":"Are my VPS IP addresses static?","sidebarTitle":"Static IP addresses","href":"/faq/ip-addresses/static-ip-addresses"},{"title":"Configure IPv6 on your VPS","sidebarTitle":"Configure IPv6","href":"/vps-management/ipv6-configuration"},{"title":"Order additional IPv4 addresses","sidebarTitle":"Additional IP addresses","href":"/faq/ip-addresses/order-additional-ip-address"},{"title":"Configure an additional IPv4 address on Linux","sidebarTitle":"Configure extra IPv4","href":"/faq/ip-addresses/configure-additional-ip-linux"},{"title":"Request a specific IPv4 address","sidebarTitle":"Choose an IP address","href":"/faq/ip-addresses/order-bespoke-ip-address"},{"title":"Change your VPS IP address","sidebarTitle":"Change an IP","href":"/faq/ip-addresses/change-ip-address"},{"title":"Order a Standard IP change","sidebarTitle":"Standard IP change","href":"/faq/ip-addresses/standard-ip-change"},{"title":"Choose your replacement with Bespoke IP Change","sidebarTitle":"Bespoke IP change","href":"/faq/ip-addresses/bespoke-ip-change"},{"title":"Change an Ubuntu IP address with Netplan","sidebarTitle":"Change IP on Ubuntu","href":"/vps-management/change-ip-ubuntu-1804-to-2404"},{"title":"Update the IPv4 address in Windows Server","sidebarTitle":"Change IP on Windows","href":"/vps-management/change-ip-windows"},{"title":"Do VPS IPs change after reinstall or upgrade?","sidebarTitle":"IP address continuity","href":"/faq/ip-addresses/ip-addresses-after-upgrade-or-reinstall"},{"title":"Configure reverse DNS (PTR)","sidebarTitle":"Reverse DNS","href":"/faq/ip-addresses/reverse-dns"},{"title":"Ports and firewalls on your VPS","sidebarTitle":"Ports and firewalls","href":"/faq/ip-addresses/ports-and-firewalls"},{"title":"Ping test \u0026 latency tools","sidebarTitle":"Network tests","href":"/faq/ip-addresses/ping-test-ip"},{"title":"Diagnose packet loss (Windows \u0026 Linux)","sidebarTitle":"Diagnose packet loss","href":"/faq/ip-addresses/diagnose-packet-loss"},{"title":"Understand an IP address location","sidebarTitle":"IP location","href":"/faq/ip-addresses/ip-location"},{"title":"How GeoIP databases see EDBB addresses","sidebarTitle":"GeoIP databases","href":"/faq/ip-addresses/geolocation-geoip-databases"},{"title":"GeoIP shows the wrong location","sidebarTitle":"Correct geolocation","href":"/faq/ip-addresses/correct-geolocation"},{"title":"Anycast, DNS and VPS location","sidebarTitle":"Anycast and DNS","href":"/faq/ip-addresses/anycast-and-dns-location"},{"title":"DNS leak tests explained","sidebarTitle":"DNS leak tests","href":"/faq/ip-addresses/dns-leak-tests"},{"title":"VPS IP not reachable from my country","sidebarTitle":"Country reachability","href":"/faq/ip-addresses/country-reachability"},{"title":"Is IP spoofing allowed?","sidebarTitle":"IP spoofing","href":"/faq/ip-addresses/ip-spoofing"},{"title":"Can I bring my own IP prefix?","sidebarTitle":"Customer IP prefixes","href":"/faq/ip-addresses/announcing-third-party-ip-prefixes"}]},{"group":"Traffic","pages":[{"title":"What is the difference between traffic and bandwidth?","sidebarTitle":"Traffic and bandwidth","href":"/faq/traffic-bandwidth/traffic-vs-bandwidth"},{"title":"Traffic statistics and monthly refills","sidebarTitle":"Traffic statistics","href":"/faq/traffic-bandwidth/traffic-statistics"},{"title":"Traffic Pool and Auto-Hydration","sidebarTitle":"Traffic Pool","href":"/faq/traffic-bandwidth/traffic-pool"},{"title":"Exceeded monthly traffic","sidebarTitle":"Traffic limits","href":"/faq/traffic-bandwidth/exceeding-monthly-included-traffic"}]},{"group":"Upgrades and locations","pages":[{"title":"Upgrade paths for your EDBB VPS","sidebarTitle":"Upgrade options","href":"/faq/upgrades-downgrades/upgrades"},{"title":"Upgrade to a higher VPS plan","sidebarTitle":"Upgrade plan","href":"/faq/upgrades-downgrades/upgrade-plan"},{"title":"Upgrade VPS components","sidebarTitle":"Upgrade resources","href":"/faq/upgrades-downgrades/upgrade-resources"},{"title":"Expand VPS storage with Drive Boost","sidebarTitle":"Drive Boost","href":"/faq/upgrades-downgrades/upgrade-disk-drive-boost"},{"title":"Will I lose data when upgrading?","sidebarTitle":"Upgrade data safety","href":"/faq/upgrades-downgrades/upgrade-data-safety"},{"title":"Is downgrading an EDBB VPS possible?","sidebarTitle":"Downgrade policy","href":"/faq/upgrades-downgrades/downgrade-policy"},{"title":"Request a qcow2 disk export","sidebarTitle":"qcow2 export","href":"/faq/upgrades-downgrades/qcow2-export"},{"title":"CPU cores vs sockets in an EDBB VPS","sidebarTitle":"CPU cores and sockets","href":"/faq/upgrades-downgrades/cpu-cores-and-sockets"},{"title":"Check CPU resources on Linux","sidebarTitle":"Check CPU on Linux","href":"/faq/upgrades-downgrades/check-cpu-linux"},{"title":"Check CPU resources on Windows","sidebarTitle":"Check CPU on Windows","href":"/faq/upgrades-downgrades/check-cpu-windows"},{"title":"Can I move my VPS to another location?","sidebarTitle":"Change server location","href":"/faq/server-locations/change-server-location"}]},{"group":"Troubleshooting","pages":[{"title":"My VPS is not reachable","sidebarTitle":"VPS not reachable","href":"/faq/ip-addresses/network-is-down"},{"title":"Troubleshoot IPv6 connectivity","sidebarTitle":"IPv6 troubleshooting","href":"/vps-management/basic-ipv6-troubleshooting"},{"title":"Investigate unusual network usage","sidebarTitle":"Investigate network usage","href":"/faq/traffic-bandwidth/investigate-network-usage"},{"title":"RDP error 0xd07: account locked","sidebarTitle":"RDP account locked","href":"/vps-management/rdp-account-locked"},{"title":"Troubleshoot an RDP black screen","sidebarTitle":"RDP black screen","href":"/misc/rdp-black-screen"},{"title":"RealVNC Viewer closes after connecting","sidebarTitle":"RealVNC disconnects","href":"/misc/realvnc-disconnects"},{"title":"Recover a Linux VPS with rescue media","sidebarTitle":"Linux rescue","href":"/vps-management/linux-rescue"}]},{"group":"Advanced guides","pages":[{"title":"Configure a UFW firewall on Debian or Ubuntu","sidebarTitle":"UFW firewall","href":"/advanced-setup-guides/ufw-firewall"},{"title":"Extend a Windows Server disk","sidebarTitle":"Extend Windows disk","description":"Extend a Windows volume after an EDBB disk upgrade. Check free space, partition layout and backups before changing the filesystem.","href":"/advanced-setup-guides/extend-windows-disk"},{"title":"Expand a Linux filesystem after a disk upgrade","sidebarTitle":"Resize Linux disk","href":"/advanced-setup-guides/resize-linux-disk"},{"title":"Install an Ubuntu 22.04 desktop on your VPS","sidebarTitle":"Ubuntu desktop","description":"Install a graphical desktop on Ubuntu 22.04, check resource requirements, and access the desktop through the VPS console after installation.","href":"/advanced-setup-guides/ubuntu-desktop"},{"title":"Install MikroTik CHR on your VPS","sidebarTitle":"Install MikroTik CHR","href":"/advanced-setup-guides/install-mikrotik-chr"}]},{"group":"Policies and abuse","pages":[{"title":"Data Processing Agreement (DPA)","sidebarTitle":"Data Processing Agreement","href":"/faq/data-processing-agreement"},{"title":"Acceptable Use Policy","sidebarTitle":"Acceptable use","href":"/acceptable-use-policy"},{"title":"SMTP port 25 rate limit","sidebarTitle":"Port 25 policy","href":"/faq/port-25-smtp-rate-limit-policy"},{"title":"EDBB DDoS protection overview","sidebarTitle":"DDoS protection","href":"/faq/traffic-bandwidth/dos-attacks/ddos-protection"},{"title":"Advisory for high-risk DDoS workloads","sidebarTitle":"High-risk workloads","href":"/faq/traffic-bandwidth/dos-attacks/high-risk-workloads"},{"title":"Reporting abuse","sidebarTitle":"Report abuse","href":"/misc/reporting-abuse"},{"title":"Respond to an abuse complaint","sidebarTitle":"Respond to abuse","href":"/misc/responding-to-abuse-complaints"},{"title":"Security responsibilities and legal information","sidebarTitle":"Security responsibilities","href":"/misc/security-compliance"}]},{"group":"About VPS hosting","pages":[{"title":"What is a virtual private server?","sidebarTitle":"VPS explained","href":"/faq/what-is-a-virtual-private-server"},{"title":"What is a KVM VPS?","sidebarTitle":"KVM explained","href":"/faq/what-is-a-kvm-vps"},{"title":"Do you offer free VPS trials?","sidebarTitle":"Free trial policy","href":"/faq/free-trials-available"},{"title":"Do you offer hourly VPS billing?","sidebarTitle":"Hourly billing","href":"/faq/hourly-plans-available"},{"title":"Does EDBB offer an API?","sidebarTitle":"API availability","href":"/faq/service-api"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/product"}]}]},"basePath":"","title":"Expand a Linux filesystem after a disk upgrade - EDBB Docs","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":[],"chunks":[]}