Solved

How to configure centos 6.5 with a 2TB Partition

Posted on 2014-09-11
4
715 Views
Last Modified: 2014-09-11
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?
0
Comment
Question by:thomasm1948
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
4 Comments
 

Author Comment

by:thomasm1948
ID: 40317234
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
0
 

Author Comment

by:thomasm1948
ID: 40317240
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
0
 

Accepted Solution

by:
thomasm1948 earned 0 total points
ID: 40317519
I figured it out.  The home directory is the folder with 1.8TB.  so for the ftp users (only 2 of them) I just created a directory and changed their home to that so that they can share files
0
 

Author Closing Comment

by:thomasm1948
ID: 40317584
figured it out myself
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question