KB450413 – Updating PetaSAN to Latest Version

Last modified: July 24, 2021
You are here:


This article will cover how to update your PetaSAN nodes to the latest version. It may be necessary to perform this when standing up a second cluster with the intent of replicating data between the two.


  • An installed and configured PetaSAN based Ceph cluster
  • PuTTy or similar SSH utility to SSH into the PetaSAN nodes
  • Admin credentials for each node
  • Internet access


1. SSH into the terminal via PuTTy or preferred SSH utility and log in with Admin credentials

2. Run the following command on the first node:

sed -i ‘s/petasan\.org\/repo\//petasan\.org\/repo_45drives\//g’/etc/apt/sources.list

This command updates the node to point towards our dedicated 45 Drives repository.

3. We follow this command up with the following;

apt update

This command gives us a list of all the packages that can be updated and prepares everything to be updated.

4. To make updating easier and require less interaction from the user, we’ll be applying the following

export DEBIAN_FRONTEND=noninteractive

Since it’s likely there will be many packages that need to be updated, we’ll be making this update process occur without user input.

5. Now it’s time to apply the updates to everything:

apt -o Dpkg::Options::=”–force-confdef” upgrade

6. The output of the following command should tell you everything is already installed– this is normal and is used in this case to ensure everything is installed and ready for action.

apt install petasan


Make sure everything is installed with the following command

dpkg -s petasan | grep Version


Was this article helpful?
Dislike 0
Views: 72
Unboxing Racking Storage Drives Cable Setup Power UPS Sizing Remote Access