Skip to content

Add mxmount #58

Merged
merged 38 commits into from
Nov 23, 2018
Merged

Add mxmount #58

merged 38 commits into from
Nov 23, 2018

Commits on Nov 11, 2011

  1. empty repository

    mariux committed Nov 11, 2011
    Configuration menu
    Copy the full SHA
    b131b34 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2011

  1. Configuration menu
    Copy the full SHA
    a049329 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2011

  1. code style fixes

    mariux committed Nov 18, 2011
    Configuration menu
    Copy the full SHA
    37bf732 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2011

  1. Configuration menu
    Copy the full SHA
    42b6e12 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2012

  1. Configuration menu
    Copy the full SHA
    61ae4cc View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2013

  1. Configuration menu
    Copy the full SHA
    2bfcf5d View commit details
    Browse the repository at this point in the history

Commits on May 27, 2013

  1. fix minor bug.. *hust*

    this is a workaround for a stupid perl bug... *HUST*
    mariux committed May 27, 2013
    Configuration menu
    Copy the full SHA
    02aec98 View commit details
    Browse the repository at this point in the history
  2. fix some perl warnings

    mariux committed May 27, 2013
    Configuration menu
    Copy the full SHA
    258a2a8 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2013

  1. fix more warnings..

    mariux committed May 28, 2013
    Configuration menu
    Copy the full SHA
    4ade260 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2015

  1. mxmount: Allow export of C0000 Jbods if exportopts are set

    e.g.
    
    acedia  C4014 defaults,inode64 @confidential(sync,rw,no_root_squash,no_subtree_check,insecure_locks)
    mariux committed Jun 16, 2015
    Configuration menu
    Copy the full SHA
    7259906 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a0a1b72 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2016

  1. fix data0 destination overmount

    when /amd/hostname/0 is already a destination from another partition skipp adding !data0.
    
    this happened when booting from mxonastick.
    wurzel committed Aug 23, 2016
    Configuration menu
    Copy the full SHA
    6c9441e View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2017

  1. Configuration menu
    Copy the full SHA
    f3f825b View commit details
    Browse the repository at this point in the history
  2. mxmount: renamed tag to exportstag, removed the funny note for donald

    Changes should help reading the code.
    thomas committed Feb 16, 2017
    Configuration menu
    Copy the full SHA
    2937a00 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6e04723 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3eabfd1 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #2 from mariux64/add_software_raid_mounts

    mxmount: Add software raid mounts
    donald authored Feb 16, 2017
    Configuration menu
    Copy the full SHA
    b7a6ffe View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2017

  1. mxmount: add mdadm --assemble

    to allow detectable /dev/mdx's to be mounted.
    wwwutz committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    57306a0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3 from mariux64/add-mdadm-assemble

    mxmount: add mdadm --assemble
    wwwutz authored Sep 5, 2017
    Configuration menu
    Copy the full SHA
    d658bf5 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2017

  1. mxmount: add --no-degraded to mdadm --assemble

    This assembles but does not start degraded arrays.
    thomas committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    23f7937 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #4 from mariux64/enhance-mdadm-assemble

    mxmount: add --no-degraded to mdadm --assemble
    pmenzel authored Sep 11, 2017
    Configuration menu
    Copy the full SHA
    ae36627 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2017

  1. Configuration menu
    Copy the full SHA
    64b0675 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2017

  1. Merge pull request #5 from mariux64/clean-up-mxmount

    Clean up mxmount
    donald authored Sep 20, 2017
    Configuration menu
    Copy the full SHA
    f69c3b6 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2018

  1. Configuration menu
    Copy the full SHA
    0b0c45a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #6 from mariux64/make-mxmount-run-after-mxraid

    Run mxmount after mxraid assembly phase.
    thomas authored Feb 12, 2018
    Configuration menu
    Copy the full SHA
    e1daec8 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2018

  1. mxmount: remove mdadm --assemble

    assembly is now done via mxtools/mxraid, before mxmount
    is called.
    thomas committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    28c7f01 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2018

  1. Introduce D label prefix for scratch raids

    Rationale:
    
    SW-RAIDs are assembled by serials,
    Serials are kept in a database,
    thus they need a uniqe label.
    
    Since this applies also for level-0 scratch raids, and a clash with
    decent SW-RAIDs (M-prefix) is unwanted, they get the D-prefix.
    thomas committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    2879b17 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #7 from mariux64/add-sw-raid-for-scratch

    Introduce D label prefix for scratch raids
    donald authored Mar 14, 2018
    Configuration menu
    Copy the full SHA
    55cb763 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2018

  1. Merge mxmounts repository into mxtools

    We want to do some changes to mxmounts:
    
    * support multiple hostlists (@amd,@confidential)
    * get independent of netgroups
    * experiment with kerberos based authentication
    
    So we need to do several changes and tests on mxmounts. With mxtools
    the update cycle ist (mxtools:make change, PR, merge, distmaster: install) while
    with a seperate mxmounts repository it is (mxmounts:make change, PR, merge,
    make release, bee-files: update bee script, PR, merge, distmaster: update).
    This is just much more work. We don't need "mxmount" release packages, because
    nobody but us is ever going to use it.
    
    If this is merged, mxmount-0.11-0.bee should be removed from the
    bee-files repository.
    
    Merge remote-tracking branch 'mxmount/master' into subtree mxmount.
    donald committed Nov 19, 2018
    Configuration menu
    Copy the full SHA
    1de41b1 View commit details
    Browse the repository at this point in the history
  2. mxmount: install.sh: Add mxmount

    Import mxmount into mxtools install.sh script and remove the imported
    and now ununsed mxmount/Makefile.
    donald committed Nov 19, 2018
    Configuration menu
    Copy the full SHA
    b935396 View commit details
    Browse the repository at this point in the history
  3. mxmount: Remove unused variables

    DEFAULT_MOUNT_FS,FULLHOST,NONE,NULL are never used. Remove unused
    variables.
    
    Note, that SHORTHOST is currently used by /etc/mxmounts.
    donald committed Nov 19, 2018
    Configuration menu
    Copy the full SHA
    635eede View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1d9bd5d View commit details
    Browse the repository at this point in the history
  5. mxmount: Add "use strict"

    donald committed Nov 19, 2018
    Configuration menu
    Copy the full SHA
    c2626f3 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2018

  1. mxmount: Expand host groups by hostconfig

    When /etc/mxmounts uses the netgroup syntax to export to a list of
    clients (usually @amd), expand the list using hostconfig to a list of
    hosts from inside this mxmount, so that we no longer export to NIS
    netgroups. This is one step to get rid of NIS.
    
    Only hosts with the tag newexport should do it for now, so that we can
    see if there are problems before switching all hosts.
    
    We could expand
    
        /filesystem @group(opts)
    
    to
    
        /filesystem host1(opts) hosts2(opts) host3(opts) host4(opts)...
    
    but because our opts are about 50 characters and we have about 540 hosts
    on @amd, we save about 27000 characters per line by converting to
    
        /filesystem -opts host1 host2 host3...
    
    Notes:
    
    * `hostconfig --list` does not only accept single tag (=group) names,
    but complex boolean expressions as well. We could export to @1 (=allways
    true, any known host) or @testing&!desktop. It is suggested, not to use
    this as a feature.
    donald committed Nov 22, 2018
    Configuration menu
    Copy the full SHA
    3822b7b View commit details
    Browse the repository at this point in the history
  2. mxmount: Use safer version of qx

    The perl qx operator (`cmd`) calls a shell when cmd contains shell
    metacharacters. If our netgroup (accidentally) contains a shell meta
    character, unexpected things might happen. Replace by safer code.
    donald committed Nov 22, 2018
    Configuration menu
    Copy the full SHA
    846af5b View commit details
    Browse the repository at this point in the history
  3. mxmount: Use /usr/local/system/perl/bin/perl

    We might transfer /usr/bin/perl to a /pkg package in the future as we
    did with python. mxmount needs to be able to run before the automounter
    is available. Update perl path to /usr/local/system/perl/bin/perl, which
    is always available.
    donald committed Nov 22, 2018
    Configuration menu
    Copy the full SHA
    c515e79 View commit details
    Browse the repository at this point in the history
  4. mxmount: Add option --reexport-only

    Calling mxmount with --reexport-only will not try to mount filesystems,
    but just rewrite /etc/exports and call exportfs -ra.
    
    This is supposed to be done by clusterd, when the export groups in
    /etc/hostconfig were changed.
    donald committed Nov 22, 2018
    Configuration menu
    Copy the full SHA
    24b66dc View commit details
    Browse the repository at this point in the history
  5. clusterd: add --reexport

    `clusterd --reexport` triggers all clusterd daemons to run `mxmount
    --reexport-only`. This should be done, when the export groups in
    hostconfig were updated.
    donald committed Nov 22, 2018
    Configuration menu
    Copy the full SHA
    d5cf90d View commit details
    Browse the repository at this point in the history