mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(host-deployer): set xfs default ftype 1 (#22233)
This commit is contained in:
@@ -417,7 +417,7 @@ func FormatPartition(path, fs, uuid string) error {
|
||||
// #case fs == "ntfs":
|
||||
// # cmd = []string{"/sbin/mkfs.ntfs"}
|
||||
case fs == "xfs":
|
||||
cmd = []string{"mkfs.xfs", "-f", "-m", "crc=0", "-i", "projid32bit=0", "-n", "ftype=0"}
|
||||
cmd = []string{"mkfs.xfs", "-f", "-m", "crc=0", "-i", "projid32bit=0", "-n", "ftype=1"}
|
||||
cmdUuid = []string{"xfs_admin", "-U", uuid}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user