Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

CDH adds storage

Shulou Source: shulou.com Published: 2022-06-03 04:41:46 11月25日 Update

1. First of all, it is found that there is an extra / dev/ Vxdf disk. Check that this disk is the 1T disk you are going to add.

2. Fdisk-l / View disk partitions

3. Fdisk / dev/vxdf to / dev/vxdf partition, m to see help, n to create a new partition (p is the primary partition, e is the extended partition, there can be no more than 4 primary partitions on a disk), and finally w save.

4. Mkfs.ext3 / dev/vxdb1 is formatted into ext3, in which the file format is preferably the same as that of the previous datanode directory.

5 、 mkdir / dfs

Mount / dev/vxdb1 / dfs mount the partition to the specified mount point

6. Modify / dev/fstab to complete automatic mount

7. Add the mount point / dfs to the DataNode root directory in the cluster hdfs configuration, and then save and restart the cluster.

Tags: Format file disk cluster same that is situation location best root directory directory create new prepare help configure store Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Docker Shulou Tech Info MariaDB MySQL