resize2fs: Bad magic number in super-block while trying to open

I am trying to resize a logical volume on CentOS7 but am running into the following error: resize2fs 1.42.9 (28-Dec-2013) resize2fs: Bad magic number in super-block while trying to open...

(Yocto / OpenEmbedded) Enabling systemd's libcryptsetup

I am trying to enable systemd's libcryptsetup module in order to decrypt a drive at bootup through crypttab. It seems crypttab is not present because the systemd-cryptsetup-generator is missing...

Using Docker-Compose with storage options (size)

I can apply disk size quota with "--storage-opt size=1536M" argument when working under devicemapper. For example: docker run -dt --name testing --storage-opt size=1536M ubuntu the problem is,...

read-only file system on vagrant visualbox ubuntu16.04

I can't start mysql, nginx service on virtual machine. I am using 5.2.14 r123301 (Qt5.6.2), vagrant, ubuntu16.04. The following is the log file content generated by visualbox. Filename:...

docker-ee-selinux conflicts with 2:container-selinux-2.21-1.el7.noarch

I am trying to install docker on rhel 7. Step 1 yum remove docker docker-common docker-selinux docker-engine-selinux docker-engine docker-ce Step 2 yum install -y yum-utils...

OpenStack Cinder replication with Ceph

I set up two clusters ceph (version 12.2.9 luminous). The first cluster has the name of the "primary", the second "secondary". Two-way replication is configured between the two clusters using an...

After a reboot the DRBD comes up with Connected Diskless/Diskless status

After an unattented power loss, facing a major issue, every reboot the DBRB comes up with Connected Diskless/Diskless status. main problems: dump-md response: Found meta data is...

Python-How to determine the boot drive in linux using drive path

From the list of devices like /dev/sg0 or /dev/sg1 I would like to find which is boot drive in linux. For different machines getting different type of values. Case 1: device =...

Issue "Could not fetch/save url https://download.docker.com/linux/centos/docker-ce.repo"

I am trying to set up the Docker repository on CentOS, after I run the command $ sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo I am getting error...

Volume that is encrypted and not accessible by host?

I want a Docker container which has a storage volume which is inaccessible by the host machine. I have followed this guide, which uses the docker-lvm-plugin plugin to mount a LUKS crypt volume....

Installed docker and I got podman

Installed docker on Centos (running using VirtualBox) following steps below: sudo yum install -y yum-utils device-mapper-persistent-data lvm2 sudo yum install docker sudo yum-config-manager...

docker start failed after adding daemon.json file

I'm trying to install Kubernetes on CentOS 7.7, therefore, I have to install docker first. I followed Kubernetes Documentation to install docker-ce and modify daemon.json file. $ yum install...

kubelet error:failed to update node lease

I setup my kubernetes cluster by kubeadm. at the last step. I need join my nodes to the master. So i copy the join command to the node to exec it and whitout err. Then i back to master to exec...

How to implement the load balancing for kube-apiserver using nignx's L7 proxy and SSL authentication ?

I'm a beginner in kubernetes and recently tried to implement the load balancing for kube-apiserver using nignx's L7 proxy and SSL authentication. Nginx worked fine in L4 proxy mode, but had some...

Linux "Volume group "c1" not found"

I want to add a disk my linux machine and extend my filesystem. I add a disk and create a partition using with fdisk. After I create physical volume with this partition. Right now I wanna add this...

Failed to infer CIDR network for mon ip

I follow the instructions to bootstrap a new Ceph (I'm new to Ceph) cluster. I got the following error: sudo cephadm bootstrap --mon-ip <mon-ip> INFO:cephadm:Verifying podman|docker is...

Can't get Laravel Homestead to work under MacOS Catalina, random kernel panics in VM

I am a seasoned full stack web dev, a happy user of Laravel's Homestead for a couple of years, but I have been running into problems with Laravel Homestead under MacOS Catalina on my new 16"...

docker nothing to do, and docker commnad not found

i followed below steps on centos 7 machine to install docker but it says nothing to do and when i run docker command it says that command not found. i followed below steps on centos 7 machine to...

Enable wifi wlan adapter Ubuntu 20.04 LTS on Raspberry Pi 3 Model B

I have a Raspberry 3 Model B which has a BCM43438 wireless LAN and Bluetooth Low Energy (BLE) on board and recently installed Ubuntu 20.04 LTS. Thanks in advance for looking and let me know if...

How to fix the errors encountered while processing installation

I wanted to reinstall java which was accidently deleted, using this post. As mentioned in the above post on runningsudo apt install default-jre, I got this error: Reading package lists......

yum update fails with "ERROR with transaction check vs depsolve:" but no packages listed in conflict

I ran into a situation where yum update started failing on a AMI instance. Was trying to install openVPN when it all started. I used the following command to get easy-rsa sudo yum install easy-rsa...

Problem with moby packages when installing docker-ce on CentOS 7

I have a docker image for CentOS 7 which installs docker-ce via the recommended instructions. i.e. RUN yum-config-manager \ --add-repo...

Openstack All-In-One local storage size

after few deployment of openstack (packstack all-in-one) I founded that (from hypervisor summary) the local storage size is around 40G-50G. The disk storage that I deployed is actually around 150G...

AWC EC2 Amazon Linux 2 Instances failed to boot after applying os updates

Yesterday we lost contact with 10 identically configured servers, after some investigation the conclusion was that a reboot after security updates had failed. We have so far not been able to get...

Proper sudoers user / session setup for xrdp and systemd-modules-load / auditd fails in a WSL2 openSUSE-Leap-15.2 environment

I've managed it to successfully run xrdp in an openSUSE-Leap-15.2 WSL 2 Linux subsystem on my Windows 10 64 PC. My Linux knowledge is not that great. I use KDE (startplasma-x11) as desktop for...

Illegal instruction (core dumped) after packages upgrade on Centos 8

Some problems with my centos 8 began when i entered "yum update -y" command. After that i started receive Illegal instruction (core dumped) messages when i run yum or any python scripts. During...

Mongod is not a service | Ubuntu | WSL. Error: mongod: unrecognized service

I'm using WSL2 with Ubuntu 20.04.2 LTS. I tried setting up mongodb. There are two issues: Running the command sudo apt-get install -y mongodb-org results in the error below. Errors were...

std::filesystem recursive iterator will throw permission_denied even when skip_permission_denied is in use

I am writing a linux command line program that will return the size of a directory. The program works as expected, except when specifically dealing with root directories. I know many files in the...

Ansible - Do we need to configure sudo with root access on all hosts?

I have a simple ansible testing playbook to run on the locahost and on one remote host. The playbook runs linux command "pvs" which needs to run as root. I have become=true in ansible.cfg. On...

Arch Linux Installation: ERROR: Root device mounted successfully, but /sbin/init does not exist

I'm fairly new to linux but decided to dive right in with arch-linux to become familiar with everything. Unfortunatelly I can't even finish the installation - shame on me. The error while booting...