Last update at :2024-06-11,Edit by888u
Regarding the mounting of data disks, in fact, the most useful one at present is the BT-Panel Linux automatic disk mounting tool, which can mount data disks with one click without any brain. Snail 789 has mentioned mounting methods and script sharing in some articles before. You can refer to the following articles:
- How to mount the data disk to a specified directory for Linux VPS
- BT-Panel Linux automatic disk mounting tool mounts data disks to the /www directory with one click
- How to mount a data disk in a Linux VPS system to a website directory with existing data (without causing data loss)
Tonight I met a blogger who said that when he purchased his VPS server, he chose to install the Windows system by default. Now after installing the Linux system, using the BT-Panel Linux automatic disk mounting tool to mount the data disk prompts an error and needs to be done manually. Delete NTFS partition. In fact, the BT-Panel Linux automatic disk mounting tool released a beta script at the end of October 2019. This script supports mounting NTFS/FAT32 partitions. You can choose to format the NTFS/FAT32 partition and automatically mount it. The script is reprinted here to share with fellow bloggers. If you still encounter the problem that the data disk cannot be mounted after installing the Windows system, you can directly use the following script to solve the problem.
1. Introduction to script functions
- 1. If there is an NTFS/FAT32 partition, you can choose to format it and mount it automatically
- 2. Added migration time statistics, based on 7200 rpm hard disk, if it is an SSD cloud disk, it will be much faster
- 3. If ctrl+c is interrupted during migration, a manual migration command will be given
- 4. Supports multiple disks and optional directory mounting
2. Mounting command
Mounting the data disk will format the hard disk. Please back up the data properly. We will not be responsible for data loss.
Centos:
yum install wget -y && wget -O disk.sh http://download.bt.cn/tools/disk.sh && bash disk.shUbuntu:
wget -O disk.sh http://download.bt.cn/tools/disk.sh && sudo bash disk.shDebian:
wget -O disk.sh http://download.bt.cn/tools/disk.sh && bash disk.shThe /www directory is mounted by default. If you need to mount other directories, just add the mounting directory after the mount command. It must start with /. Take the following to mount the /website directory as an example
wget -O disk.sh http://download.bt.cn/tools/disk.sh && bash disk.sh /website3. Pagoda Linux Panel
Pagoda Linux Panel is currently a relatively mature Linux system server management software in mainland China. It can quickly deploy a web operation and maintenance management page for the server with one click. It can visually install and deploy the website building environment, manage server files, etc. through the web management page. ! ! Using the Pagoda Linux panel, you can build a website on a Linux system server just like managing a virtual host.
If you are interested in the Pagoda Linux panel, you can check out the following article. The Pagoda Linux panel has free and paid versions. The free version is sufficient for general website building purposes. If you need the professional version of the Pagoda Linux panel, you can get the value through the following article. 3188 yuan gift package! ! The professional version of Pagoda Linux Panel can be tried for 0.99 yuan for one month.
#Website Building Panel Recommendation# Simple, easy-to-use Linux website building panel/Pagoda Linux Panel Professional Edition/First month experience of 0.99 yuan/Annual payment of 382 yuan/Three years of 716 yuan/Lifetime license of 1388 yuan
Recommended site search: free website domain name application, ASP hosting space, US server rental, Chinese domain name registration, org domain name, Changsha server hosting, the best US server, US unlimited content hosting, registration-free CDN acceleration, domain name purchase ,
发表评论