Re: [qubes-users] Increase user space (/home/user) in personal VM / understanding Qubes filesystems

2017-01-02 Thread Unman
On Sun, Jan 01, 2017 at 12:38:54PM -0800, Andrew David Wong wrote:
> -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-blocksUsed Available Use% Mounted on
> > /dev/mapper/dmroot  10190136 5834236   3815228  61% /
> > /dev/xvdd 388480  152867215133  42% 
> > /usr/lib/modules/4.4.31-11.pvops.qubes.x86_64
> > devtmpfs  177280   0177280   0% /dev
> > tmpfs1048576 364   1048212   1% /dev/shm
> > tmpfs 184212 848183364   1% /run
> > tmpfs 184212   0184212   0% /sys/fs/cgroup
> > tmpfs1048576  12   1048564   1% /tmp
> > /dev/xvdb4062912  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/
> 

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.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20170103022410.GC20452%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Increase user space (/home/user) in personal VM / understanding Qubes filesystems

2017-01-01 Thread Andrew David Wong
-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-blocksUsed Available Use% Mounted on
> /dev/mapper/dmroot  10190136 5834236   3815228  61% /
> /dev/xvdd 388480  152867215133  42% 
> /usr/lib/modules/4.4.31-11.pvops.qubes.x86_64
> devtmpfs  177280   0177280   0% /dev
> tmpfs1048576 364   1048212   1% /dev/shm
> tmpfs 184212 848183364   1% /run
> tmpfs 184212   0184212   0% /sys/fs/cgroup
> tmpfs1048576  12   1048564   1% /tmp
> /dev/xvdb4062912  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-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/cedf1880-3686-f765-dc72-8e71a77278e3%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Increase user space (/home/user) in personal VM / understanding Qubes filesystems

2017-01-01 Thread Pawel Debski
W dniu niedziela, 1 stycznia 2017 16:35:59 UTC+1 użytkownik Andrew David Wong 
napisał:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> 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
> 
> - -- 
> 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-

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-blocksUsed Available Use% Mounted on
/dev/mapper/dmroot  10190136 5834236   3815228  61% /
/dev/xvdd 388480  152867215133  42% 
/usr/lib/modules/4.4.31-11.pvops.qubes.x86_64
devtmpfs  177280   0177280   0% /dev
tmpfs1048576 364   1048212   1% /dev/shm
tmpfs 184212 848183364   1% /run
tmpfs 184212   0184212   0% /sys/fs/cgroup
tmpfs1048576  12   1048564   1% /tmp
/dev/xvdb4062912  584324   3462204  15% /rw
tmpfs  36844  20 36824   1% /run/user/1000

which one is actually /home filesystem?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/d75e5cba-4417-4474-ae27-be309e0015de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Increase user space (/home/user) in personal VM

2017-01-01 Thread Pawel Debski
Folks,

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

Best regards
PD

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/aee4982f-99c0-4da8-ac3f-a2c23800e427%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.