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

CDH adds storage

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

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.

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

Internet Technology

Wechat

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

12
Report