{
"$type": "site.standard.document",
"canonicalUrl": "https://rickymoorhouse.uk/blog/2009/2009-04-30-linux-extend-filesystem",
"path": "/blog/2009/2009-04-30-linux-extend-filesystem",
"publishedAt": "2009-04-30T15:08:34.000Z",
"site": "at://did:plc:r53zv4vpzeihop3aliwyejlu/site.standard.publication/3mos5q3a7jf2w",
"tags": [
"linux"
],
"textContent": "lvextend -L +2G /dev/basevg/var_lib_mysql\n\nAdd 2GB to the logical volume var_lib_mysql in basevg\n\nresize2fs /dev/basevg/var_lib_mysql\n\nResize the filesystem /dev/basevg/var_lib_mysql\n\nOther useful commands:\n\nvgs\n\n list volume groups\n\nlvs\n\n list logical volumes",
"title": "Linux: Extend Filesystem"
}