LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot add see new storage (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-add-see-new-storage-826512/)

Strangemartian 08-16-2010 05:43 AM

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.

AlucardZero 08-16-2010 06:20 AM

Does it show up in /sbin/fdisk -l ?

If so, use lvextend and resize2fs.

Strangemartian 08-16-2010 06:45 AM

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??

AlucardZero 08-16-2010 07:55 AM

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.

Strangemartian 08-16-2010 08:31 AM

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.

valen_tino 08-16-2010 09:02 AM

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?

AlucardZero 08-16-2010 09:03 AM

How can it show in LVM but not fdisk? Can you post what you're seeing on both?

Strangemartian 08-16-2010 09:20 AM

1 Attachment(s)
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

Strangemartian 08-16-2010 09:28 AM

2 Attachment(s)
Quote:

Originally Posted by valen_tino (Post 4067752)
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...

valen_tino 08-16-2010 12:09 PM

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.

Strangemartian 08-16-2010 12:55 PM

Quote:

Originally Posted by valen_tino (Post 4067939)
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....

Strangemartian 08-17-2010 10:49 AM

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....


All times are GMT -5. The time now is 02:24 PM.