部署HBlock示例 ./stor install w 2443 Do you agree with HBlock User Agreement? [Yes/No] Used in Chinese mainland, follow Otherwise, follow y Installing HBlock... Installed successfully. When all servers are installed, please initialize HBlock in any of the following ways: 1. Use web portal to initialize HBlock. The https port is 2443. 2. Use management API (POST /rest/v1/system/setup) to initialize HBlock. The https port is 1443. 3. Use command line (stor setup) to initialize HBlock. Type 'stor help setup' for more information. 2. 初始化HBlock。 密码可以按交互式输入,使用交互式输入密码时,以密文形式显示。 plaintext [root@hblockserver CTYUNHBlockPlus4.0.0x64] ./stor setup n stor1 u storuser s 192.168.0.32:/mnt/storage01,/mnt/stor Please enter password: Start to setup HBlock, please wait. Processing... Setup successfully and the HBlock services have been started. Welcome to HBlock! You are using a 30day trial version. Please follow the steps to get a license. 1. Run "stor info serialid" to get the serial ID of the HBlock 2. Contact the software vendor to obtain a license 3. Run "stor license add k KEY" to import the license Type 'stor help' to get more information, such as managing LUNs, targets, servers, etc. 3. 查询服务器。 plaintext [root@hblockserver CTYUNHBlockPlus4.0.0x64] ./stor server ls n hblock1 Server Name: hblockserver Server ID: hblock1 Status: Connected Public Address: 192.168.0.32:3260 Cluster Address: 192.168.0.32 Recent Start Time: 20251226 10:25:05 Version: 4.0.0 Parameters: {"maxMemoryRatio":0.95,"maxMemorySize":9223372036853727232} Disk Path(s): ++++++++ No. Path Used Capacity Total Capacity Used Capacity Quota Capacity Quota Health Status Health Detail ++++++++ 1. /mnt/storage01() 19.37 GiB 93.29 GiB 4 KiB Unlimited Healthy 2. /mnt/stor 1.17 GiB 93.29 GiB 4 KiB Unlimited Healthy ++++++++ 4. 获取软件许可证并加载。 HBlock软件提供30天试用期,过期后仅部分功能可用。您可以通过下列步骤获取软件许可证并加载。 plaintext [root@hblockserver CTYUNHBlockPlus4.0.0x64]