Solved

How to configure centos 6.5 with a 2TB Partition

Posted on 2014-09-11
4
699 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
  • 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now