Solved

question in Linux

Posted on 2014-10-07
2
201 Views
Last Modified: 2014-10-16
Hi ,


I have these two physical volumes  on OL6 version :

 --- Physical volume ---
  PV Name               /dev/sdd1
  VG Name               H800A
  PV Size               4.91 TB / not usable 31.97 MB
  Allocatable           yes (but full)
  PE Size (KByte)       32768
  Total PE              160811
  Free PE               0
  Allocated PE          160811
  PV UUID               TdGdUZ-JiIQ-r2zl-DJry-dq3b-rCcQ-PkKnEk
   
  --- Physical volume ---
  PV Name               /dev/sdc1
  VG Name               H800A-R5
  PV Size               2.00 TB / not usable 1.23 MB
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              524287
  Free PE               0
  Allocated PE          524287
  PV UUID               zCsKqD-6FBs-502U-2mnj-kXA4-tXhi-gdQo2m



I need to create a mount point that will combine both of them and size should be almost 7TB or so....


I used the commands

fdisk /dev/sdc
pvcreate /dev/sdc1
vgcreate  H800A-R5 /dev/sdc1
lvcreate -l100%FREE -n data  H800A-R5
mkfs.ext3 -L data /dev/H800A-R5/data
tune2fs -c 0 -i 0 /dev/H800A-R5/data

 /dev/H800A-R5/data      /data                  ext3    noatime,noacl   0 0


but apparently created a /data of a size of 2TB

How can i re create the entire thing combining the size of both physical volumes ?
0
Comment
Question by:c_hockland
[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
2 Comments
 
LVL 78

Accepted Solution

by:
arnold earned 500 total points
ID: 40367691
You would use pvcreate /dev/sdd1
Vgextend h800A-r5 /dev/sdd1
The h800a-r5 volume group will now have the two.
You would then use lvcreate if you need another volume, or lvresize to increase the existing logical volume data by the additional amount.

Note make sure you have a good backup whenever you are .........


Note, should one of these fail, there is no data protection
0
 
LVL 13

Expert Comment

by:Sandy
ID: 40367713
i would suggest to format the LV with ext4.

TY/SA
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using sort and uniq to pare down large syslog 6 107
Intel fortran compiler (ifort) 5 84
parallel rsync issues with Ubuntu 1 50
RPM creation 6 49
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…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
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.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

739 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