nsroot, what directories need to be host-specific?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm playing with an nfsroot boot for multiple hosts; Ubuntu has some dated docs that recommend:
#/etc/fstab
none /tmp tmpfs defaults 0 0
none /var/run tmpfs defaults 0 0
none /var/lock tmpfs defaults 0 0
none /var/tmp tmpfs defaults 0 0
I've notice already that /var/lib/dhcp needs to be mounted additionally otherwise clients conflict with eachother.
I tried for a while, an aggressive /var tmpfs:
#/etc/fstab
none /var tmpfs defaults 0 0
But i worry about things like Apt, that rely on /var/lib for shared state. This woudln't be the first time apt's file lay our has annoyed me-.
Additionally with the usual /var/run -> /run, /var/lock -> /run/lock, I worry about stepping on soemthing I didn't mean to with that aggressive /var tmpfs, so I'm curious, can anyone recommended a shared-root-fs tmpfs excludes list?
I'm open to introducing symlinks where it makes sense, though I've noticed a lot of applications will wipe them out, not bothering to check if the system is trying to redirect its nonsense-.
nfs root-filesystem fhs
add a comment |Â
up vote
0
down vote
favorite
I'm playing with an nfsroot boot for multiple hosts; Ubuntu has some dated docs that recommend:
#/etc/fstab
none /tmp tmpfs defaults 0 0
none /var/run tmpfs defaults 0 0
none /var/lock tmpfs defaults 0 0
none /var/tmp tmpfs defaults 0 0
I've notice already that /var/lib/dhcp needs to be mounted additionally otherwise clients conflict with eachother.
I tried for a while, an aggressive /var tmpfs:
#/etc/fstab
none /var tmpfs defaults 0 0
But i worry about things like Apt, that rely on /var/lib for shared state. This woudln't be the first time apt's file lay our has annoyed me-.
Additionally with the usual /var/run -> /run, /var/lock -> /run/lock, I worry about stepping on soemthing I didn't mean to with that aggressive /var tmpfs, so I'm curious, can anyone recommended a shared-root-fs tmpfs excludes list?
I'm open to introducing symlinks where it makes sense, though I've noticed a lot of applications will wipe them out, not bothering to check if the system is trying to redirect its nonsense-.
nfs root-filesystem fhs
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm playing with an nfsroot boot for multiple hosts; Ubuntu has some dated docs that recommend:
#/etc/fstab
none /tmp tmpfs defaults 0 0
none /var/run tmpfs defaults 0 0
none /var/lock tmpfs defaults 0 0
none /var/tmp tmpfs defaults 0 0
I've notice already that /var/lib/dhcp needs to be mounted additionally otherwise clients conflict with eachother.
I tried for a while, an aggressive /var tmpfs:
#/etc/fstab
none /var tmpfs defaults 0 0
But i worry about things like Apt, that rely on /var/lib for shared state. This woudln't be the first time apt's file lay our has annoyed me-.
Additionally with the usual /var/run -> /run, /var/lock -> /run/lock, I worry about stepping on soemthing I didn't mean to with that aggressive /var tmpfs, so I'm curious, can anyone recommended a shared-root-fs tmpfs excludes list?
I'm open to introducing symlinks where it makes sense, though I've noticed a lot of applications will wipe them out, not bothering to check if the system is trying to redirect its nonsense-.
nfs root-filesystem fhs
I'm playing with an nfsroot boot for multiple hosts; Ubuntu has some dated docs that recommend:
#/etc/fstab
none /tmp tmpfs defaults 0 0
none /var/run tmpfs defaults 0 0
none /var/lock tmpfs defaults 0 0
none /var/tmp tmpfs defaults 0 0
I've notice already that /var/lib/dhcp needs to be mounted additionally otherwise clients conflict with eachother.
I tried for a while, an aggressive /var tmpfs:
#/etc/fstab
none /var tmpfs defaults 0 0
But i worry about things like Apt, that rely on /var/lib for shared state. This woudln't be the first time apt's file lay our has annoyed me-.
Additionally with the usual /var/run -> /run, /var/lock -> /run/lock, I worry about stepping on soemthing I didn't mean to with that aggressive /var tmpfs, so I'm curious, can anyone recommended a shared-root-fs tmpfs excludes list?
I'm open to introducing symlinks where it makes sense, though I've noticed a lot of applications will wipe them out, not bothering to check if the system is trying to redirect its nonsense-.
nfs root-filesystem fhs
asked Oct 15 '17 at 5:53
ThorSummoner
1,10741327
1,10741327
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
this is my current WIP:
#/etc/fstab
proc /proc proc defaults 0 0
none /tmp tmpfs defaults 0 0
none /media tmpfs defaults 0 0
none /var/lib/dhcp tmpfs defaults 0 0
none /tmp tmpfs defaults 0 0
none /run tmpfs defaults 0 0
none /var/tmp tmpfs defaults 0 0
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
this is my current WIP:
#/etc/fstab
proc /proc proc defaults 0 0
none /tmp tmpfs defaults 0 0
none /media tmpfs defaults 0 0
none /var/lib/dhcp tmpfs defaults 0 0
none /tmp tmpfs defaults 0 0
none /run tmpfs defaults 0 0
none /var/tmp tmpfs defaults 0 0
add a comment |Â
up vote
0
down vote
this is my current WIP:
#/etc/fstab
proc /proc proc defaults 0 0
none /tmp tmpfs defaults 0 0
none /media tmpfs defaults 0 0
none /var/lib/dhcp tmpfs defaults 0 0
none /tmp tmpfs defaults 0 0
none /run tmpfs defaults 0 0
none /var/tmp tmpfs defaults 0 0
add a comment |Â
up vote
0
down vote
up vote
0
down vote
this is my current WIP:
#/etc/fstab
proc /proc proc defaults 0 0
none /tmp tmpfs defaults 0 0
none /media tmpfs defaults 0 0
none /var/lib/dhcp tmpfs defaults 0 0
none /tmp tmpfs defaults 0 0
none /run tmpfs defaults 0 0
none /var/tmp tmpfs defaults 0 0
this is my current WIP:
#/etc/fstab
proc /proc proc defaults 0 0
none /tmp tmpfs defaults 0 0
none /media tmpfs defaults 0 0
none /var/lib/dhcp tmpfs defaults 0 0
none /tmp tmpfs defaults 0 0
none /run tmpfs defaults 0 0
none /var/tmp tmpfs defaults 0 0
answered Oct 15 '17 at 5:58
community wiki
ThorSummoner
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f398201%2fnsroot-what-directories-need-to-be-host-specific%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password