LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-16-2010, 05:43 AM   #1
Strangemartian
LQ Newbie
 
Registered: Aug 2010
Location: UK
Distribution: Oracle Unbreakable 5.4
Posts: 7

Rep: Reputation: 0
Cannot add see new storage


Hi peeps,

I have just added 2 146gb disks to an existing RAID5 system running Oracle Enterprise Linux 5.4.
I used Dells open manage software to rebuild the RAID which was successful although I cannot see the additional storage when I look on the system.

Basically how do I get Linux to show the new storage and then add it to an existing partition.

Last edited by Strangemartian; 08-16-2010 at 05:53 AM.
 
Old 08-16-2010, 06:20 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Does it show up in /sbin/fdisk -l ?

If so, use lvextend and resize2fs.
 
Old 08-16-2010, 06:45 AM   #3
Strangemartian
LQ Newbie
 
Registered: Aug 2010
Location: UK
Distribution: Oracle Unbreakable 5.4
Posts: 7

Original Poster
Rep: Reputation: 0
I ran /sbin/fdisk -l and it does not show although if I fire up the LVM gui it shows up as an unpartioned space??
 
Old 08-16-2010, 07:55 AM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Have you rebooted since you added it? You can't modify the partitions of the disk the system booted off of, and expect the changes to show, without rebooting.
 
Old 08-16-2010, 08:31 AM   #5
Strangemartian
LQ Newbie
 
Registered: Aug 2010
Location: UK
Distribution: Oracle Unbreakable 5.4
Posts: 7

Original Poster
Rep: Reputation: 0
I have rebooted the box several times and the new storage will not show although I have not actually dared to changed anything on the file system yet.

Basically I have gained 272GB by adding the extra disks to the RAID and this shows in LVM but I do not know how to add this extra to the file system. Do I have to create a new mount point??

I built the server and several others but I have never had to add extra disks so am a little stuck.

I am not too fussed about extending an existing partition just adding a new one which would be the size of the storage gained.

This is the current fs

Filesystem Size Used Avail Use% Mounted on
/dev/sda7 9.5G 814M 8.2G 9% /
/dev/sda11 2.0G 0 2.0G 0% /dev/shm
/dev/sda10 965M 18M 898M 2% /tmp
/dev/sda9 1.9G 131M 1.7G 8% /var
/dev/sda8 4.8G 2.2G 2.4G 49% /usr
/dev/sda6 19G 2.2G 16G 12% /home
/dev/sda5 48G 23G 23G 50% /orahome
/dev/sda2 236G 208G 16G 94% /oradata
/dev/sda1 965M 34M 882M 4% /boot
tmpfs 2.0G 0 2.0G 0% /dev/shm

Cheers.

Last edited by Strangemartian; 08-16-2010 at 08:36 AM.
 
Old 08-16-2010, 09:02 AM   #6
valen_tino
Member
 
Registered: Jan 2008
Posts: 105

Rep: Reputation: 28
Another check.....as you are using Dell, have you checked in the PERC's BIOS (ctrl-r during boot up) to see if the drives show up there in the RAID set?
 
Old 08-16-2010, 09:03 AM   #7
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
How can it show in LVM but not fdisk? Can you post what you're seeing on both?
 
Old 08-16-2010, 09:20 AM   #8
Strangemartian
LQ Newbie
 
Registered: Aug 2010
Location: UK
Distribution: Oracle Unbreakable 5.4
Posts: 7

Original Poster
Rep: Reputation: 0
Does this help. Attatchment shows LVM screenshot


[root@linuxdev2 /]# /sbin/fdisk -l

Disk /dev/sda: 730.8 GB, 730815528960 bytes
255 heads, 63 sectors/track, 88849 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 127 1020096 83 Linux
/dev/sda2 128 31828 254638282+ 83 Linux
/dev/sda3 31829 42027 81923467+ 82 Linux swap / Solaris
/dev/sda4 42028 53309 90622665 5 Extended
/dev/sda5 42028 48401 51199123+ 83 Linux
/dev/sda6 48402 50951 20482843+ 83 Linux
/dev/sda7 50952 52226 10241406 83 Linux
/dev/sda8 52227 52863 5116671 83 Linux
/dev/sda9 52864 53118 2048256 83 Linux
/dev/sda10 53119 53245 1020096 83 Linux
/dev/sda11 53246 53309 514048+ 83 Linux
Attached Thumbnails
Click image for larger version

Name:	linuxdev2.jpg
Views:	13
Size:	128.3 KB
ID:	4325  
 
Old 08-16-2010, 09:28 AM   #9
Strangemartian
LQ Newbie
 
Registered: Aug 2010
Location: UK
Distribution: Oracle Unbreakable 5.4
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by valen_tino View Post
Another check.....as you are using Dell, have you checked in the PERC's BIOS (ctrl-r during boot up) to see if the drives show up there in the RAID set?
Attached screenshots of RAID under the DELL management software and it is showing up all 6 disks, the original 4 plus the 2 extra that I added...
Attached Thumbnails
Click image for larger version

Name:	raid0.jpg
Views:	12
Size:	158.1 KB
ID:	4326   Click image for larger version

Name:	raid1.jpg
Views:	13
Size:	162.2 KB
ID:	4327  
 
Old 08-16-2010, 12:09 PM   #10
valen_tino
Member
 
Registered: Jan 2008
Posts: 105

Rep: Reputation: 28
And ... can you confirm that you followed steps as outlined here: How can I add a hard drive to an existing Virtual Disk on my SAS PERC controller?
This technote is for PERC5 on Windows but the same steps apply as you are using a web interface.
 
Old 08-16-2010, 12:55 PM   #11
Strangemartian
LQ Newbie
 
Registered: Aug 2010
Location: UK
Distribution: Oracle Unbreakable 5.4
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by valen_tino View Post
And ... can you confirm that you followed steps as outlined here: How can I add a hard drive to an existing Virtual Disk on my SAS PERC controller?
This technote is for PERC5 on Windows but the same steps apply as you are using a web interface.
That is exactly what I did.

I plugged the disks in and used openmanage to rebuild the RAID which took about 14 hours.

It shows up fine in openmanage but I cannot seem to access it from Linux. I thought I was being dumb but perhaps something isnt how it should be....
 
Old 08-17-2010, 10:49 AM   #12
Strangemartian
LQ Newbie
 
Registered: Aug 2010
Location: UK
Distribution: Oracle Unbreakable 5.4
Posts: 7

Original Poster
Rep: Reputation: 0
Solved

Managed to sort it out by downloading GPARTED which is a disk partition utility for Linux.

It located the elusive new storage and allowed me to create a new extended partition as I already had 4 primary partitions.

Happy days....
 
  


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
Add san storage device to existing server, how to see and mount, etc. sir-lancealot Linux - Hardware 1 10-28-2009 05:36 PM
How to add more storage to my server? (The question isn't as dumb as it sounds...) Mountain Linux - Server 5 03-01-2009 02:27 PM
LXer: FreeNAS makes it easy to add storage to home networks LXer Syndicated Linux News 0 01-22-2007 08:21 AM
Add a new Harddrive for storage and different OS valkarin Linux - Hardware 1 01-03-2007 02:29 AM
how to not add .Trash-user folder to storage device poiuytrewq Linux - Newbie 4 12-29-2004 09:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:42 AM.

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