Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 542 for scsi (0.05 sec)

  1. pkg/volume/util/device_util_linux.go

    			devices = append(devices, filepath.Join("/dev/", f.Name()))
    		}
    	}
    	return devices
    }
    
    // GetISCSIPortalHostMapForTarget given a target iqn, find all the scsi hosts logged into
    // that target. Returns a map of iSCSI portals (string) to SCSI host numbers (integers).
    //
    //	For example: {
    //	   "192.168.30.7:3260": 2,
    //	   "192.168.30.8:3260": 3,
    //	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  2. pkg/volume/fc/fc_util.go

    	//   <VENDOR NAME> <IDENTIFIER NUMBER>
    	// Example of symlink under by-id:
    	//   /dev/by-id/scsi-3600508b400105e210000900000490000
    	//   /dev/by-id/scsi-<VENDOR NAME>_<IDENTIFIER NUMBER>
    	// The wwid could contain white space and it will be replaced
    	// underscore when wwid is exposed under /dev/by-id.
    
    	fcPath := "scsi-" + wwid
    	devID := byID
    	if dirs, err := io.ReadDir(devID); err == nil {
    		for _, f := range dirs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  3. pkg/volume/iscsi/iscsi_util.go

    func (util *ISCSIUtil) MakeGlobalPDName(iscsi iscsiDisk) string {
    	return makePDNameInternal(iscsi.plugin.host, iscsi.Portals[0], iscsi.Iqn, iscsi.Lun, iscsi.Iface)
    }
    
    // MakeGlobalVDPDName returns path of global volume device plugin dir
    func (util *ISCSIUtil) MakeGlobalVDPDName(iscsi iscsiDisk) string {
    	return makeVDPDNameInternal(iscsi.plugin.host, iscsi.Portals[0], iscsi.Iqn, iscsi.Lun, iscsi.Iface)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 22 12:53:01 UTC 2022
    - 34.1K bytes
    - Viewed (0)
  4. pkg/volume/fc/fc_util_test.go

    		}
    		return []os.FileInfo{f4, f5, f6, f1, f2, f3}, nil
    	case "/sys/block/":
    		f := &fakeFileInfo{
    			name: "dm-1",
    		}
    		return []os.FileInfo{f}, nil
    	case "/dev/disk/by-id/":
    		f := &fakeFileInfo{
    			name: "scsi-3600508b400105e210000900000490000",
    		}
    		return []os.FileInfo{f}, nil
    	}
    	return nil, nil
    }
    
    func (handler *fakeIOHandler) Lstat(name string) (os.FileInfo, error) {
    	return nil, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 23 08:36:01 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  5. cluster/gce/config-default.sh

    KUBE_CREATE_NODES="${KUBE_CREATE_NODES:-true}"
    
    # An extension to local SSDs allowing users to specify block/fs and SCSI/NVMe devices
    # Format of this variable will be "#,scsi/nvme,block/fs" you can specify multiple
    # configurations by separating them by a semi-colon ex. "2,scsi,fs;1,nvme,block"
    # is a request for 2 SCSI formatted and mounted SSDs and 1 NVMe block device SSD.
    NODE_LOCAL_SSDS_EXT=${NODE_LOCAL_SSDS_EXT:-}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 20:16:32 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  6. cluster/gce/config-test.sh

    KUBE_CREATE_NODES=${KUBE_CREATE_NODES:-true}
    
    # An extension to local SSDs allowing users to specify block/fs and SCSI/NVMe devices
    # Format of this variable will be "#,scsi/nvme,block/fs" you can specify multiple
    # configurations by separating them by a semi-colon ex. "2,scsi,fs;1,nvme,block"
    # is a request for 2 SCSI formatted and mounted SSDs and 1 NVMe block device SSD.
    NODE_LOCAL_SSDS_EXT=${NODE_LOCAL_SSDS_EXT:-}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 17:20:24 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        byte[] descending = new byte[100];
        for (int i = 0; i < 100; i++) {
          descending[i] = (byte) (99 - i);
        }
        assertCrc(0xd022db97, descending);
      }
    
      public void testScsiReadCommand() {
        // Test SCSI read command.
        byte[] scsiReadCommand =
            new byte[] {
              0x01, (byte) 0xc0, 0x00, 0x00,
              0x00, 0x00, 0x00, 0x00,
              0x00, 0x00, 0x00, 0x00,
              0x00, 0x00, 0x00, 0x00,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 23 18:30:33 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  8. pkg/securitycontext/util.go

    	defaultMaskedPaths = []string{
    		"/proc/asound",
    		"/proc/acpi",
    		"/proc/kcore",
    		"/proc/keys",
    		"/proc/latency_stats",
    		"/proc/timer_list",
    		"/proc/timer_stats",
    		"/proc/sched_debug",
    		"/proc/scsi",
    		"/sys/firmware",
    	}
    	defaultReadonlyPaths = []string{
    		"/proc/bus",
    		"/proc/fs",
    		"/proc/irq",
    		"/proc/sys",
    		"/proc/sysrq-trigger",
    	}
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 15 07:28:24 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  9. pkg/volume/util/device_util_linux_test.go

    	mockDeviceUtil := NewDeviceHandler(&mockOsIOHandler{})
    	portalHostMap, err := mockDeviceUtil.GetISCSIPortalHostMapForTarget("target1")
    	if err != nil {
    		t.Fatalf("error getting scsi hosts for target: %v", err)
    	}
    	if portalHostMap == nil {
    		t.Fatal("no portal host map returned")
    	}
    	if len(portalHostMap) != 1 {
    		t.Fatalf("wrong number of map entries in portal host map: %d", len(portalHostMap))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 8K bytes
    - Viewed (0)
  10. cluster/gce/gci/configure-helper.sh

          if [[ "${i}" -lt "${scsiblocknum}" ]]; then
            mount-ext "${ssd}" "${devicenum}" "scsi" "block"
          else
            # GKE does not set NODE_LOCAL_SSDS so all non-block devices
            # are assumed to be filesystem devices
            mount-ext "${ssd}" "${devicenum}" "scsi" "fs"
          fi
          i=$((i+1))
        else
          echo "No local SCSI SSD disks found."
        fi
      done
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
Back to top