Méthode | Description | |
---|---|---|
CheckForLvm ( int schemaHdNumber ) : string | ||
ClientPartitionHelper ( Models imageProfile ) : System | ||
ExtendedPartition ( int hdNumberToGet, long newHdSize ) : |
Calculates the minimum block size for an extended partition by determining the minimum size of all logical partitions that fall under the extended. Does not assume that any extended partitions actually exist.
|
|
GetActivePartitionCount ( int schemaHdNumber ) : int | ||
GetActivePartitions ( int schemaHdNumber, Models imageProfile ) : List |
||
GetImageSchema ( ) : Models.ImageSchema.ImageSchema | ||
GetPartitionNumbers ( int schemaHdNumber ) : List |
||
HardDrive ( int hdNumberToGet, long newHdSize ) : long |
Calculates the smallest size hard drive in Bytes that can be used to deploy the image to, based off the data usage. The newHdSize parameter is arbitrary but is used to determine if the hard being deployed to is the same size that the image was created from.
|
|
LogicalVolume ( Models lv, int lbsByte, long newHdSize, int hdNumberToGet ) : |
Calculates the minimum block size required for a single logical volume, assuming the logical volume cannot have any children.
|
|
NextActiveHardDrive ( List |
||
Partition ( int hdNumberToGet, int partNumberToGet, long newHdSize ) : |
Calculates the minimum block size required for a single partition, taking into account any children partitions.
|
|
VolumeGroup ( int hdNumberToGet, int partNumberToGet, long newHdSize ) : |
Calculates the minimum block size required for a volume group by determine the size of each logical volume within the volume group. Does not assume that any volume group actually exists. Volume Groups don't really have a size, so this ends up being the size of the physical partition. I just separated it for clarity.
|
public CheckForLvm ( int schemaHdNumber ) : string | ||
schemaHdNumber | int | |
Résultat | string |
public ClientPartitionHelper ( Models imageProfile ) : System | ||
imageProfile | Models | |
Résultat | System |
public ExtendedPartition ( int hdNumberToGet, long newHdSize ) : |
||
hdNumberToGet | int | |
newHdSize | long | |
Résultat |
public GetActivePartitionCount ( int schemaHdNumber ) : int | ||
schemaHdNumber | int | |
Résultat | int |
public GetActivePartitions ( int schemaHdNumber, Models imageProfile ) : List |
||
schemaHdNumber | int | |
imageProfile | Models | |
Résultat | List |
public GetImageSchema ( ) : Models.ImageSchema.ImageSchema | ||
Résultat | Models.ImageSchema.ImageSchema |
public GetPartitionNumbers ( int schemaHdNumber ) : List |
||
schemaHdNumber | int | |
Résultat | List |
public HardDrive ( int hdNumberToGet, long newHdSize ) : long | ||
hdNumberToGet | int | |
newHdSize | long | |
Résultat | long |
public LogicalVolume ( Models lv, int lbsByte, long newHdSize, int hdNumberToGet ) : |
||
lv | Models | |
lbsByte | int | |
newHdSize | long | |
hdNumberToGet | int | |
Résultat |
public NextActiveHardDrive ( List |
||
schemaImagedDrives | List |
|
clientHdNumber | int | |
Résultat | int |
public Partition ( int hdNumberToGet, int partNumberToGet, long newHdSize ) : |
||
hdNumberToGet | int | |
partNumberToGet | int | |
newHdSize | long | |
Résultat |
public VolumeGroup ( int hdNumberToGet, int partNumberToGet, long newHdSize ) : |
||
hdNumberToGet | int | |
partNumberToGet | int | |
newHdSize | long | |
Résultat |