Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for unmounted (0.16 sec)

  1. pkg/kubelet/volumemanager/reconciler/reconciler.go

    	// resizing.
    	rc.mountOrAttachVolumes()
    
    	// Unmount volumes only when DSW and ASW are fully populated to prevent unmounting a volume
    	// that is still needed, but it did not reach DSW yet.
    	if readyToUnmount {
    		// Ensure devices that should be detached/unmounted are detached/unmounted.
    		rc.unmountDetachDevices()
    
    		// Clean up any orphan volumes that failed reconstruction.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/reset/unmount.go

    	"k8s.io/klog/v2"
    )
    
    // unmountKubeletDirectory is a NOOP on all but linux.
    func unmountKubeletDirectory(kubeletRunDirectory string, flags []string) error {
    	klog.Warning("Cannot unmount filesystems on current OS, all mounted file systems will need to be manually unmounted")
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 10:58:44 UTC 2024
    - 922 bytes
    - Viewed (0)
  3. pkg/volume/fc/attacher.go

    	// There is no need to DetachDisk if this is the case (and DetachDisk will throw an error if we attempt)
    	if devName == "" {
    		return nil
    	}
    
    	unMounter := volumeSpecToUnmounter(detacher.mounter, detacher.host)
    	// The device is unmounted now. If UnmountDevice was retried, GetDeviceNameFromMount
    	// won't find any mount and won't return DetachDisk below.
    	// Therefore implement our own retry mechanism here.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 31 12:02:51 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  4. pkg/volume/iscsi/attacher.go

    func (detacher *iscsiDetacher) UnmountDevice(deviceMountPath string) error {
    	unMounter := volumeSpecToUnmounter(detacher.mounter, detacher.host, detacher.plugin)
    	err := detacher.manager.DetachDisk(*unMounter, deviceMountPath)
    	if err != nil {
    		return fmt.Errorf("iscsi: failed to detach disk: %s\nError: %v", deviceMountPath, err)
    	}
    	klog.V(4).Infof("iscsi: %q is unmounted, deleting the directory", deviceMountPath)
    	err = os.RemoveAll(deviceMountPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:31 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go

    	FILE_MODIFIED      = 0x2
    	FILE_ATTRIB        = 0x4
    	FILE_TRUNC         = 0x100000
    	FILE_NOFOLLOW      = 0x10000000
    	FILE_DELETE        = 0x10
    	FILE_RENAME_TO     = 0x20
    	FILE_RENAME_FROM   = 0x40
    	UNMOUNTED          = 0x20000000
    	MOUNTEDOVER        = 0x40000000
    	FILE_EXCEPTION     = 0x60000070
    )
    
    const (
    	TUNNEWPPA = 0x540001
    	TUNSETPPA = 0x540002
    
    	I_STR     = 0x5308
    	I_POP     = 0x5303
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. src/syscall/syscall_plan9.go

    		w.Msg = ""
    	}
    	return
    }
    
    func Unmount(name, old string) (err error) {
    	if fixwd(name, old) {
    		defer runtime.UnlockOSThread()
    	}
    	oldp, err := BytePtrFromString(old)
    	if err != nil {
    		return err
    	}
    	oldptr := uintptr(unsafe.Pointer(oldp))
    
    	var r0 uintptr
    	var e ErrorString
    
    	// bind(2) man page: If name is zero, everything bound or mounted upon old is unbound or unmounted.
    	if name == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. pkg/channels/unbounded.go

    // performance critical code paths, using Unbounded is strongly discouraged and
    // defining a new type specific implementation of this buffer is preferred. See
    // internal/transport/transport.go for an example of this.
    type Unbounded[T any] struct {
    	c       chan T
    	mu      sync.Mutex
    	backlog []T
    }
    
    // NewUnbounded returns a new instance of Unbounded.
    func NewUnbounded[T any]() *Unbounded[T] {
    	return &Unbounded[T]{c: make(chan T, 1)}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 31 19:53:39 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/reset/unmount_linux.go

    	}
    	return res
    }
    
    // unmountKubeletDirectory unmounts all paths that contain KubeletRunDirectory
    func unmountKubeletDirectory(kubeletRunDirectory string, flags []string) error {
    	raw, err := os.ReadFile("/proc/mounts")
    	if err != nil {
    		return err
    	}
    
    	if !strings.HasSuffix(kubeletRunDirectory, "/") {
    		// trailing "/" is needed to ensure that possibly mounted /var/lib/kubelet is skipped
    		kubeletRunDirectory += "/"
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 10:58:44 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. pkg/volume/nfs/nfs_test.go

    			t.Errorf("Unexpected mounter action: %#v", log[0])
    		}
    	}
    	fake.ResetLog()
    
    	unmounter, err := plug.(*nfsPlugin).newUnmounterInternal("vol1", types.UID("poduid"), fake)
    	if err != nil {
    		t.Errorf("Failed to make a new Unmounter: %v", err)
    	}
    	if unmounter == nil {
    		t.Errorf("Got a nil Unmounter")
    	}
    	if err := unmounter.TearDown(); err != nil {
    		t.Errorf("Expected success, got: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go

    		if err != nil {
    			klog.Warningf("[reset] Skipping unmount of directories in %q: %v\n",
    				kubeadmconstants.KubeletRunDirectory, err)
    		} else {
    			// Unmount all mount paths under kubeletRunDirectory.
    			fmt.Printf("[reset] Unmounting mounted directories in %q\n", kubeadmconstants.KubeletRunDirectory)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top