Add a drive to an existing Linux LVM

Had a problem where I ran out of disk space, and needed to increase it on a Linux server.  Now, I'm not a Linux engineer, but I have used it for some time.  As far as I know, there are 2 ways to extend a drive that is built using LVM (Logical Volume Manager). Add an additional drive, add it to LVM, and expand the data to use the new drive. (physical and VMware) Expand the drive in VMware, then expand the LVM (VMware only) I'm going to discuss option 1, since it can be used for both physical and virtual. First off, let's see what we have to work with, shall ...
More

Static Mapping of Serial Devices in Linux

    Some time ago, I wrote about how to setup a Linux-based console server. But, there is one problem… if you reboot, your serial devices may have moved. So, to fix that, we will use UDEV to statically map the serial devices to non-changing names. Plug in your usb converter and run the command ‘dmesg’. Look for where it was mapped to. In my case, it is ttyUSB1 usb 3-2: new full speed USB device using uhci_hcd and address 5 usb 3-2: configuration #1 chosen from 1 choice pl2303 3-2:1.0: pl2303 converter detected usb 3-2: pl2303 converter now attached to ttyUSB1 Now, th...
More

Make your own Terminal Access Server

I recently wrote up an article on creating your own terminal server.  I'm building my home lab to study, and, while I have a Cisco 2500 router to use as a terminal server, I didn't want to spend the money on the octal cable.  So, since I'm already using my Linux box as a Dynagen server, I figured I can set it up as my console server as well, for a much cheaper price.  Create your own serial terminal server If you ever find the need to be able to console into multiple devices in a cheap way, using SER2NET on a Linux-based system is a good way to go!
More