13 August 201413 May 2023Linux CommandsBy Admin how to use mailstat command and its examples Examples: 1. To see the mail arrival stats $ mailstat 2. To keep the log file intact $ mailstat -k 3. To […]
13 August 201413 May 2023Linux CommandsBy Admin how to use mailq command with its examples Examples: 1. To see the mails in queue $ mailq 2. To show the mail submission queue specified $ mailq -Ac 3. […]
6 August 201413 May 2023Linux CommandsBy Admin lvsd command line utility and its examples Examples: 1. To run lvsd with another config file $ lvsd -c file.cfg$ lvsd –configfile=file.cfg 2. To run lvsd in foreground $ […]
6 August 201413 May 2023Linux CommandsBy Admin how to use lvscan command with its examples Examples: 1. To include information in the output about internal Logical Volumes $ lvscan -a$ lvscan –all 2. To Adds the device […]
6 August 201413 May 2023Linux CommandsBy Admin how to use lvs command with its examples Examples: 1. To report logical volume info $ lvs 2. To report all logical volume $ lvs –all 3. To Use with […]
6 August 201413 May 2023Linux CommandsBy Admin how to use lvresize command and its examples Examples: 1. To resize a logical volume (in units of logical extents) $ lvresize -l [+|-]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}]$ lvresize –extents [+|-]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] 2. To do […]
6 August 201413 May 2023Linux CommandsBy Admin lvrename command line tool and its examples Examples: 1. To rename a logical volume $ lvrename /dev/VG00/LV00 /dev/VG00/LV-01$ lvrename VG00 LV00 LV01 2. To disable udev synchronisation $ lvrename […]
6 August 201413 May 2023Linux CommandsBy Admin how to use lvremove command with its examples Examples: 1. To remove the logical volume $ lvremove LV00 2. To forcefully remove the logical volume $ lvremove -f LV00$ lvremove […]
6 August 201413 May 2023Linux CommandsBy Admin how to use lvreduce command and its examples Examples: 1. To reduce the logical volume $ lvreduce -l [-]LogicalExtentsNumber[%{VG|LV|FREE|ORIGIN}] 2. To disable udev synchronization $ lvreduce –noudevsync 3. To reduce […]
6 August 201413 May 2023Linux CommandsBy Admin how to use lvmdump command with its examples Examples: 1. To create lvm dump $ lvmdump 2. For advance data collections $ lvmdump -a 3. To gather LVM metadata $ […]