Linux msm tar gz

Installing LSI MegaRaid Storage Manager on OMV 5.3.4 (Debian 10)

Howdy, I thought I would document this for posterity.

I have an old LSI (later Avago, now Broadcom) MegaRAID 9260-4i SAS controller in my system. There are a few ways to manage it and configure disks and arrays and such. The most straightforward is to boot into it’s BIOS. But on Windows there is the MegaRAID storage manager (MSM) which is a much prettier graphical client, but it only easy to set up if the server is running Windows. But it is [i]also possible for a MSM client to manage cards on other server machines. LSI/Avago/Broadcom made a Linux version of MSM, but it only released RPMs for Red Hat and Suse.

There was mention of making them work in an older thread by converting the RPMs, and it was generally regarded as a sketchy idea, but I wanted to give it a shot anyway.

There are walkthroughs floating around the web, but many are old, and all seem to have different approaches . This one (in German) got me pointed in the right direction.

These are the steps that worked for me on a fresh install of OMV 5.3.4 (Debian 10)

Download two files from Broadcom’s site, here’s the page for the 9260-4i specifically: https://www.broadcom.com/suppo…D+SAS+9260-4i&pa=&po=&dk=

You’ll want to go to the «Management Software and Tools» and get these two files:

Note that if you’re operating Linux command line only, this is the first hurdle, since the download links require clicking on a disclaimer. I used the browser’s debug tools to get direct links for wget:

(probably everything needs to be done as root user or with sudo)

next I had to install some prerequisite packages

 apt install unzip  install alien

here were the steps to extract and convert and install the command line tool storcli (and create a link because the install location was annoying)

 unzip 1.23.02_StorCLI.zip  unzip storcli_All_OS.zip  cd storcli_All_OS/Linux  alien --scripts storcli-1.23.02-1.noarch.rpm  dpkg --install storcli_1.23.02-2_all.deb  ln -s /opt/MegaRAID/storcli/storcli64 /usr/local/sbin/storcli

to do a trivial test enter «storcli show». You should get a listing of your adapters

Читайте также:  Linux задание пароля пользователя

next up is to exract and convert and install MSM, set it to type «d» (which is «server» mode) so it doesn’t try to install a local graphical client:

also, the actual service that runs is called vivaldiframeworkd. for reasons I can’t fully appreciate.

EDIT: THESE STEPS HAVE CHANGES IN A MAY 2020 RELEASE, SEE POST #10 below

 tar xvf 17.05.00.02_Linux-64_MSM.gz  cd disk  alien --scripts MegaRAID_Storage_Manager-17.05.00-02.noarch.rpm  export setuptype="d"  export upgradesetuptype="n"  dpkg --install megaraid-storage-manager_17.05.00-3_all.deb  systemctl enable vivaldiframeworkd.service  service vivaldiframeworkd start  service vivaldiframeworkd status

… after I got that set up, I was able to install MSM on a windows PC and configure my raid card on my OMV Linux box (I had to enter the IP address of my OMV server)

Edited 4 times, last by EasyRhino ( Oct 6th 2020 ).

Источник

How to Extract Tar Gz File in Linux — [Untar tar.gz]

This blog post will help you to get information about how to unzip tar.gz file, untar tar.gz file, and extract tar GZ file in Linux? Also, you can get a detailed guide to executing the overall process.

How to Extract Tar Gz File in Linux - [Untar tar.gz]

List of content you will read in this article:

What is TAR? [Definition]

TAR is an abbreviation for Tape ARchive. This command was primarily developed to fulfill the purpose of creating archives and storing the files on magnetic tape. Hence, the name Tape Archive.

The tar command helps you to generate several tar archives as it converts as many files as you want into archives. When we talk about the tar command, it can be used in ample ways. You can use it to add files to the archive, delete files, or extract tar archives. The list is pretty long.

Being a techie, it is highly evident that you are already familiar with the .tar.gz files.

Читайте также:  Linux iostat disk utilization

These files are commonly known as ‘tarballs’. They are used by Linux, macOS, or even Windows users for backups or data archival.

Now, there are various methods to compress tar files. One of the most used methods to compress a file is Gzip. Moreover, whenever you compress the tar archive with gzip, it ends with .tar.gz or .tgz extension.

Besides, if you are a Windows user, you may need to download the 7zip tool to extract tar.gz file in Linux. A lot of such third-party applications are also available in the market. They do come with a drawback, that is, they do not work every time.

In this article, we are going to make you familiar with some ways to unzip/untar/extract tar.gz archives in both Linux and Windows.

How to extract tar.gz file in Linux?

It is a simple process to extract tar.gz file in Linux.

Before that, take a look at the meaning of these symbols:

1. x: This option is used to extract the files.

2. v: It means Verbose. It helps to list the files in the archive.

3. z: This is used to uncompress a file.

4. f: You can easily keep a name for the file by using this option.

To start with, if the file is compressed by a gzip compressor, you can apply the following command:

In this command, filename.tar.gz is the name of the archive that you want to unpack tar.gz file. Additionally, if you want to seek more information about the files, you may use the -v option. Here, -v stands for Verbose. Take a look:

Easy, right? But somehow if your work impedes and you don’t get the desired results, follow another method.

How to unzip .tar.gz file without gzip?

Follow the below-given procedure to unzip .ta.gz file without gzip command.

$ tar xvzf file.tar.gz -C /path/to/somedirectory

Here, -C is used to mention the particular path to store the file.

  • The next command is to extract a .doc file from the .tar.gz file. Take a look at the command below:
Читайте также:  Лимит файловых дескрипторов linux

$ tar -xvzf file.tar.gz test.doc

tar -xf archive.tar.gz file1 file2

  • This command is specifically used for files. If you want to extract some directories, use the following command:

tar -xf archive.tar.gz dir1 dir2

Sometimes you get an error message like this:

tar -xf archive.tar.gz README

It implies that the files that you want to extract don’t exist.

  • Moving on, if you want to list the content of your tar.gz file, then use the below-mentioned command:

Well, these were some of the commands to extract tar.gz files in Linux.

The next segment talks to you about extracting tar.gz files in Windows. Let’s see how!

How to untar tar.gz files in Windows?

If you are a Windows user, here are a few steps for you to follow so that you can easily extract/untar tar gz file.

Step 1. Tap on Start on your Windows

Step 2. Now, go to the Command Prompt and click right. Choose Run as Administrator option

Step 3. Enter this command in the command prompt: tar -xvzf C:\PATH\TO\FILE\FILE-NAME.tar.gz -C C:\PATH\TO\FOLDER\EXTRACTION

You can add any desired path to store your files. After you press enter, all the files will be extracted to the path that you mention.

If you do not wish to use the command line method, don’t worry. There is another solution. You can simply head towards the File manager and click right on the file that you wish to extract. Choose the Extract option.

Conclusion

In a nutshell, tar.gz files or tarballs are used to archive data and backups. It is necessary to decompress and extract these files in order to get your work going.

There are specific ways and methods to conclude your task through various steps and commands.

As you have seen, this article assists you to extract tar.gz file [unzip tar.gz file, untar tar.gz file], whether you are a user of Linux or Windows.

We hope that the information provided in this article helps you in the best possible way.

Keep learning. Keep evolving.

People are also reading:

Источник

Оцените статью
Adblock
detector