LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-24-2013, 01:36 PM   #1
linuxguy08
Member
 
Registered: Apr 2008
Posts: 155
Blog Entries: 2

Rep: Reputation: 15
steps after harddrive installation


Hi ,

I have cisco UCS c200 m1 rackmounted server and I need to add more harddisk. After installating new harddrive , what would be the next steps to be done in order to be in opertaiona.
Can you pls provide the steps?

My home parition fully mounted and it is LVM.
Thanks
 
Old 04-24-2013, 01:38 PM   #2
linuxguy08
Member
 
Registered: Apr 2008
Posts: 155

Original Poster
Blog Entries: 2

Rep: Reputation: 15
The OS is Linux - Red Hat Enterprise Linux Server release 6.1 (Santiago)
 
Old 04-24-2013, 05:45 PM   #3
gdizzle
Member
 
Registered: Jul 2012
Posts: 234

Rep: Reputation: Disabled
Make sure the new hard disk is detected do an
Code:
fdisk -l
: make sure you can see it in the list.

Once you identify the disk: e.g. /dev/sdc

We need to partition this disk ready for LVM.

Code:
fdisk /dev/sdc
n
p
1
press enter twice to keep default sizes (if not change it to the value you need)
t
8e = (makes the hard disk type lvm)
w
q

This should now should have created, the /dev/sdc1.

Now we have created the new disk, for lvm we need it as a physical volume:

Code:
pvcreate /dev/sdc1

Now since I don't have anymore information about what Volume groups and Logical Volumes you have I cannot give you the rest of the steps

paste the output of:

Code:
lvs

Then I can continue.
 
Old 04-26-2013, 01:27 PM   #4
linuxguy08
Member
 
Registered: Apr 2008
Posts: 155

Original Poster
Blog Entries: 2

Rep: Reputation: 15
Thanks for the information!

this is my vol group and lv name
/dev/vg_computenode3/LogVol01
 
Old 04-26-2013, 01:29 PM   #5
linuxguy08
Member
 
Registered: Apr 2008
Posts: 155

Original Poster
Blog Entries: 2

Rep: Reputation: 15
when i do create file system with mkfs.?
 
Old 04-26-2013, 01:47 PM   #6
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by linuxguy08 View Post
when i do create file system with mkfs.?
http://sujithemmanuel.blogspot.com/2...sk-to-lvm.html

here is a real basic HOWTO guide for adding a new disk to an existing LVM.
 
Old 04-28-2013, 12:33 AM   #7
gdizzle
Member
 
Registered: Jul 2012
Posts: 234

Rep: Reputation: Disabled
Code:
vgextend  vg_computenode3 /dev/sdc1
Code:
lvextend  -L 10G  /dev/vg_computenode3/LogVol01 /dev/sdc1
Change the size to the amount of space you need to add.
Code:
resize2fs /dev/vg_computenode3/LogVol01
This resizes the Filesystem, where the Logical Volume is mounted.

You do not want to create a new filesystem over /dev/vg_computenode3/LogVol01 as it will erase your current data.

Remember you are extending the the VG.
 
Old 04-29-2013, 03:25 PM   #8
linuxguy08
Member
 
Registered: Apr 2008
Posts: 155

Original Poster
Blog Entries: 2

Rep: Reputation: 15
Thanks lot!! for the steps provided ..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java installation steps newbie14 Linux - Software 4 05-21-2012 11:26 PM
Bacula installation steps ravindert Linux - Server 1 10-28-2011 01:45 AM
DBD installation trouble .. installation steps attached utw-mephisto Linux - Server 1 12-05-2007 11:57 PM
Linux installation steps maschender Linux - General 4 08-28-2007 07:26 AM
getting started with my installation: steps? chartreuse Linux - Newbie 7 03-14-2006 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration