{"action":"created","issue":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1875","repository_url":"https://api.github.com/repos/QubesOS/qubes-issues","labels_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1875/labels{/name}","comments_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1875/comments","events_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1875/events","html_url":"https://github.com/QubesOS/qubes-issues/issues/1875","id":143658108,"number":1875,"title":"Error when changing system storage size on a StandaloneVM","user":{"login":"jaspertron","id":12012146,"avatar_url":"https://avatars.githubusercontent.com/u/12012146?v=3","gravatar_id":"","url":"https://api.github.com/users/jaspertron","html_url":"https://github.com/jaspertron","followers_url":"https://api.github.com/users/jaspertron/followers","following_url":"https://api.github.com/users/jaspertron/following{/other_user}","gists_url":"https://api.github.com/users/jaspertron/gists{/gist_id}","starred_url":"https://api.github.com/users/jaspertron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaspertron/subscriptions","organizations_url":"https://api.github.com/users/jaspertron/orgs","repos_url":"https://api.github.com/users/jaspertron/repos","events_url":"https://api.github.com/users/jaspertron/events{/privacy}","received_events_url":"https://api.github.com/users/jaspertron/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/C:%20qubes-manager","name":"C: qubes-manager","color":"cccccc"},{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/P:%20minor","name":"P: minor","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/milestones/23","html_url":"https://github.com/QubesOS/qubes-issues/milestones/Release%203.1%20updates","labels_url":"https://api.github.com/repos/QubesOS/qubes-issues/milestones/23/labels","id":1570409,"number":23,"title":"Release 3.1 updates","description":"","creator":{"login":"marmarek","id":726704,"avatar_url":"https://avatars.githubusercontent.com/u/726704?v=3","gravatar_id":"","url":"https://api.github.com/users/marmarek","html_url":"https://github.com/marmarek","followers_url":"https://api.github.com/users/marmarek/followers","following_url":"https://api.github.com/users/marmarek/following{/other_user}","gists_url":"https://api.github.com/users/marmarek/gists{/gist_id}","starred_url":"https://api.github.com/users/marmarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmarek/subscriptions","organizations_url":"https://api.github.com/users/marmarek/orgs","repos_url":"https://api.github.com/users/marmarek/repos","events_url":"https://api.github.com/users/marmarek/events{/privacy}","received_events_url":"https://api.github.com/users/marmarek/received_events","type":"User","site_admin":false},"open_issues":56,"closed_issues":9,"state":"open","created_at":"2016-02-08T14:07:58Z","updated_at":"2016-03-29T15:03:47Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-03-26T03:07:15Z","updated_at":"2016-03-30T05:05:00Z","closed_at":null,"body":"Using the Qubes Manager, if I try to change the \"System storage max. size\" on any StandaloneVM, it will always show an error message.\r\n\r\nIf the VM is running:\r\n\r\n> ERROR: Basic tab:\r\n> Cannot resize root.img of running VM\r\n\r\nIf the VM is not running:\r\n\r\n> ERROR: Basic tab:\r\n> VM start required to complete the operation, but not allowed. Either run the operation again allowing VM start this time, or run resize2fs in the VM manually.\r\n\r\nI'm not sure what \"run the operation again allowing VM start\" means, but running resize2fs in the VM manually works (`sudo resize2fs /dev/mapper/dmroot`).\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/comments/203250202","html_url":"https://github.com/QubesOS/qubes-issues/issues/1875#issuecomment-203250202","issue_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1875","id":203250202,"user":{"login":"fsteinel","id":7137,"avatar_url":"https://avatars.githubusercontent.com/u/7137?v=3","gravatar_id":"","url":"https://api.github.com/users/fsteinel","html_url":"https://github.com/fsteinel","followers_url":"https://api.github.com/users/fsteinel/followers","following_url":"https://api.github.com/users/fsteinel/following{/other_user}","gists_url":"https://api.github.com/users/fsteinel/gists{/gist_id}","starred_url":"https://api.github.com/users/fsteinel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsteinel/subscriptions","organizations_url":"https://api.github.com/users/fsteinel/orgs","repos_url":"https://api.github.com/users/fsteinel/repos","events_url":"https://api.github.com/users/fsteinel/events{/privacy}","received_events_url":"https://api.github.com/users/fsteinel/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T05:05:00Z","updated_at":"2016-03-30T05:05:00Z","body":"This also happens on AppVMs but for \"Private storage max. size\"\r\nI'm only able to **grow** the storage, if i'm following the steps in https://www.qubes-os.org/doc/resize-disk-image/ for shrinking.\r\n\r\nDebug:\r\n- Make sure that the AppVM is shutdown\r\n- grow the \"Private storage max. size\" via the GUI (Qubes VM Manager) or via qvm-grow-private to 35GB  (35840MB)\r\n- start the AppVM\r\n- start terminal in the AppVM\r\n- run `df -h`\r\n- run `dd if=/dev/zero of=/home/user/growtest bs=30000000 count=1000` \r\n- In Dom0 the filesize of private.img is of the desired size.\r\n- In DomU the Partion is not grown and stuck at the 2GB default.\r\n- shutdown AppVM\r\n- follow the manuell steps linked above\r\n- start AppVm\r\n- the \"Private storage max. size\" is now at the desired size\r\n"}}