mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 15:29:26 +01:00
add ext4 and xfs as SR type
This commit is contained in:
parent
801fef1157
commit
80ac397842
@ -357,6 +357,12 @@
|
||||
<data name="Label-SR.SRTypes-ext" xml:space="preserve">
|
||||
<value>Ext3</value>
|
||||
</data>
|
||||
<data name="Label-SR.SRTypes-ext4" xml:space="preserve">
|
||||
<value>Ext4</value>
|
||||
</data>
|
||||
<data name="Label-SR.SRTypes-xfs" xml:space="preserve">
|
||||
<value>XFS</value>
|
||||
</data>
|
||||
<data name="Label-SR.SRTypes-iscsi" xml:space="preserve">
|
||||
<value>VDI-per-LUN iSCSI</value>
|
||||
</data>
|
||||
|
@ -357,6 +357,12 @@
|
||||
<data name="Label-SR.SRTypes-ext" xml:space="preserve">
|
||||
<value>Ext3</value>
|
||||
</data>
|
||||
<data name="Label-SR.SRTypes-ext4" xml:space="preserve">
|
||||
<value>Ext4</value>
|
||||
</data>
|
||||
<data name="Label-SR.SRTypes-xfs" xml:space="preserve">
|
||||
<value>XFS</value>
|
||||
</data>
|
||||
<data name="Label-SR.SRTypes-iscsi" xml:space="preserve">
|
||||
<value>VDI-per-LUN iSCSI</value>
|
||||
</data>
|
||||
|
@ -357,6 +357,12 @@
|
||||
<data name="Label-SR.SRTypes-ext" xml:space="preserve">
|
||||
<value>Ext3</value>
|
||||
</data>
|
||||
<data name="Label-SR.SRTypes-ext4" xml:space="preserve">
|
||||
<value>Ext4</value>
|
||||
</data>
|
||||
<data name="Label-SR.SRTypes-xfs" xml:space="preserve">
|
||||
<value>XFS</value>
|
||||
</data>
|
||||
<data name="Label-SR.SRTypes-iscsi" xml:space="preserve">
|
||||
<value>VDI-per-LUN iSCSI</value>
|
||||
</data>
|
||||
|
@ -49,13 +49,13 @@ namespace XenAPI
|
||||
/// </summary>
|
||||
public enum SRTypes
|
||||
{
|
||||
local, ext, lvmoiscsi, iso, nfs, lvm, netapp, udev, lvmofc,
|
||||
local, ext, ext4, lvmoiscsi, iso, nfs, lvm, netapp, udev, lvmofc,
|
||||
lvmohba, egenera, egeneracd, dummy, unknown, equal, cslg, shm,
|
||||
iscsi,
|
||||
ebs, rawhba,
|
||||
smb, lvmofcoe, gfs2,
|
||||
nutanix, nutanixiso,
|
||||
tmpfs
|
||||
tmpfs, xfs
|
||||
}
|
||||
|
||||
public const long DISK_MAX_SIZE = 2 * Util.BINARY_TERA;
|
||||
@ -245,7 +245,9 @@ namespace XenAPI
|
||||
|| type == SRTypes.cslg
|
||||
|| type == SRTypes.smb
|
||||
|| type == SRTypes.lvmofcoe
|
||||
|| type == SRTypes.gfs2;
|
||||
|| type == SRTypes.gfs2
|
||||
|| type == SRTypes.ext4
|
||||
|| type == SRTypes.xfs;
|
||||
}
|
||||
|
||||
public bool IsLocalSR()
|
||||
@ -256,7 +258,8 @@ namespace XenAPI
|
||||
|| typ == SRTypes.lvm
|
||||
|| typ == SRTypes.udev
|
||||
|| typ == SRTypes.egeneracd
|
||||
|| typ == SRTypes.dummy;
|
||||
|| typ == SRTypes.dummy
|
||||
|| typ == SRTypes.ext4;
|
||||
}
|
||||
|
||||
public bool ShowForgetWarning()
|
||||
|
Loading…
Reference in New Issue
Block a user