[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
‘guix system vm’ and shared store
From: |
Ludovic Courtès |
Subject: |
‘guix system vm’ and shared store |
Date: |
Sun, 28 Aug 2016 16:22:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hi,
David Craven <address@hidden> skribis:
> So guix doesn't work inside a vm - because /gnu/store is mounted
> readonly.
Right, and also because ‘guix system vm’ creates a VM that shares its
store with the host system.
> To be able to offload arm builds once guix system vm
> --system=armhf-linux works, /gnu/store needs to be writeable.
>
> Can multiple daemons concurrently use the same store?
No.
> or alternatively, can we move the
>
> (unless (zero? (system* unionfs "-o"
>
> "cow,allow_other,use_ino,suid,dev,max_files=65536"
> "/rw-root=RW:/real-root=RO"
> "/root"))
> (error "unionfs failed"))
>
> to after the 9p filesystems have been mounted, so that the unionfs
> allows writing to /gnu/store too?
Yes, something like that: we need to make /gnu/store a union of the
host’s /gnu/store and a writable tmpfs, and we need to make sure
/var/guix/db/db.sqlite is populated appropriately (images produced by
‘guix system vm-image’ do the latter.)
HTH!
Ludo’.
- Build machine sysadmin support, Ludovic Courtès, 2016/08/19
- Re: Build machine sysadmin support, David Craven, 2016/08/21
- Re: Build machine sysadmin support, David Craven, 2016/08/21
- Re: Build machine sysadmin support, David Craven, 2016/08/21
- Re: Build machine sysadmin support, David Craven, 2016/08/27
- Offloading to a VM, Ludovic Courtès, 2016/08/28
- Re: Offloading to a VM, David Craven, 2016/08/28
- Re: Offloading to a VM, Ludovic Courtès, 2016/08/29
- Re: Offloading to a VM, David Craven, 2016/08/29
- ‘guix system vm’ and shared store,
Ludovic Courtès <=
Re: Build machine sysadmin support, Ludovic Courtès, 2016/08/28