Increase user space (/home/user) in personal VM

98 views
Skip to first unread message

Pawel Debski

unread,
Jan 1, 2017, 10:31:20 AM1/1/17
to qubes-users
Folks,

when I run out of space, how do I increase /home filesystem in my personal domain?

Best regards
PD

Andrew David Wong

unread,
Jan 1, 2017, 10:35:59 AM1/1/17
to Pawel Debski, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Qubes VM Manager -> Select VM -> VM Settings -> Increase "Private storage max. size" -> OK

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYaSHVAAoJENtN07w5UDAwBxMP/R/RAyNhyeenLFTzvgVi5Dru
71luvDtJiS64QHy8XSlTIE8zRNZTxMfEJ0pvGO4qy3syyCiwhba1qGxBLt2hwEmf
3w+295SxbaW19ZhN1X1aYw9ho8mPjayIZ23kOgHSP3OpV2Gvnl3Xe4XQjCziud0N
vmDgBeyKr/Kn6eqUp8OtBA6dDpIf4v89idPpRtbKPB8ltQaKpg7rZtnEJaLmBQPP
/OEt5AdALbrozFJTqQro/8YGm2RC6iLG3wgQhBGNgeMoLcEz/3CjOKIZHlNUyx3J
HuNVBlYfCQ9I80Xj8Yxxei07a29NBkUlMbRwl/Vf4eue+IxiPVIsDwsqbYKq2GvQ
W7qMFprZkFatl5SJiVRtc7zMGkPoNc0lcpwauT6CPh7Z65qui2F7yo7XTr8wNGZm
D1aVDky0nTtt8hfc6KyCMNxpwvIE8fSkLY9qhFPFLlPZhAzfa+D9vx/xe+aijXmo
lr7BXnvKOq8m91AL8SqBIDBW+bAkQArdd8ySsPRYdT0OuEuZh1ywQGakBEEaqipZ
as6wxBCnRK3o+yiCzbuetY2rV/+nj+Qdsc+6hO/2O9E65n0RH6LOP4aVL+2AC0QC
nNjTTO2zhlWQnvVoOxB4VLiRs7GkwBAZQ7sFLgHYWGpsNu6ZOsky85OLsR1bWwiI
/6YLLVbeBoCtTglZ+CfZ
=EDB8
-----END PGP SIGNATURE-----

Pawel Debski

unread,
Jan 1, 2017, 11:29:11 AM1/1/17
to qubes-users, pde...@econsulting.pl
Thanks Andrew,

that's what I exactly did and it works. However could you please either point me to the docs or explain how /home actually works.

What I usually do on other distros (physical install) is that I have a separate filesystem mounted on /home.

On Qubes however, when I do:

[user@fedora-usb ~]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/dmroot 10190136 5834236 3815228 61% /
/dev/xvdd 388480 152867 215133 42% /usr/lib/modules/4.4.31-11.pvops.qubes.x86_64
devtmpfs 177280 0 177280 0% /dev
tmpfs 1048576 364 1048212 1% /dev/shm
tmpfs 184212 848 183364 1% /run
tmpfs 184212 0 184212 0% /sys/fs/cgroup
tmpfs 1048576 12 1048564 1% /tmp
/dev/xvdb 4062912 584324 3462204 15% /rw
tmpfs 36844 20 36824 1% /run/user/1000

which one is actually /home filesystem?

Andrew David Wong

unread,
Jan 1, 2017, 3:39:00 PM1/1/17
to Pawel Debski, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2017-01-01 08:29, Pawel Debski wrote:
> W dniu niedziela, 1 stycznia 2017 16:35:59 UTC+1 użytkownik Andrew David Wong napisał:
> On 2017-01-01 07:31, Pawel Debski wrote:
>>>> Folks,
>>>>
>>>> when I run out of space, how do I increase /home filesystem in my personal domain?
>>>>
>>>> Best regards
>>>> PD
>>>>
>
> Qubes VM Manager -> Select VM -> VM Settings -> Increase "Private storage max. size" -> OK
>
>
> Thanks Andrew,
>
> that's what I exactly did and it works. However could you please either point me to the docs or explain how /home actually works.
>
> What I usually do on other distros (physical install) is that I have a separate filesystem mounted on /home.
>
> On Qubes however, when I do:
>
> [user@fedora-usb ~]$ df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/mapper/dmroot 10190136 5834236 3815228 61% /
> /dev/xvdd 388480 152867 215133 42% /usr/lib/modules/4.4.31-11.pvops.qubes.x86_64
> devtmpfs 177280 0 177280 0% /dev
> tmpfs 1048576 364 1048212 1% /dev/shm
> tmpfs 184212 848 183364 1% /run
> tmpfs 184212 0 184212 0% /sys/fs/cgroup
> tmpfs 1048576 12 1048564 1% /tmp
> /dev/xvdb 4062912 584324 3462204 15% /rw
> tmpfs 36844 20 36824 1% /run/user/1000
>
> which one is actually /home filesystem?
>

/home is bind mounted to /rw/home, so in your case, it's /dev/xvdb (mounted on /rw).

https://www.qubes-os.org/doc/template-implementation/

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYaWjYAAoJENtN07w5UDAwHV4QAMmJ8KpO1bl2dRO9+l0ZHGpS
ZuotWoq+/hoxWmYywaJXL/QvH/xJF3FSnNVXXhC5QjZ6QMJzKv1WicamUk4/v6kp
6LrG3YAWhNcv8qzZxmSO+XDZujnRx4XG3IWexl1kJ2laVUAIWuZff1tQl3+xSU1C
AhHxir0F/4uC44oK6T8dL/39PZcpnVF4628KKpjkncYH6LwtYtmc892lCkfJW26N
pHUm4iXBngxm1B12CHQNsSdb42VtbsZwS/n0VTrXo85etJqxyd5gRHGHjNOIgpcY
QBfJzyr8ekfb+eVdiMVQriJ4nndxXGcZfJ3cBEvBqnO3l/aGR4AYXnDJ5Nzk1LXm
CBesi9R3zpe/4Fw2/3coCR2vPW3le55cGgM+Aua5gppymYg407WrFDUT01k+L7CO
J5z9UNPu3VWYHYi7MmK7qJDdDtUbYwaZd6Br2NUQY84pd+UFTWjblSazn6VdgB2e
LcC2nJP2ACY2pn52xhohfPT6G/g+WNLCltc7diPJnGvOM9fTCNQEy+1nyiMkhYK6
/H1kdcof6dYvMvjsN0p8zr2s3+2/TdJb7RMqEhQBewYnLMPCgMmBpdc8o4R1mcp5
KSZD66zyUHHYh+74NrY5cmzfe9gg50LlmQkGQ9X+4R1Ig7zPaMNjYcHJTbVEYzX1
lHCBBFPvbwyeMwdFOEdx
=5emt
-----END PGP SIGNATURE-----

Unman

unread,
Jan 2, 2017, 9:24:11 PM1/2/17
to Pawel Debski, qubes-users
You can see the mount points using findmnt, which has the benefit of
identifying the bind sources.
Alternatively examining /etc/fstab would help seeing where /home is set.
Reply all
Reply to author
Forward
0 new messages