Solved

Linux: Installing an additional hard drive

Posted on 2009-04-02
4
773 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
ID: 24051984
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
ID: 24052200
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
ID: 24052260
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
ID: 24052623
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 …
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

821 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