Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/object-api-errors.go

    	if oerr == nil {
    		return nil
    	}
    
    	// Unwarp the error first
    	err := unwrapAll(oerr)
    
    	if err == context.Canceled {
    		return context.Canceled
    	}
    
    	switch err.Error() {
    	case errVolumeNotFound.Error():
    		apiErr := BucketNotFound{}
    		if len(params) >= 1 {
    			apiErr.Bucket = params[0]
    		}
    		return apiErr
    	case errVolumeNotEmpty.Error():
    		apiErr := BucketNotEmpty{}
    		if len(params) >= 1 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. cmd/format-erasure.go

    	if err != nil {
    		// 'file not found' and 'volume not found' as
    		// same. 'volume not found' usually means its a fresh disk.
    		if errors.Is(err, errFileNotFound) || errors.Is(err, errVolumeNotFound) {
    			return nil, errUnformattedDisk
    		}
    		return nil, err
    	}
    
    	// Try to decode format json into formatConfigV1 struct.
    	format = &formatErasureV3{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
Back to top