• Mike Hibler's avatar
    Rework client-side storage scripts to semi-coexist with mkextrafs uses. · 9cf8f9c6
    Mike Hibler authored
    Broke rc.storage into two phases, local blockstores and remote blockstores.
    Setup of the former will also pick a best candidate for an old-school
    "extrafs" and put the info in /var/emulab/boot/extrafs. This will be a
    single line with one of DISK=foo, PART=foo, or FS=foo depending on whether
    it found an available full disk, disk partition, or mounted filesystem
    that we can use for mkextrafs (in the first two cases) or where we can
    mooch off of (the last). This is only used in os_mountextrafs() right now;
    i.e., I have NOT changed the mkextrafs script. So explicit invocations
    by the user could still screw things up.
    
    I have tested this with local blockstores and a non-nfs experiment
    on both Linux and FreeBSD to make sure the most common sharing of space
    works. I have not made any new images and I have not yet tested to make
    sure I did not break non-blockstore, non-nfs experiments (i.e., where
    we really should run mkextrafs).
    
    So maybe don't make any new images til I get back, or else be prepared
    to clean up after me.
    9cf8f9c6
Name
Last commit
Last update
..
cdboot Loading commit data...
frisbee Loading commit data...
init Loading commit data...
jail Loading commit data...
GNUmakefile.in Loading commit data...
camwce Loading commit data...
chipset.awk Loading commit data...
control_interface Loading commit data...
cpuspeed.awk Loading commit data...
cvsup.auth Loading commit data...
delaysetup Loading commit data...
dhclient Loading commit data...
dhclient-enter-hooks Loading commit data...
dhclient-exit-hooks Loading commit data...
exports Loading commit data...
group Loading commit data...
healthd.conf Loading commit data...
hosts Loading commit data...
ixpboot Loading commit data...
liblocsetup.pm Loading commit data...
liblocstorage.pm Loading commit data...
libvnode.pm Loading commit data...
master.passwd Loading commit data...
mfs-rc.conf Loading commit data...
mkextrafs.pl Loading commit data...
newnode-testbed.sh Loading commit data...
nodetype Loading commit data...
periodic.conf Loading commit data...
prepare Loading commit data...
prepare.sh Loading commit data...
rc.bridges Loading commit data...
rc.conf Loading commit data...
rc.delayagent Loading commit data...
rc.early Loading commit data...
rc.frisbee Loading commit data...
rc.healthd Loading commit data...
rc.ipod Loading commit data...
rc.kname Loading commit data...
rc.mfs Loading commit data...
rc.nfshack Loading commit data...
reboot_prepare Loading commit data...
sethostname.in Loading commit data...
sfs.sh Loading commit data...
sfsrwsd_config Loading commit data...
sfssd_config Loading commit data...
slicefix Loading commit data...
supfile.in Loading commit data...
sysctl.conf Loading commit data...
tbshutdown Loading commit data...
testbed.sh Loading commit data...