Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 868 for Unmount (0.2 sec)

  1. pkg/volume/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package volume includes internal representations of external volume types
    // as well as utility methods required to mount/unmount volumes to kubelets.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 16 17:48:21 UTC 2016
    - 781 bytes
    - Viewed (0)
  2. pkg/volume/nfs/nfs.go

    	if err != nil {
    		notMnt, mntErr := mount.IsNotMountPoint(nfsMounter.mounter, dir)
    		if mntErr != nil {
    			klog.Errorf("IsNotMountPoint check failed: %v", mntErr)
    			return err
    		}
    		if !notMnt {
    			if mntErr = nfsMounter.mounter.Unmount(dir); mntErr != nil {
    				klog.Errorf("Failed to unmount: %v", mntErr)
    				return err
    			}
    			notMnt, mntErr := mount.IsNotMountPoint(nfsMounter.mounter, dir)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. pkg/volume/util/volumepathhandler/volume_path_handler.go

    			return fmt.Errorf("failed to remove file %s: %v", linkPath, err)
    		}
    		return nil
    	}
    
    	// Unmount file
    	mounter := &mount.SafeFormatAndMount{Interface: mount.New(""), Exec: utilexec.New()}
    	if err := mounter.Unmount(linkPath); err != nil {
    		return fmt.Errorf("failed to unmount linkPath %s: %v", linkPath, err)
    	}
    
    	// Remove file
    	if err := os.Remove(linkPath); err != nil && !os.IsNotExist(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/reconciler/reconciler.go

    	readyToUnmount := rc.readyToUnmount()
    	if readyToUnmount {
    		// Unmounts are triggered before mounts so that a volume that was
    		// referenced by a pod that was deleted and is now referenced by another
    		// pod is unmounted from the first pod before being mounted to the new
    		// pod.
    		rc.unmountVolumes()
    	}
    
    	// Next we mount required volumes. This function could also trigger
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/symaddr_zos_s390x.s

    	RET
    
    TEXT ·get_Wait4Addr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Wait4(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_MountAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Mount(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_UnmountAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Unmount(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_UtimesNanoAtAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·UtimesNanoAt(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. pkg/volume/flexvolume/unmounter.go

    }
    
    func (f *flexVolumeUnmounter) TearDownAt(dir string) error {
    	pathExists, pathErr := mount.PathExists(dir)
    	if pathErr != nil {
    		// only log warning here since plugins should anyways have to deal with errors
    		klog.Warningf("Error checking path: %v", pathErr)
    	} else {
    		if !pathExists {
    			klog.Warningf("Warning: Unmount skipped because path does not exist: %v", dir)
    			return nil
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 14 13:58:56 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  7. pkg/kubelet/volumemanager/volume_manager.go

    	// The data structure is populated upon successful completion of attach,
    	// detach, mount, and unmount actions triggered by the reconciler.
    	actualStateOfWorld cache.ActualStateOfWorld
    
    	// operationExecutor is used to start asynchronous attach, detach, mount,
    	// and unmount operations.
    	operationExecutor operationexecutor.OperationExecutor
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. src/os/exec/lp_linux_test.go

    		} else {
    			t.Fatalf("exec: got %v, want nil", err)
    		}
    	}
    
    	// Remount with noexec flag.
    	err = syscall.Mount("", tmp, "", syscall.MS_REMOUNT|syscall.MS_NOEXEC, "")
    	if testenv.SyscallIsNotSupported(err) {
    		t.Skipf("requires ability to re-mount tmpfs (%v)", err)
    	} else if err != nil {
    		t.Fatalf("remount %s with noexec failed: %v", tmp, err)
    	}
    
    	if err := exec.Command(path).Run(); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:02:50 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. pkg/volume/fc/attacher.go

    	// Specify device name for DetachDisk later
    	devName, _, err := mount.GetDeviceNameFromMount(detacher.mounter, deviceMountPath)
    	if err != nil {
    		klog.Errorf("fc: failed to get device from mnt: %s\nError: %v", deviceMountPath, err)
    		return err
    	}
    	// Unmount for deviceMountPath(=globalPDPath)
    	err = mount.CleanupMountPoint(deviceMountPath, detacher.mounter, false)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 31 12:02:51 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  10. pkg/volume/flexvolume/detacher.go

    func (d *flexVolumeDetacher) UnmountDevice(deviceMountPath string) error {
    
    	pathExists, pathErr := mount.PathExists(deviceMountPath)
    	if !pathExists {
    		klog.Warningf("Warning: Unmount skipped because path does not exist: %v", deviceMountPath)
    		return nil
    	}
    	if pathErr != nil && !mount.IsCorruptedMnt(pathErr) {
    		return fmt.Errorf("error checking path: %w", pathErr)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 14 13:58:56 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top