Tools Index

Storage

1. Moving partitions

Reboot into single-user mode where services aren't started and networking is offline.

        # init 1
        

Copy the data:

        # cp -apx /srv/* /mnt/srv
        

Rename directory, for later backup;

        # mv /srv /srv.old
        # mkdir /srv
        

Edit the /etc/fstabfile:

        # Server Data /srv
        UUID=6fadcb98-e442-4af7-a5f2-1ddb6100a8c4 /srv            ext4    defaults        0       2
        

Reboot in normal mode.

Tools Index

This is part of the c9-doc Manual. Copyright (C) 2016 c9 team. See the file Gnu Free Documentation License for copying conditions.