Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for osErrToFileErr (0.16 sec)

  1. cmd/xl-storage.go

    		return osErrToFileErr(err)
    	}
    
    	odirectEnabled := globalAPIConfig.odirectEnabled() && s.oDirect && fileSize > 0
    
    	var w *os.File
    	if odirectEnabled {
    		w, err = OpenFileDirectIO(filePath, flags, 0o666)
    	} else {
    		w, err = OpenFile(filePath, flags, 0o666)
    	}
    	if err != nil {
    		return osErrToFileErr(err)
    	}
    
    	var bufp *[]byte
    	switch {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  2. cmd/prepare-storage.go

    		storageLogIf(GlobalContext, fmt.Errorf("unable to rename (%s -> %s) %w, drive may be faulty, please investigate",
    			pathJoin(diskPath, minioMetaTmpBucket),
    			tmpOld,
    			osErrToFileErr(err)))
    	}
    
    	if err := mkdirAll(pathJoin(diskPath, minioMetaTmpDeletedBucket), 0o777, diskPath); err != nil {
    		storageLogIf(GlobalContext, fmt.Errorf("unable to create (%s) %w, drive may be faulty, please investigate",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  3. cmd/xl-storage-disk-id-check.go

    			if err != nil {
    				if osErrToFileErr(err) == errFaultyDisk {
    					goOffline(fmt.Errorf("unable to write: %w", err), 0)
    				}
    				return
    			}
    			b, err := p.storage.ReadAll(context.Background(), minioMetaTmpBucket, fn)
    			if err != nil || len(b) != len(toWrite) {
    				if osErrToFileErr(err) == errFaultyDisk {
    					goOffline(fmt.Errorf("unable to read: %w", err), 0)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. cmd/metacache-server-pool.go

    				return fmt.Errorf("unable to rename (%s -> %s) %w",
    					pathJoin(epPath, minioMetaBucket+metacachePrefixForID(minioMetaBucket, slashSeparator)),
    					tmpMetacacheOld,
    					osErrToFileErr(err))
    			}
    		}
    		return nil
    	})
    }
    
    // listPath will return the requested entries.
    // If no more entries are in the listing io.EOF is returned,
    // otherwise nil or an unexpected error is returned.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top