diff --git a/azurelinuxagent/daemon/resourcedisk/default.py b/azurelinuxagent/daemon/resourcedisk/default.py index df4bb76f8c..d23bc2fab4 100644 --- a/azurelinuxagent/daemon/resourcedisk/default.py +++ b/azurelinuxagent/daemon/resourcedisk/default.py @@ -124,7 +124,7 @@ def mount_resource_disk(self, mount_point): "{0}: {1}".format(device, ret[1])) force_option = 'F' - if self.fs == 'xfs': + if self.fs in ('btrfs', 'xfs'): force_option = 'f' mkfs_string = "mkfs.{0} -{2} {1}".format( self.fs, partition, force_option)