LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help with new hard drive configuration (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-new-hard-drive-configuration-759055/)

katkota 10-01-2009 03:25 PM

Help with new hard drive configuration
 
Folks;
I just added 2 physical new hard drives to my SUSE server. My server is already running SUSE 10.3 version.
Is there a command i can use to add the new space or even see if the system can sees them?

sycamorex 10-01-2009 03:31 PM

You can use:

Code:

# fdisk -l
..to see if the hardware is recognised and the labels (eg. /dev/sda3)
and then mount them somewhere so that you could access them. Afterwards you could add specific entries to /etc/fstab to make it mount automatically at the boot

edit: post the output of fdisk -l and we can help you mount them.

katkota 10-01-2009 03:36 PM

I don't see them when i run fdisk -l:

server1:/dev # fdisk -l

Disk /dev/cciss/c0d0: 73.3 GB, 73372631040 bytes
255 heads, 63 sectors/track, 8920 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0002df0f

Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 1 262 2104483+ 82 Linux swap / Solaris
/dev/cciss/c0d0p2 * 263 8920 69545385 83 Linux
server1:/dev #

sycamorex 10-01-2009 04:20 PM

I've never used RAID, but I would assume that fdisk should show all the physical hard drives that are connected to the computer. Have you checked the cables?

sploot 10-01-2009 05:46 PM

Code:

find  /dev/ -maxdepth 1|grep [sh]d
This will show all device nodes that are used for disks in the machine and their partitions.

chrism01 10-01-2009 05:51 PM

If it's HP HW raid (& I think that nomenclature implies it is) then the RAID controller handles it invisibly.
You can try running

df -h

and see if its more diskspace than you used to have.
There should be a way to ask the controller about what it can see (serial console?)

http://cciss.sourceforge.net/

sploot 10-01-2009 05:53 PM

thats cool. I've never worked with hardware raid before. But I guess it makes sense that the device would look differently to the cpu in a hardware raid configuration...

katkota 10-05-2009 08:50 AM

Thanks folks;
i found out since this is RAID, i must configure the RAID before the physical drives can be seen by the system. once i created the RAID, i was able to see the new drives


All times are GMT -5. The time now is 06:56 PM.