Changing the filesystem from ext to xfs on a Cloud Server

In this guide you will convert your filesystem from ext3/4 to xfs.

Please be sure to have another server or host to store your backup file to during this process.

1). Reboot to rescue
2). mount /dev/vg00/lv01 /mnt/
3). tar -czvf /mnt/backup.tar.gz /mnt/
4). scp /mnt/backup.tar.gz root@74.208.1.1:/
5). umount /mnt
6). mkfs.xfs -f /dev/mapper/vg00-lv01
7). mount /dev/vg00/lv01 /mnt
8). cd /mnt
9). scp root@74.208.1.1:/backup.tar.gz .
10). tar –strip-components 1 -xvf backup.tar.gz
11). rm backup.tar.gz
12). Reboot to Local

Marv has written 28 articles

One thought on “Changing the filesystem from ext to xfs on a Cloud Server

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>