Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
FYI: Qemu Guest of Gentoo mounting host filesystem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1596
Location: Adelaide/Australia

PostPosted: Wed Oct 09, 2024 5:28 am    Post subject: FYI: Qemu Guest of Gentoo mounting host filesystem Reply with quote

Because I am a masochist, I installed Gentoo inside a QEMU VM on my Gentoo system.

Part of that setup was to mount my /tmp via virtiofs to the guest system and setup portage to use that /tmp for building.

I figured, given the host /tmp is a ramfs, things would overall, be faster to build.

All things seemed to be going well, until I did my first 'emerge --update @world'

Big mistake.

Turns out, it appears virtiofs does not support (or at least I did not have configured appropriately) to allow xattrs.

So, build after build in the VM failed with various forms of xattr or listxattr errors.

Re-mounting the host /tmp somewhere else (such as /mnt/tmp) meant that emerge started using the local guest /tmp filesystem, and thus provided support for xattrs which led to successful builds.

I just thought I would post my experience here, in case there are any fellow masochists out there....
_________________
...Lyall
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum