Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Disk space is full to replace disk synchronization data

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

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/

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report