Skip to main content

Posts

Showing posts from October, 2017

Logical Volume Manager

LVM Commands ########### >> First we need to create Physical Volume. PV is chunks of 4MBs >> Then create Volume Group using this PV. >> THen create Logical Volume. Creating PV: [root@localhost ~]# pvcreate /dev/vdb5 /dev/vdc1 /dev/vdb6 /dev/vdc2   Physical volume "/dev/vdb5" successfully created.   Physical volume "/dev/vdc1" successfully created.   Physical volume "/dev/vdb6" successfully created.   Physical volume "/dev/vdc2" successfully created. pvdisplay   --- NEW Physical volume ---   PV Name               /dev/vdc1   VG Name                 PV Size               2.00 GiB   Allocatable           NO   PE Size               0     Total PE              0   Free PE               0   Allocated PE          0   PV UUID               gDI14y-m6Af-DAek-0xdv-bZEs-4wVd-GJcH68      "/dev/vdb5" is a new physical volume of "1.00 GiB"   --- NEW Physical volume ---   PV Name               /dev/vdb5   VG Name           

SES error "Request Expired ,it must be within 300secs/of server time."

This error occurs if difference in time on your server and Amazon SES 1. First Check your linux server time by > date 2. Check Amazon SES time by > wget https://email.us-east-1.amazonaws.com --no-check-certificate --server-response if this time difference is more than 300 seconds, then you get this error on sending email from Amazon SES, to solve this use ntpdate on your linux server 3. sudo ntpdate 0. amazon.pool.ntp.org 1. amazon.pool.ntp.org 2. amazon.pool.ntp.org 3. amazon.pool.ntp.org Again check the time difference by using above 2 commands. If time difference is < 300 seconds . Some time you will get an error when using the command ntpdate like below: the NTP socket is in use, exiting At this time you can use the -u option in ntpdate command inorder to run the ntpdate command on different port. sudo ntpdate -u 0. amazon.pool.ntp.org 1. amazon.pool.ntp.org 2. amazon.pool.ntp.org 3. amazon.pool.ntp.org Thats it. :-)