Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 868 for Unmount (0.14 sec)

  1. cmd/kubeadm/app/cmd/phases/reset/unmount.go

    */
    
    package phases
    
    import (
    	"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)
  2. buildscripts/verify-healing-with-root-disks.sh

    		mkdir -p ${WORK_DIR}/mnt/disk${i}/
    		sudo mount ${device} ${WORK_DIR}/mnt/disk${i}/
    		sudo chown "$(id -u):$(id -g)" ${device} ${WORK_DIR}/mnt/disk${i}/
    	done
    	set +e
    }
    
    # Start a distributed MinIO setup, unmount one disk and check if it is formatted
    function main() {
    	start_port=$(shuf -i 10000-65000 -n 1)
    	start_minio ${start_port}
    
    	# Unmount the disk, after the unmount the device id
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/reset/unmount_linux.go

    	flagsInt := flagsToInt(flags)
    	for _, mount := range mounts {
    		m := strings.Split(mount, " ")
    		if len(m) < 2 || !strings.HasPrefix(m[1], kubeletRunDirectory) {
    			continue
    		}
    		klog.V(5).Infof("[reset] Unmounting %q", m[1])
    		if err := syscall.Unmount(m[1], flagsInt); err != nil {
    			errList = append(errList, errors.WithMessagef(err, "failed to unmount %q", m[1]))
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 10:58:44 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/config/types.go

    	DisableAttachDetachReconcilerSync bool
    	// ReconcilerSyncLoopPeriod is the amount of time the reconciler sync states loop
    	// wait between successive executions. Is set to 60 sec by default.
    	ReconcilerSyncLoopPeriod metav1.Duration
    	// DisableForceDetachOnTimeout disables force detach when the maximum unmount
    	// time is exceeded. Is false by default, and thus force detach on unmount is
    	// enabled.
    	DisableForceDetachOnTimeout bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 18:31:52 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. pkg/volume/iscsi/disk_manager.go

    	if err != nil {
    		klog.Errorf("Failed to bind mount: source:%s, target:%s, err:%v", globalPDPath, volPath, err)
    		noMnt, mntErr := b.mounter.IsLikelyNotMountPoint(volPath)
    		if mntErr != nil {
    			klog.Errorf("IsLikelyNotMountPoint check failed: %v", mntErr)
    			return err
    		}
    		if !noMnt {
    			if mntErr = b.mounter.Unmount(volPath); mntErr != nil {
    				klog.Errorf("Failed to unmount: %v", mntErr)
    				return err
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. pkg/kubelet/volumemanager/reconciler/reconciler_common.go

    // are all ready (before sources are ready, pods are probably missing)
    //
    // operationExecutor - used to trigger attach/detach/mount/unmount operations
    // safely (prevents more than one operation from being triggered on the same
    // volume)
    //
    // mounter - mounter passed in from kubelet, passed down unmount path
    //
    // hostutil - hostutil passed in from kubelet
    //
    // volumePluginMgr - volume plugin manager passed from kubelet
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. pkg/volume/fc/disk_manager.go

    		if mntErr != nil {
    			klog.Errorf("IsLikelyNotMountPoint check failed: %v", mntErr)
    			return err
    		}
    		if !noMnt {
    			if mntErr = b.mounter.Unmount(volPath); mntErr != nil {
    				klog.Errorf("Failed to unmount: %v", mntErr)
    				return err
    			}
    			noMnt, mntErr = b.mounter.IsLikelyNotMountPoint(volPath)
    			if mntErr != nil {
    				klog.Errorf("IsLikelyNotMountPoint check failed: %v", mntErr)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go

    		kubeletRunDirectory, err := filepath.EvalSymlinks(kubeadmconstants.KubeletRunDirectory)
    		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)
  9. pkg/kubelet/volumemanager/reconciler/reconstruct.go

    	// During kubelet startup, all volumes present on disk are added as uncertain to ASW.
    	// Allow unmount only when DSW is fully populated to prevent unmounting volumes that
    	// did not reach DSW yet.
    	if !rc.populatorHasAddedPods() {
    		return false
    	}
    
    	// Allow unmount only when ASW device paths were corrected from node.status to prevent
    	// calling unmount with a wrong devicePath.
    	if len(rc.volumesNeedUpdateFromNodeStatus) != 0 {
    		return false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. pkg/volume/util/operationexecutor/operation_executor.go

    	OuterVolumeSpecName string
    
    	// PluginName is the "Unescaped Qualified" name of the volume plugin used to
    	// mount and unmount this volume. It can be used to fetch the volume plugin
    	// to unmount with, on demand. It is also the name that plugins use, though
    	// escaped, in their pod mount path, i.e.
    	// /var/lib/kubelet/pods/{podUID}/volumes/{escapeQualifiedPluginName}/{outerVolumeSpecName}/
    	PluginName string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top