Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for MakeVol (0.15 sec)

  1. 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)
  2. 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