RHEL 6.5 partition 3TB harddisk using gparted

RHEL 6.5 partition 3TB harddisk using gparted

For my senario,the fdisk -l shows 3TB hdd connected as /dev/sdb

1. So started parted using ,
parted /dev/sdb

2.  create gpt disk label,
mklabel gpt

3. change unit to TB
unit TB

4.  create 3TB partition
mkpart primary 0.00TB 3.00TB

5. fdisk -l , shows that a new partition /dev/sdb1 is created of 3TB in size

 

5.   To format as EXT4 filesystem,
mkfs.ext4 /dev/sdb1

Openstack Newton on CentOS 7 using packstack

1. Prerequisites
1.1 Hardware requirement 4GB RAM
1.2 $systemctl disable firewalld$systemctl stop firewalld$systemctl disable NetworkManager$systemctl stop NetworkManager$systemctl enable network$systemctl start network2. Setup software repositories

2.1  yum install -y
centos-release-openstack-newton
2.2 update the OS
yum update -y
3. Install packstack
4. Generate the answer file using packstack
5. Edit the answers.txt file and enable the required features..
6. Install openstack using the answer file

7.  Once the installation is complete , login to horizon using http://IP-address/dashboard
u: admin
p: password set for horizon in answer file

Create LVM on CentOS / RHEL 5.8

How to add 3 new external hdds and create LVM on it.

steps required to configure LVM include:

 

  • Creating physical volumes from the hard drives.
  • Creating volume groups from the physical volumes.
  • Creating logical volumes from the volume groups and assign the logical volumes mount points
In this case external hdds connected to the server as /dev/sdc, /dev/sdd, /dev/sde
[ The command fdisk -l  will show the hdds connected to the server ]
1. Create a partition on the hdd and change file system to 8e (LVM )
Note:- This is a destructive process, and make sure that any data in the hdd is backed up before proceeding.
  a) fdisk /dev/sdc
  b) enter “n” to create partition,
         enter “1” to create primary partition
         select start and end as default (just press enter at both prompts )
  c) enter “t” to change the file system type and enter ‘8e’ for LVM
  d) enter “w” to save the changes
  e) enter “q” to exit
2)  Create Physical volume

 

3) Create Volume group from the Physical volumes create

Here I am creating a Volume group  “DB_TEST_EXTERNAL”

 

4) Create Logical Volume from the Volume group

Here I am creating a Logical Volume named “LV_DATA”

5)  Create filesystem on the share

mkfs.ext3 /dev/DB_TEST_EXTERNAL/LV_DATA