diff --git a/cmd/xl-storage.go b/cmd/xl-storage.go index a5b07ff50..ba761a97f 100644 --- a/cmd/xl-storage.go +++ b/cmd/xl-storage.go @@ -679,10 +679,8 @@ func (s *xlStorage) SetDiskID(id string) { func (s *xlStorage) MakeVolBulk(ctx context.Context, volumes ...string) error { for _, volume := range volumes { - if err := s.MakeVol(ctx, volume); err != nil { - if errors.Is(err, errDiskAccessDenied) { - return errDiskAccessDenied - } + if err := s.MakeVol(ctx, volume); err != nil && !errors.Is(err, errVolumeExists) { + return err } } return nil