Solved

Linux: Installing an additional hard drive

Posted on 2009-04-02
4
776 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 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