November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Resizing an Online Multipath Device

esizing an Online Multipath Device

If you need to resize an online multipath device, use the following procedure:

1. Resize your physical device

2. Use the following command to find the paths to the LUN:

# multipath -l 3. Resize your paths. FOr SCSI devices, writing a 1 to the rescan file for the device […]

How To Add Disk to Linux System without Rebooting

It is possible to add a new hard disk without a reboot. Whether or not it is a physical server where a physical disk was inserted into an available slot, or a new virtual disk was added to a VMware VM, the command structure to discover the new disk is the same.

First, take a […]

Create a Logical Volume using Linux LVM

If you like this article, please +1 or Recommend via FB with the provided buttons above: Article ID: 137 by: Reese K. Posted: 16 Oct, 2013 Last updated: 21 Oct, 2013 Views: 561

Create a Logical Volume using Linux LVM This example uses a local hard disk to create a logical volume.

1. partition the […]

Extending root partition using LVM

After deploying a VMware virtual machine via template, it may be necessary to extend the root file system based on use requirements as templates typically are minimal in their configuration. In this example, I opted to add a virtual disk instead of increasing the size of the existing vmdk, and extend the LVM vg (volume […]

Couldn’t find device with uuid

Linux LVM commands result in Couldn’t find device with uuid

Couldn’t find all physical volumes for volume group

Help! Commands like ‘lvs’, ‘lvdisplay’, ‘vgdisplay’, and ‘pvscan’ result in an error like the following:

Couldn’t find device with uuid ‘R5zG2s-g4yi-ytEO-8Xvk-2B0s-S36G-9nWhXP’. Couldn’t find all physical volumes for volume group metabackupvg. Couldn’t find device with uuid ‘R5zG2s-g4yi-ytEO-8Xvk-2B0s-S36G-9nWhXP’. […]

Recovering a Lost LVM Volume Disk

Overview

Logical Volume Management (LVM) provides a high level, flexible view of a server’s disk storage. Though robust, problems can occur. The purpose of this document is to review the recovery process when a disk is missing or damaged, and then apply that process to plausible examples. When a disk is accidentally removed or damaged […]

How to change a network interface name on CentOS 7

Traditionally, network interfaces in Linux are enumerated as eth[0123…], but these names do not necessarily correspond to actual hardware slots, PCI geography, USB port number, etc. This introduces a unpredictable naming problem (e.g., due to undeterministic device probing behavior) which can cause various network misconfigurations (e.g., disabled interface or firewall bypass resulting from unintentional interface […]

Web server benchmarking tools for Linux

As far as web server performance is concerned, there are many different factors at play, e.g., application design, network latency/bandwidth, web server configuration, caching, hardware capability, server load, etc. To compare and optimize web server performance under such a wide array of factors, we often perform load test (or stress test) using a web server […]

Logical Volume Snapshots

Logical Volume Snapshots Objective: Creating and restoring manual logical volume snapshots. Environment: CentOS release 6.3 (32-bit). Descriptions: By LV snapshot you will be able to freeze your logical volumes. In other words, you can easily backup and rollback to a original logical volume state. This is almost similar to VMware where you can the snap […]

ISO – Mount/Unmount

ISO – Mount/Unmount Objective: 1. Mount the ISO to CD/DVD, then mount it to file system. 2. Create an ISO from the CD/DVD, then mount to file system. 3. Created ISO will be mounted, and will be mounted as an file system. Environment: CentOS release 6.3 (32-bit). Implementations: – Mounted my ISO image to CD/DVD, […]