Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 793
  • Last Modified:

Linux: Installing an additional hard drive

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
Effin_Ell
Asked:
Effin_Ell
  • 4
2 Solutions
 
martin_2110Commented:
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
 
martin_2110Commented:
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
 
martin_2110Commented:
Here is a good doc on hpacucli
http://people.freebsd.org/~jcagle/hpacucli-readme
0
 
martin_2110Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now