Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for MakeVol (0.05 sec)

  1. cmd/xl-storage-disk-id-check.go

    }
    
    func (p *xlStorageDiskIDCheck) MakeVol(ctx context.Context, volume string) (err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricMakeVol, volume)
    	if err != nil {
    		return err
    	}
    	defer done(0, &err)
    
    	w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    	return w.Run(func() error { return p.storage.MakeVol(ctx, volume) })
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. cmd/erasure-healing.go

    		return hr, nil
    	}
    
    	for i, err := range errs {
    		if err == errVolumeNotFound || err == errFileNotFound {
    			// Bucket or prefix/directory not found
    			merr := storageDisks[i].MakeVol(ctx, pathJoin(bucket, object))
    			switch merr {
    			case nil, errVolumeExists:
    				hr.After.Drives[i].State = madmin.DriveStateOk
    			case errDiskNotFound:
    				hr.After.Drives[i].State = madmin.DriveStateOffline
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    	for _, volume := range volumes {
    		err := s.MakeVol(ctx, volume)
    		if err != nil && !errors.Is(err, errVolumeExists) {
    			return err
    		}
    		diskHealthCheckOK(ctx, err)
    	}
    	return nil
    }
    
    // Make a volume entry.
    func (s *xlStorage) MakeVol(ctx context.Context, volume string) error {
    	if !isValidVolname(volume) {
    		return errInvalidArgument
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    func (s *storageRESTServer) MakeVolHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		return
    	}
    	volume := r.Form.Get(storageRESTVolume)
    	err := s.getStorage().MakeVol(r.Context(), volume)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    	}
    }
    
    // MakeVolBulkHandler - create multiple volumes as a bulk operation.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
Back to top