Solved

Linux: Installing an additional hard drive

Posted on 2009-04-02
4
769 Views
Last Modified: 2013-12-06
Struggling to find a decent explanation on how to install a 2nd hard disk on red hat linux. I have physically added my drive to a HP Pro DL380 G4 server. Was advised this should be a hot plug install so did the following:

df - h

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       65G   61G  603M 100% /
/dev/cciss/c0d0p1      97M   26M   67M  28% /boot
none                  1.5G     0  1.5G   0% /dev/shm

This 72g extra is not there...any suggestions?
0
Comment
Question by:Effin_Ell
  • 4
4 Comments
 
LVL 7

Expert Comment

by:martin_2110
Comment Utility
http://www.zimbra.com/
Zimbra is a client and server platform for next-generation messaging and collaboration.

It provides administrators and their end users innovative features that solve the challenges faced by organizations using today's legacy communications infrastructure. Key advantages include compatibility with Windows, Mac, and Linux desktop environments; better scalability and ease of maintenance; plus flexibility to integrate other applications as web services in our AJAX web client.

The Zimbra Collaboration Suite (ZCS) Open Source Edition is available for your download free of charge. You are welcome to use, modify, and redistribute ZCS Open Source Edition free of charge, provided you do so according to the terms of the appropriate License.

ZCS Network Edition has additional benefits and is available for administrators to download and try for free.

We welcome all Open Source Edition users to join the Zimbra Community, and invite you to share contributions of bug-fixes, enhancements, or other modifications with Zimbra for consideration for inclusion in Zimbra. A good first step is join the Zimbra Forums and learn more about becoming a Zimbra contributor.
0
 
LVL 7

Accepted Solution

by:
martin_2110 earned 500 total points
Comment Utility
Hey i do know the answer though.
OPTION 1.
You can either reboot and go in to the bios config for the array i think it is F8.  And create a drive for it. it is the simplest way but not possible to do.

OPTION 2.
you need to install hp utility to manage the raid controller.
Go here and  pick your distro if it is not there i recommend using option 1
http://h20000.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?prodNameId=3288132&lang=en&cc=us&prodTypeId=15351&prodSeriesId=397634&taskId=135
You want the "HP Array Configuration Utility CLI for Linux  (multi-part download)"
after the rpm install you can run
hpacucli help
and you should be able to figure out how to get the drive added.


0
 
LVL 7

Expert Comment

by:martin_2110
Comment Utility
Here is a good doc on hpacucli
http://people.freebsd.org/~jcagle/hpacucli-readme
0
 
LVL 7

Assisted Solution

by:martin_2110
martin_2110 earned 500 total points
Comment Utility
Here would be how you do it.
1. find your controller
[root@qsql01 ~]# hpacucli ctrl all show status

Smart Array P400 in Slot 1
   Controller Status: OK
   Cache Status: OK

2. show your contorller config notice the slot1 from above
hpacucli controller slot=1 show config

3 List all drives on the controller
[root@qsql01 ~]# hpacucli controller slot=1 show config

Smart Array P400 in Slot 1           (sn: PAFGK0R9SX51PU)

   array A (SAS, Unused Space: 0 MB)

      logicaldrive 1 (136.7 GB, RAID 1, OK)

      physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SAS, 146 GB, OK)
      physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SAS, 146 GB, OK)

   array B (SAS, Unused Space: 0 MB)

      logicaldrive 2 (546.8 GB, RAID 5, OK)

      physicaldrive 1I:1:5 (port 1I:box 1:bay 5, SAS, 146 GB, OK)
      physicaldrive 1I:1:6 (port 1I:box 1:bay 6, SAS, 146 GB, OK)
      physicaldrive 1I:1:7 (port 1I:box 1:bay 7, SAS, 146 GB, OK)
      physicaldrive 2I:1:3 (port 2I:box 1:bay 3, SAS, 146 GB, OK)
      physicaldrive 2I:1:4 (port 2I:box 1:bay 4, SAS, 146 GB, OK)
      physicaldrive 1I:1:8 (port 1I:box 1:bay 8, SAS, 146 GB, OK, spare)


4 So i don't have any drives that are unused but you should.
Here would be how you do it.
1. find your controller
[root@qsql01 ~]# hpacucli ctrl all show status

Smart Array P400 in Slot 1
   Controller Status: OK
   Cache Status: OK

2. show your contorller config notice the slot1 from above
hpacucli controller slot=1 show config

3 List all drives on the controller
[root@qsql01 ~]# hpacucli controller slot=1 show config

Smart Array P400 in Slot 1           (sn: PAFGK0R9SX51PU)

   array A (SAS, Unused Space: 0 MB)

      logicaldrive 1 (136.7 GB, RAID 1, OK)

      physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SAS, 146 GB, OK)
      physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SAS, 146 GB, OK)

   array B (SAS, Unused Space: 0 MB)

      logicaldrive 2 (546.8 GB, RAID 5, OK)

      physicaldrive 1I:1:5 (port 1I:box 1:bay 5, SAS, 146 GB, OK)
      physicaldrive 1I:1:6 (port 1I:box 1:bay 6, SAS, 146 GB, OK)
      physicaldrive 1I:1:7 (port 1I:box 1:bay 7, SAS, 146 GB, OK)
      physicaldrive 2I:1:3 (port 2I:box 1:bay 3, SAS, 146 GB, OK)
      physicaldrive 2I:1:4 (port 2I:box 1:bay 4, SAS, 146 GB, OK)
      physicaldrive 1I:1:8 (port 1I:box 1:bay 8, SAS, 146 GB, OK, spare)


4 So i don't have any drives that are unused but you should. IF drive "2I:1:4" above was unused i would do.
ctrl slot="1" create type=ld drives= 2I:1:4size=max raid=1+0
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now