Solved

How to configure centos 6.5 with a 2TB Partition

Posted on 2014-09-11
4
714 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 Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Certificate Request CentOS/Apache 1 54
Enable SPF on IMSVA 6 63
http response code 3 32
unix shell script 4 32
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

737 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