Solved

How to configure centos 6.5 with a 2TB Partition

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

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Question has a verified solution.

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

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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…
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…

919 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

14 Experts available now in Live!

Get 1:1 Help Now