-1

how can I change filesystem from ext4 to xfs without data losing? I've centos7 on Arvan cloud (IaaS like linode) and I don't have special permisson.

  • off-topic. changing the filesystem must always be a done via recreation of the filesystem. So backup, format and recovery is always the point. Questions should demonstrate reasonable information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault. – djdomi Jan 01 '22 at 11:04

1 Answers1

2
  1. Make a backup
  2. unmount the disk/partition/volume
  3. format the disk/partition/volume with mkfs.xfs
  4. restore the data from backup.
Bob
  • 5,805
  • 7
  • 25