The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

a little bit confused about mounting...

Discussion in 'General Discussion' started by guptaji, Sep 8, 2014.

  1. guptaji

    guptaji Active Member

    Joined:
    Sep 8, 2014
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    hello friends,

    i am new in this management area so please help me out..

    Code:
    # df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/sdb2        97G  992M   91G   2% /
    tmpfs            16G     0   16G   0% /dev/shm
    /dev/sdb1       194M   34M  150M  19% /boot
    
    
    # fdisk -l
    
    Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x1765279b
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1      243201  1953512001   8e  Linux LVM
    Partition 1 does not start on physical sector boundary.
    
    Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x00022bf6
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1          26      204800   83  Linux
    Partition 1 does not end on cylinder boundary.
    /dev/sdb2              26       12774   102400000   83  Linux
    /dev/sdb3           12774       14304    12288000   82  Linux swap / Solaris
    /dev/sdb4           14304      243202  1838620760    5  Extended
    /dev/sdb5           14304      243202  1838619648   8e  Linux LVM
    
    Disk /dev/mapper/VolGroup00-lvm00: 3298.5 GB, 3298534883328 bytes
    255 heads, 63 sectors/track, 401024 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x00000000
    
    
    ]# lvdisplay
      --- Logical volume ---
      LV Path                /dev/VolGroup00/lvm00
      LV Name                lvm00
      VG Name                VolGroup00
      LV UUID                Oc5dWQ-Talq-jtzB-QD7j-voXe-TBnM-ohcvp0
      LV Write Access        read/write
      LV Creation host, time localhost.localdomain, 2014-09-08 02:35:27 -0500
      LV Status              available
      # open                 0
      LV Size                3.00 TiB
      Current LE             98304
      Segments               2
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:0

    now my question is:-

    i have lvm00 group (3TB), now where i mount it so that i can extend it in future without downtime.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    As a new user, it's likely a better idea to consult with your data center or a qualified system administrator to help you with adding the additional hard drive. You risk data loss if you make a mistake. If you do prefer to complete the action on your own, then you may find third-party tutorials such as this one helpful:

    Adding a New Disk Drive to a CentOS 6 System - Techotopia

    Thank you.
     
  3. guptaji

    guptaji Active Member

    Joined:
    Sep 8, 2014
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    i have done mounting of lvm by

    mount /dev/VolGroup00/lvm00 /home

    will i have to add it in /etc/fstab for mounting ? /dev/VolGroup00/lvm00 /home ext4 default 0 0
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page