April 2015
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
27282930  

Categories

April 2015
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
27282930  

LVM2: device filter and LVM metadata restore

LVM2: device filter and LVM metadata restore Customize LVM device filter to get rid of the annoying “/dev/cdrom: open failed” warning

##/dev/cdrom: open failed warning $pvcreate /dev/sdb1 /dev/cdrom: open failed: Read-only file system $ vgcreate vg01 /dev/sdb1 /dev/cdrom: open failed: Read-only file system ##The error because LVM scan all device files by default, you can […]

How to mount LVM partitions from rescue mode (Fedora/CentOS/RedHat)

Boot your rescue media. Scan for volume groups: # lvm vgscan -v

Activate all volume groups: # lvm vgchange -a y

List logical volumes: # lvm lvs –all

With this information, and the volumes activated, you should be able to mount the volumes: # mount /dev/volumegroup/logicalvolume /mountpoint

Fix ShellShock Bash Vulnerability

With the announcement of the ShellShock Bash vulnerability last week it has caught news around the security updates. This is bug is being dubbed to be bigger than The Heartbleed Bug. Some interesting read about ShellShock can be found here.

Fix ShellShock Bash Vulnerability on CentOS – Test

Before you begin it’s better to test […]

Solved mount: special device /dev/VolGroup00/LogVol00 does not exist

Solved mount: special device /dev/VolGroup00/LogVol00 does not exist

There are times when using LVM you might come accross the error while mounting an LVM partition. The error that we are discussing here is mount: special device /dev/VolGroup00/LogVol00 does not exist.

[root@rmohan ~]# mount /dev/VolGroup00/LogVol00 /media/data

Output:

mount: special device /dev/VolGroup00/LogVol00 does not exist

Maybe in […]

Start/Stop/Delete a Queue Manager

Start/Stop/Delete a Queue Manager

Starting a Queue Manager

Before we can use a Queue Manager, we need to start it, using the STRMQM command. The command to start a Queue Manager called QMA is:

$ strmqm QMA

You should see output similar to the following on your screen:

WebSphere MQ queue manager ‘QMA’ starting.

2108 […]