{"id":430,"date":"2023-07-08T13:02:22","date_gmt":"2023-07-08T21:02:22","guid":{"rendered":"https:\/\/nramkumar.org\/tech\/?p=430"},"modified":"2023-07-08T13:03:12","modified_gmt":"2023-07-08T21:03:12","slug":"proxmox-useful-commands","status":"publish","type":"post","link":"https:\/\/nramkumar.org\/tech\/blog\/2023\/07\/08\/proxmox-useful-commands\/","title":{"rendered":"Proxmox Useful Commands"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Here are some useful commands for managing a Proxmox server and containers:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>List containers: <code>pct list<\/code><\/li>\n\n\n\n<li>Listing the configuration of a container: <code>pct config &lt;ContainerID><\/code><\/li>\n\n\n\n<li>Finding the storage device for a container: <code>pvesm path &lt;RootFSName><\/code><\/li>\n\n\n\n<li>If you need to fix permissions in container folders or files: \n<ul class=\"wp-block-list\">\n<li>Mount the device for rootfs in host, fix it in host, unmount<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Resize rootfs storage size for a container: <code>pct resize &lt;ContainerID&gt; rootfs &lt;NewSize&gt;<\/code><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Here are some useful commands for managing a Proxmox server and containers:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-430","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/posts\/430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/comments?post=430"}],"version-history":[{"count":3,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/posts\/430\/revisions"}],"predecessor-version":[{"id":434,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/posts\/430\/revisions\/434"}],"wp:attachment":[{"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/media?parent=430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/categories?post=430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/tags?post=430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}