Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UnmapDevice (0.72 sec)

  1. pkg/volume/util/volumepathhandler/volume_path_handler.go

    	}
    	return os.Symlink(devicePath, linkPath)
    }
    
    // UnmapDevice removes a symbolic link associated to block device under specified map path
    func (v VolumePathHandler) UnmapDevice(mapPath string, linkName string, bindMount bool) error {
    	if len(mapPath) == 0 {
    		return fmt.Errorf("failed to unmap device from map path. mapPath is empty")
    	}
    	klog.V(5).Infof("UnmapDevice: mapPath %s", mapPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  2. pkg/volume/util/util.go

    	unmapDeviceErr := blkUtil.UnmapDevice(podDeviceUnmapPath, volumeMapName, false /* bindMount */)
    	if unmapDeviceErr != nil {
    		return fmt.Errorf("blkUtil.DetachFileDevice failed. podDeviceUnmapPath:%s, volumeMapName: %s, bindMount: %v: %v",
    			podDeviceUnmapPath, volumeMapName, false, unmapDeviceErr)
    	}
    
    	// unmap devicePath from global node path
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
Back to top