Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for errVolumeNotFound (0.26 sec)

  1. cmd/erasure-healing.go

    			driveState = madmin.DriveStateOffline
    		case errs[i] == errFileNotFound, errs[i] == errFileVersionNotFound, errs[i] == errVolumeNotFound:
    			fallthrough
    		case dataErrs[i] == errFileNotFound, dataErrs[i] == errFileVersionNotFound, dataErrs[i] == errVolumeNotFound:
    			driveState = madmin.DriveStateMissing
    		default:
    			// all remaining cases imply corrupt data/metadata
    			driveState = madmin.DriveStateCorrupt
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    		// Expecting to fail with `errVolumeNotFound`.
    		{
    			srcVol:      "src-vol-non-existent",
    			destVol:     "dest-vol",
    			srcPath:     "file4",
    			destPath:    "new-path/",
    			expectedErr: errVolumeNotFound,
    		},
    		// TestXLStorage case - 11.
    		// TestXLStorage case with non-existent destination volume.
    		// Expecting to fail with `errVolumeNotFound`.
    		{
    			srcVol:      "src-vol",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  3. cmd/storage-errors.go

    var errIsNotRegular = StorageErr("not of regular file type")
    
    // errPathNotFound - cannot find the path.
    var errPathNotFound = StorageErr("path not found")
    
    // errVolumeNotFound - cannot find the volume.
    var errVolumeNotFound = StorageErr("volume not found")
    
    // errVolumeNotEmpty - volume not empty.
    var errVolumeNotEmpty = StorageErr("volume is not empty")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. cmd/peer-s3-client.go

    			return madmin.HealResultItem{}, poolErr
    		}
    	}
    
    	for i, err := range errs {
    		if err == nil {
    			return healBucketResults[i], nil
    		}
    	}
    
    	return madmin.HealResultItem{}, toObjectErr(errVolumeNotFound, bucket)
    }
    
    // ListBuckets lists buckets across all nodes and returns a consistent view:
    //   - Return an error when a pool cannot return N/2+1 valid bucket information
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    	} else {
    		err = Remove(volumeDir)
    	}
    
    	if err != nil {
    		switch {
    		case errors.Is(err, errFileNotFound):
    			return errVolumeNotFound
    		case osIsNotExist(err):
    			return errVolumeNotFound
    		case isSysErrNotEmpty(err):
    			return errVolumeNotEmpty
    		case osIsPermission(err):
    			return errDiskAccessDenied
    		case isSysErrIO(err):
    			return errFaultyDisk
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. cmd/erasure-common.go

    			toAdd.Exists = false
    			toAdd.Error = errErasureReadQuorum.Error()
    			toAdd.Data = nil
    		}
    		dataArray = append(dataArray, toAdd)
    	}
    
    	ignoredErrs := []error{
    		errFileNotFound,
    		errVolumeNotFound,
    		errFileVersionNotFound,
    		io.ErrUnexpectedEOF, // some times we would read without locks, ignore these errors
    		io.EOF,              // some times we would read without locks, ignore these errors
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    	uploadIDPath := er.getUploadIDDir(bucket, object, uploadID)
    	// Validates if upload ID exists.
    	fi, _, err := er.checkUploadIDExists(rctx, bucket, object, uploadID, true)
    	if err != nil {
    		if errors.Is(err, errVolumeNotFound) {
    			return pi, toObjectErr(err, bucket)
    		}
    		return pi, toObjectErr(err, bucket, object, uploadID)
    	}
    
    	// Write lock for this part ID, only hold it if we are planning to read from the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  8. cmd/peer-s3-server.go

    			if serr != nil {
    				if serr == errDiskNotFound {
    					beforeState[index] = madmin.DriveStateOffline
    					afterState[index] = madmin.DriveStateOffline
    					return serr
    				}
    				if serr != errVolumeNotFound {
    					beforeState[index] = madmin.DriveStateCorrupt
    					afterState[index] = madmin.DriveStateCorrupt
    					return serr
    				}
    
    				beforeState[index] = madmin.DriveStateMissing
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  9. cmd/storage-rest-client.go

    		return errFaultyRemoteDisk
    	case errFileCorrupt.Error():
    		return errFileCorrupt
    	case errUnexpected.Error():
    		return errUnexpected
    	case errDiskFull.Error():
    		return errDiskFull
    	case errVolumeNotFound.Error():
    		return errVolumeNotFound
    	case errVolumeExists.Error():
    		return errVolumeExists
    	case errFileNotFound.Error():
    		return errFileNotFound
    	case errFileVersionNotFound.Error():
    		return errFileVersionNotFound
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  10. cmd/metacache-server-pool.go

    	err := mergeEntryChannels(ctx, inputs, results, 1)
    
    	cancelList()
    	wg.Wait()
    
    	// we should return 'errs' from per disk
    	if isAllNotFound(errs) {
    		if isAllVolumeNotFound(errs) {
    			return errVolumeNotFound
    		}
    		return nil
    	}
    
    	if err != nil {
    		return err
    	}
    
    	if contextCanceled(ctx) {
    		return ctx.Err()
    	}
    
    	for _, err := range errs {
    		if errors.Is(err, io.EOF) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
Back to top