Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 242 for diskfis (0.42 sec)

  1. cmd/erasure-server-pool-rebalance.go

    		return true
    	}
    
    	return false
    }
    
    func (set *erasureObjects) listObjectsToRebalance(ctx context.Context, bucketName string, fn func(entry metaCacheEntry)) error {
    	disks, _ := set.getOnlineDisksWithHealing(false)
    	if len(disks) == 0 {
    		return fmt.Errorf("no online drives found for set with endpoints %s", set.getEndpoints())
    	}
    
    	// However many we ask, versions must exist on ~50%
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  2. cmd/bucket-handlers_test.go

    	"fmt"
    	"io"
    	"net/http"
    	"net/http/httptest"
    	"strconv"
    	"testing"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    // Wrapper for calling RemoveBucket HTTP handler tests for both Erasure multiple disks and single node setup.
    func TestRemoveBucketHandler(t *testing.T) {
    	ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testRemoveBucketHandler, endpoints: []string{"RemoveBucket"}})
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  3. docs/distributed/distributed-from-config-file.sh

    if [ "${expected_checksum}" != "${actual_checksum}" ]; then
    	echo "unexpected object checksum, expected: ${expected_checksum} got: ${actual_checksum}"
    	exit
    fi
    
    # Compare the difference of the list of disks and their location, with the below expected output
    diff <(./mc admin info minio1 --json | jq -r '.info.servers[].drives[] | "\(.pool_index),\(.set_index),\(.disk_index) \(.endpoint)"' | sort) <(
    	cat <<EOF
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. cluster/gce/list-resources.sh

    gcloud-list compute instances "${ZONE:+"zone:(${ZONE}) AND "}name ~ '${INSTANCE_PREFIX}.*'"
    
    # List disk resources, filtering by instance prefix if provided.
    gcloud-list compute disks "${ZONE:+"zone:(${ZONE}) AND "}name ~ '${INSTANCE_PREFIX}.*'"
    
    # List network resources. We include names starting with "a", corresponding to
    # those that Kubernetes creates.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 15:44:25 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. cmd/object-api-deleteobject_test.go

    package cmd
    
    import (
    	"context"
    	"crypto/md5"
    	"encoding/hex"
    	"strings"
    	"testing"
    )
    
    // Wrapper for calling DeleteObject tests for both Erasure multiple disks and single node setup.
    func TestDeleteObject(t *testing.T) {
    	ExecObjectLayerTest(t, testDeleteObject)
    }
    
    // Unit test for DeleteObject in general.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. cmd/rebalance-admin.go

    	}
    
    	// Compute disk usage percentage
    	si := z.StorageInfo(ctx, true)
    	diskStats := make([]struct {
    		AvailableSpace uint64
    		TotalSpace     uint64
    	}, len(z.serverPools))
    	for _, disk := range si.Disks {
    		// Ignore invalid.
    		if disk.PoolIndex < 0 || len(diskStats) <= disk.PoolIndex {
    			// https://github.com/minio/minio/issues/16500
    			continue
    		}
    		diskStats[disk.PoolIndex].AvailableSpace += disk.AvailableSpace
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 22 00:56:43 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. cmd/server-startup-msg_test.go

    	"os"
    	"reflect"
    	"strings"
    	"testing"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    // Tests if we generate storage info.
    func TestStorageInfoMsg(t *testing.T) {
    	infoStorage := StorageInfo{}
    	infoStorage.Disks = []madmin.Disk{
    		{Endpoint: "http://127.0.0.1:9000/data/1/", State: madmin.DriveStateOk},
    		{Endpoint: "http://127.0.0.1:9000/data/2/", State: madmin.DriveStateOk},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. cmd/notification.go

    		if err != nil {
    			sys.addNodeErr(&reply[index], sys.peerClients[index], err)
    		}
    	}
    	return reply
    }
    
    // Construct a list of offline disks information for a given node.
    // If offlineHost is empty, do it for the local disks.
    func getOfflineDisks(offlineHost string, endpoints EndpointServerPools) []madmin.Disk {
    	var offlineDisks []madmin.Disk
    	for _, pool := range endpoints {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  9. cmd/background-heal-ops.go

    func healDiskFormat(ctx context.Context, objAPI ObjectLayer, opts madmin.HealOpts) (madmin.HealResultItem, error) {
    	res, err := objAPI.HealFormat(ctx, opts.DryRun)
    
    	// return any error, ignore error returned when disks have
    	// already healed.
    	if err != nil && err != errNoHealRequired {
    		return madmin.HealResultItem{}, err
    	}
    
    	return res, nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. buildscripts/verify-healing.sh

    	done
    }
    
    function perform_test() {
    	start_port=$2
    
    	start_minio_3_node $start_port
    
    	echo "Testing Distributed Erasure setup healing of drives"
    	echo "Remove the contents of the disks belonging to '${1}' node"
    
    	rm -rf ${WORK_DIR}/${1}/*/
    
    	set -x
    	start_minio_3_node $start_port
    
    	check_heal ${1}
    	rv=$?
    	if [ "$rv" == "1" ]; then
    		for i in $(seq 1 3); do
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top