Now that we have our input list ready, and looked through it carefully, cross-checking with what is already mounted, it is time to actually act on it. In general all disks will have the same size, so you want to change the hardcoded disk size in the script below :
> >
Now that we have our input list ready, and looked through it carefully, cross-checking with what is already mounted, it is time to actually act on it. In general all disks will have the same size, so you want to change the hardcoded disk size in the script below, which is also on the given file on the T2 :
/share/apps/misc/storage/prepare-disks.sh
for disk in $(ls /dev/sd* | grep -v -P '.*[0-9]{1,3}' ) ; do
Line: 63 to 65
Including prepared disks into fstab
Changed:
< <
This step is important to include the fresh-prepared partitions into the system, and by doing that, they will be picked up by the automatic hadoop configuration scripts.
> >
This step is important to include the fresh-prepared partitions into the system, and by doing that, they will be picked up by the automatic hadoop configuration scripts. Use the script or the file at the T2 :
/share/apps/misc/storage/insert-fstab.sh