1) Shutdown MailScanner to halt mail processing
Code: Select all
sudo service MailScanner stop
3) Shutdown your system.
Code: Select all
sudo shutdown -h now
Optionally, you can also add a new virtual hard disk to add capacity, in case your solution doesn't allow you to dynamically resize your virtual hard disk.
5) Start your EFA and have the console open. When the countdown appears, press a key to interrupt automatic boot
6) Press 'e' to edit the boot options, arrow down to the line starting with "kernel", press 'e' again, and add 'single' to the end of the line with a leading space
7) Press enter and 'b' to boot. This will take you to single user mode (init level 2)
8) On the commandline, launch fdisk
Code: Select all
fdisk /dev/sda
(note that if you added a new disk, the next disk will be /dev/sdb instead)
9) Create a new partition
9a) Press n to create a new partition
9b) If you already have 3 partitions, choose extended 'e' <enter>, otherwise choose primary 'p' <enter>
9c) Accept the default first cylinder <enter> and last cylinder <enter>
9d) If you created an extended partition in step 9b, create a new partition again, accepting defaults for cylinders.
9e) Press 'p' to view partitions again, and note the name of the new Linux partition. Press 't' <enter> to change the partition type.
9f) Choose the appropriate partition, press <enter>, and enter '8e' for the type <enter>
9g) Check your work with 'p' <enter>. If satisfied, type 'w' <enter> to save your work.
10) Reboot the system, and return to single user mode using steps 5-7.
11) Add the new partition to the LVM pool
Run pvcreate (changing /dev/sda5 with the name of your newly created partition)
Code: Select all
pvcreate /dev/sda5
Code: Select all
pvdisplay
Code: Select all
vgextend vg_00 /dev/sda5
Code: Select all
pvdisplay
Code: Select all
lvdisplay
Code: Select all
lvextend -r /dev/vg_00/lv_tmp -L +10G
Code: Select all
shutdown -r now