Upgrade Cumulus FluxNode to Thunder (Cumulus-Fractus)
Upgrade Cumulus FluxNode Hardware to Thunder (Cumulus-Fractus)
- Power down the Cumulus PC we set up in the preceding tutorial
- Insert the SATA Hard Drive into the SATA to USB3 Adapter dock
- Connect the dock to the back of the HP 600 G1 Micro PC via USB 3 port ad connect the adapter power
- Power on the PC and log into Ubuntu
- At the shell prompt copy/paste the following:
sudo fdisk -l - Make note of the disks (Ignore Disk /dev/loopx, we just need /dev/sdx). In my case, the output in part contained the following:
Disk /dev/sda: 10.94 TiB, 12000138625024 bytes, 23437770752 sectors
Disk model: G
Disk /dev/sdb: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SSD 256GB - The disk we are looking for is the one with 10TiB capacity, in my case /dev/sda the /dev/sdb in my case is the primary SSD drive containing the Bootable Ubuntu system
- Run the following commands one at a time (be sure to substitute /dev/sda with your 10TB drive name):
sudo parted /dev/sda
mklabel GPT
mkpart primary 2048s 100%
q - Back to shell. Run the following command:
sudo fdisk -l
You will see a new partition appear under your 10TB disk in a form of a number after the disk name. In my case /dev/sda1. This is my partition located on disk /dev/sda:
Device Start End Sectors Size Type
/dev/sda1 2048 23437768703 23437766656 10.9T Linux filesystem - Run the following (substitute /dev/sda1 with your own 10TB partition discovered above, e.g. /dev/sdb1):
sudo mkfs.ext4 /dev/sda1 - Run the following commands one at a time (substitute /dev/sda1 with your own 10TB partition whenever applicable):
sudo su -
mkdir /media/thunder
mount /dev/sda1 /media/thunder/ - Run the following command
fluser=$(id -u) - Run the following command (be sure to carefully copy and paste the entire command below starting with sudo ending with fstab) but replace /dev/sda1 with your specific storage volume,:
sudo blkid /dev/sda1 | nawk -v FU="$fluser" -F'"' '{printf "%s%s\t%s\t%s\t%s%d%s\t%d\t%d\n", "UUID=",$2,"/media/thunder","ext4","uid=",FU,",rw,users",0,2}' >> /etc/fstab - Run the following command to reboot the system
sudo reboot - After the system reboots, please run the following command and make sure both SSD (Ubuntu OS), and 10TB hard drive is appearing with their corresponding partitions.
sudo fdisk -l
Your Cumulus FluxNode is now ready for Thunder.
We move on to the next step to set up FluxOS for Thunder
We move on to the next step to set up FluxOS for Thunder
Comments
Post a Comment