Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Disk space is full to replace disk synchronization data

Shulou Source: shulou.com Published: 2022-06-01 07:06:09 11月25日 Update

Shut down the server and add a new hard disk in the settings (only two disks can be added to an IDE controller)

Start the virtual host

Execute the command fdisk-l to view the mounted disk (circled in the red box is the mounted disk)

Execute the command blkid to view the UUID of the newly added hard drive (view UUID based on the result of the previous command)

Copy UUID to replace vim / etc/fstab the UUID to be mounted to the directory in this configuration file (I need to mount the new product plate to www, so replace www's UUID)

After modification, create a new www2 command: mkdir www2

Mount mount / dev/sdc / www2

After the mount is finished, the following figure

Then start synchronizing the data, command: rsync-avz / www/ / www2/

Tags: Commands hard disk data disk synchronization host controller file new product server directory red result virtual host control service configuration space Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Docker Linux Redmi MySQL