Skip to content

New PI share

Warning

This documentation is for internal use. It may be of interest to users who are curious about our internal processes and architecture, but should not be mistaken for describing services that we offer or stable infrastructure that end users should rely upon. If you find yourself submitting a ticket about something on this page, you are probably making a mistake.

GUI

All PIs get their own Quobyte Tenent, within which we create a volume.

  1. Login to our Quobyte web console

  2. Click Volumes on the left.

  3. Verify the PI does not already have a tenant/volume.

  4. Tenant -> Create tenant...

    1. Tenant name: {PI-Login-ID}grp
  5. Find the new Tenant with the Filter box.

  6. Click the three vertical dots next to the PI's tenant name

    1. Edit tenant quota...

      1. Ensure Unit: Binary (Default decimal) is set.

      2. Enter their quota into Any type

    2. Create tenant volume...

      1. Volume name: {PI-Login-ID}grp

      2. Owner user name: {PI-Login-ID}

      3. Owner group name: {PI-Login-ID}grp

      4. POSIX permission mask: 2770

  7. Verify the new volume exists:

    1. ls -l /quobyte/{PI-Login-ID}grp
  8. Research!

CLI

PREREQUISITE: update qmgmt.sh to use a r/w user.

  • Option: create a dedicated script that takes a PI name and quota and does all the work.

    • Show currently allocated quota in dedicated script.

  1. SSH to quobyte.hpc.

  2. export PI={PI-Login-ID}

  3. export PIQuota={Quota-in-TiB}

  4. Verify the PI tenant does not already exist.

    1. sudo /opt/hpccf/sbin/qmgmt.sh tenant resolve ${PI}grp

      1. Look for: FATAL: Operation failed due to invalid input: 'No such tenant:
  5. Create the tenant: sudo /opt/hpccf/sbin/qmgmt.sh tenant create ${PI}grp

  6. Create the volume: sudo /opt/hpccf/sbin/qmgmt.sh volume create "${PI}grp/${PI}grp" ${PI} ${PI}grp 2770

  7. Set the quota: sudo /opt/hpccf/sbin/qmgmt.sh quota create TENANT ${PI}grp LOGICAL_DISK_SPACE $(( ${PIQuota} * 1024**4))