First, Linux system
1. Download Auto_fdisk.zip in cloud server, execute command: wget "http://bbs.aliyun.com/job.php?action=download&aid=35097"-O./auto_ Fdisk.zip
2. Extract auto_fdisk.zip, execute command: Unzip./auto_fdisk.zip
3. Give auto_fdisk.sh execute authority, execute command: chmod a+x./auto_fdisk.sh
4. Partition and format, execute command as root: Bash./auto_fdisk.sh
Second, Windows system
Go to the command prompt and execute the following command:
C:usersadministrator>diskpart
Diskpart> list Disk
Disk ### state size available Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online GB 0 GB (disks that can run the system)
Disk 1 online GB GB (disks that require 4k alignment)
Diskpart> Select disk 1
Disk 1 is now the selected disk.
Diskpart> list partition
There are no partitions displayed on this disk.
Diskpart> Clean
DiskPart successfully cleared the disk.
Diskpart> create partition primary align=1024 (4k partition Alignment)
DiskPart successfully created the specified partition.
Diskpart> list partition
Partition ### Type size offset
------------- ---------------- ------- -------
* Partition 1 Main GB 1024 KB (4K alignment has been successful)
Go to Computer Management in Administrative tools and select Disk Management on the left. On disk 1, click Change Drive Letter and path.
Add a valid drive letter.
then click OK.
Then format it, right-click on disk 1 and choose Format.
After confirmation, enter the relevant formatting information and wait for the format to complete.