Score:-2

how can change filesystem from ext4 to xfs

ng flag

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.

djdomi avatar
za flag
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.
Score:2
cn flag
Bob
  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.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.