https://www.youtube.com/watch?v=bXOJz8di_fg1. create disk from hard drive
fdisk /dev/sdd
create two disk with 8e(logic volumn disk)
then their name will be sdd5 and sdd6

2. pvcreate /dev/sdd5
vgcreate vg1 /dev/sdd5
lvcreate -n lv -L +100M vg1
now there will be a new disk can be used under /dev/vg1/lv
but need to format it first
mke2fs -j /dev/vg1/lv

now edit /etc/fstab to mount it automatically
/dev/vg1/lv /lv ext3 defaults 0 0
mount -a

now use df -h to check it
umount /lv

3. now we are going to add another 100M to this disk
pvcreate /dev/sdd6
vgextend vg1 /dev/sdd6
lvextend -L +100M /dev/vg1/lv
resize2fs /dev/vg1/lv
e2fsck -f /dev/vg1/lv
resize2fs /dev/vg1/lv

mount -a

4. check
df -h
lvdisplay

About Lei

I am an IT specialist with over 10 year experience - years on Automation, on-Premise or Azure.

I am happy to develop however never want be a full time developer. Only do what I have to do. If it has to be PowerShell,HTML, PHP, CSS, C#, VBS or JS, front end or backend, so be it, doesn't matter!

Spent years with Windows, SCCM, SharePoint, SQL and Exchange servers. For last several years, I have been actively working under On Premise > Azure environment.

THERE IS NO WAY BACK!!!

Current Certificates:
    Microsoft® Certified-
  • -Enterprise Administrator
  • -Database Administrator
  • -SharePoint Administrator
  • -Administering and Deploying SCCM 2012
Red Hat Certified Technician
ITIL V3 Foundation - Practitioner

Working on Azure Certificates now and hopefully they can stop upgrading their questions one day! GIVE ME A BREAK!

Contact Lei

Name *
Email *
Comments *

Traffic since 10/08/2016

Today13
Yesterday83
This week637
This month1933
Total416293

Visitor Info

  • IP: 54.221.73.186
  • Browser: Unknown
  • Browser Version:
  • Operating System: Unknown

Who Is Online

1
Online

2017-12-17

Login