Archive: 2019/5

How To Check If LFS is Enabled

To check if a file system supports the LFS (Large File System) standard, you can use the getconf command. If the result is 64, LFS is supported. getconf FILESIZEBITS / In the example above, the root

postfix masquerade

Setting relayhost in postfixThe relayhost parameter specifies the default host to send mail to. This is equivalent to the DS entry in sendmails MTA sendmail.cf config file. !!! note output below h

Failed to activate lv

Failed to activate new LVEDS etlprod2 ~ # lvcreate -l 14645 -n lv_dwstore vg_etlprod2 Not activating vg_etlprod2/lv_dwstore since it does not pass activation filter. Failed to activate new LV. Resol

Redirecting stdout and stderr

How to redirect standard output and standard errorWe’ve seen the numbers used in redirecting stdout and stderr. So what do they mean? 1 represents standard output 2 represents standard error 2>

Setup yum repo from DVD ISO

How to set up a yum repo from locally mounted DVD ISOMount the iso to /mnt In the case of redhat, copy the media.repo file from the root dir of the mount point to /etc/yum.repos.d. Edit the file and

Setup Local Mirror of RHEL Repo

How To create your own local Red Hat Enterprise Linux yum repository serverTo begin, build a virutal machine or stand alone system installing the same OS version of Red Hat you wish to serve as the yu

Sorting IP Addresses via bash

Sort list of IP addresses via command lineDo you have a text file filled with a bunch of IP addresses, and it won’t sort properly with the -n option alone? Providing additional options can help achiv

Advanced techniques using unix 'find'

I found this article on IBMs Developer Works site and had to put it here! Some of this is basic, but it’s a good read nonetheless. There’s nothing quite like the thrill of exploring, discovering new

Resize an iscsi LUN in Linux

How To Resize an iscsi LUN in LinuxNetApp storage systems also allow you to resize a LUN dynamically; however, the iSCSI layer in Linux is not capable of detecting the change in the LUN size. To displ

How To Rescan Linux for a New LUN

How to rescan Linux for newly presented LUNsThis article focuses on utilizing the lun_scan utility provided by Emulex No-Reboot Dynamic Target/LUN Discovery Tool. This tool is part of the Emulex Driv