Move homedir to second drive

32 views
Skip to first unread message

Tom Zander

unread,
Nov 27, 2017, 5:03:44 PM11/27/17
to qubes-users
I have a ‘work’ VM which holds a significant amount of user-data and as such
I want my homedir to be hosted on my spinning-disk drive.

I’m more than fine just using a standard btrfs partition there, I really like
the snapshotting option there, but this does imply I would need to
automatically assign this partition to the VM at vm-start. Probably from
dom0.

I can write a script and only start the VM that way, but it feels there
musts be a better way.
Does anyone know of a way to do this auto-bind?

Thanks!
--
Tom Zander
Blog: https://zander.github.io
Vlog: https://vimeo.com/channels/tomscryptochannel

Andrew David Wong

unread,
Nov 27, 2017, 9:07:13 PM11/27/17
to Tom Zander, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2017-11-27 16:03, 'Tom Zander' via qubes-users wrote:
> I have a ‘work’ VM which holds a significant amount of user-data
> and as such I want my homedir to be hosted on my spinning-disk
> drive.
>
> I’m more than fine just using a standard btrfs partition there, I
> really like the snapshotting option there, but this does imply I
> would need to automatically assign this partition to the VM at
> vm-start. Probably from dom0.
>
> I can write a script and only start the VM that way, but it feels
> there musts be a better way. Does anyone know of a way to do this
> auto-bind?
>
> Thanks!
>

This option works well for me on 3.2 (doesn't require auto-bind):

https://www.qubes-os.org/doc/secondary-storage/

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

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJaHMTAAAoJENtN07w5UDAwYMsQAMjfN4n9NraP9/1y7mP51aTc
Aoe8HX97MTdzsaZqRmv76onKYKOM1wIqcCKmk77OsVT5p7a6WYnQYg4b2LyVwDlp
CX2Wimd9lD9NMRMSfYqk1448prtqQFubxCyikzo81XAcLOIaPrLvqfbJghRyPO27
4bg4uKyeUNG0wXg07xOLQqwWriXBIl3IIO1aY/lx74GgoXFlQIWC7CGuT7j8xuHz
x0d7emEGz0vURzh28N/FBmVIENTwcWyMCc4zWdNiCpTvqCuHiwXO0P7ZWVNlLgoB
IMVhlFmPmoThe5QkRuIurPar/0dL0zUhf4vjG/EhLDyLflZFnJ/jL8NZf5w96FZG
P/kdis6ImW4vQCF1SOsCKSv1ATHTCliUdeNLagkwt+ZF4ToAmXUWMLMDoKTdx19N
SIdFsqyw/YBU8fBFj9uuRyxYH7iaNwGjimQ0v8wQBw/Ko7ndSJ7kgEjRv1xXCZ7T
VwoTXTb65leAorkhNvtDQwbX44OOhDi9V3dKFglmU6/NjH6+Z1b51/5sjbK5mrVt
5hcRpTGKrhtknhEVUAKElAdvUhkI6NEZMb0+JaF3OYFqiX9G56324QKg/5hyms5v
ECC5+W+Jz0XjmFqqoP5B4zs0Kzlpr4uQvPt99fkM/LrgFAfEF6tDzRBZSsFetDtc
G6TUqzdiwmOdIy5+FKN5
=7Qn+
-----END PGP SIGNATURE-----


Tom Zander

unread,
Nov 28, 2017, 6:27:06 AM11/28/17
to qubes...@googlegroups.com, Andrew David Wong
On Tuesday, 28 November 2017 03:07:02 CET Andrew David Wong wrote:
> On 2017-11-27 16:03, 'Tom Zander' via qubes-users wrote:
> > I have a ‘work’ VM which holds a significant amount of user-data
> > and as such I want my homedir to be hosted on my spinning-disk
> > drive.
[snip]
> This option works well for me on 3.2 (doesn't require auto-bind):
>
> https://www.qubes-os.org/doc/secondary-storage/

Thanks for your answer,

it seems like this is no longer an option in 4.0 because VMs are no longer
directories on the dom0 filesystem.
I may be wrong, but I understand they are actually partitions now.
Reply all
Reply to author
Forward
0 new messages