Link to home
Start Free TrialLog in
Avatar of thomasm1948
thomasm1948Flag for United States of America

asked on

How to configure centos 6.5 with a 2TB Partition

Hi,

I have an issue where I set a 2TB Disk on VMware and tried to install Centos 6.5 with a single 2TB partition.  When it was done it only gave me 56GB

I ran the fdisk -l and this is what I got:
[root@3R-FTP-SVR01 ~]# fdisk -l

Disk /dev/sda: 2199.0 GB, 2199023254528 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000afa6c

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              64      267350  2146969600   8e  Linux LVM

Disk /dev/mapper/vg_3rftpsvr01-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_3rftpsvr01-lv_swap: 4227 MB, 4227858432 bytes
255 heads, 63 sectors/track, 514 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_3rftpsvr01-lv_home: 2140.6 GB, 2140579823616 bytes
255 heads, 63 sectors/track, 260244 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

How can create the 2TB partition and use it for vsftpd?
Avatar of thomasm1948
thomasm1948
Flag of United States of America image

ASKER

when I run

 lvdisplay
  --- Logical volume ---
  LV Path                /dev/vg_3rftpsvr01/lv_root
  LV Name                lv_root
  VG Name                vg_3rftpsvr01
  LV UUID                zGeeMH-tFpd-4POu-Mk4i-amY4-DEju-T8yapH
  LV Write Access        read/write
  LV Creation host, time 3R-FTP-SVR01, 2014-09-11 09:58:05 -0400
  LV Status              available
  # open                 1
  LV Size                50.00 GiB
  Current LE             12800
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0

  --- Logical volume ---
  LV Path                /dev/vg_3rftpsvr01/lv_home
  LV Name                lv_home
  VG Name                vg_3rftpsvr01
  LV UUID                TmdnrI-Oh1I-Oubm-eIWM-vMVu-p2ea-td02cW
  LV Write Access        read/write
  LV Creation host, time 3R-FTP-SVR01, 2014-09-11 09:58:08 -0400
  LV Status              available
  # open                 1
  LV Size                1.95 TiB
  Current LE             510354
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:2

  --- Logical volume ---
  LV Path                /dev/vg_3rftpsvr01/lv_swap
  LV Name                lv_swap
  VG Name                vg_3rftpsvr01
  LV UUID                5offhQ-jGeH-hsfN-duHe-zbuA-uM1r-wS6QzB
  LV Write Access        read/write
  LV Creation host, time 3R-FTP-SVR01, 2014-09-11 09:59:13 -0400
  LV Status              available
  # open                 1
  LV Size                3.94 GiB
  Current LE             1008
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1


does this mean that the full partition is 2TB and the file system is only showing 50GB until it needs more
lvs shows this

lvs
  LV      VG            Attr       LSize  Pool Origin Data%  Move Log Cpy%Sync Convert
  lv_home vg_3rftpsvr01 -wi-ao----  1.95t                                      
  lv_root vg_3rftpsvr01 -wi-ao---- 50.00g                                      
  lv_swap vg_3rftpsvr01 -wi-ao----  3.94g
ASKER CERTIFIED SOLUTION
Avatar of thomasm1948
thomasm1948
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
figured it out myself