Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 383 for Disks (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/kube/inject/testdata/inject/statefulset.yaml.injected

                  expirationSeconds: 43200
                  path: istio-token
          - configMap:
              name: istio-ca-root-cert
            name: istiod-ca-cert
          - hostPath:
              path: /mnt/disks/ssd0
            name: data
      updateStrategy: {}
    status:
      availableReplicas: 0
      replicas: 0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. buildscripts/verify-healing-empty-erasure-set.sh

    			chmod +x /tmp/mc
    	fi
    }
    
    function perform_test() {
    	start_minio_3_node $2
    
    	echo "Testing Distributed Erasure setup healing of drives"
    	echo "Remove the contents of the disks belonging to '${1}' erasure set"
    
    	rm -rf ${WORK_DIR}/${1}/*/
    
    	set -x
    	start_minio_3_node $2
    }
    
    function main() {
    	# use same ports for all tests
    	start_port=$(shuf -i 10000-65000 -n 1)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:48:50 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. cmd/object-api-multipart_test.go

    func TestListObjectPartsDiskNotFound(t *testing.T) {
    	ExecObjectLayerDiskAlteredTest(t, testListObjectPartsDiskNotFound)
    }
    
    // testListObjectParts - Tests validate listing of object parts when disks go offline.
    func testListObjectPartsDiskNotFound(obj ObjectLayer, instanceType string, disks []string, t *testing.T) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  10. cmd/object-api-utils.go

    	}
    }
    
    // getDiskInfos returns the disk information for the provided disks.
    // If a disk is nil or an error is returned the result will be nil as well.
    func getDiskInfos(ctx context.Context, disks ...StorageAPI) []*DiskInfo {
    	res := make([]*DiskInfo, len(disks))
    	opts := DiskInfoOptions{}
    	for i, disk := range disks {
    		if disk == nil {
    			continue
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top