Operating System - Linux
1828669 Members
2624 Online
109984 Solutions
New Discussion

Re: upgrading disk on DL360

 
Daniele Palumbo
Advisor

upgrading disk on DL360

hello to all, i am a new user in this forum.

i have a DL360 (g1) in production.
i am going to change my 18 GB to 72.8 GB.
and if i do not have to reboot, well that's good!

the question is:
how can i proceed?

my thoughts:
1) extract one 18 GB disk, insert one 72.8 GB.
2) wait for happy end
3) extract second 18 GB, and insert the other 72.8 GB.
4) relax, take a week of relax, see how disks are doing the job :)
5) resize the array. or, if i can't, create a new array with free parts of disks.

again: how?

i have found hpacucli, but i have to use version < 7.60, cause i have "Integrated Smart Array Controller".

now on, this is my actual configuration:
---
=> controller slot=0 physicaldrive all show


Integrated Smart Array in Slot 0

array A
physicaldrive 2:0 (port 2:id 0 , Parallel SCSI, 0 Byte, Failed)
physicaldrive 2:1 (port 2:id 1 , Parallel SCSI, 0 Byte, Failed)

=> controller slot=0 logicaldrive all show


Integrated Smart Array in Slot 0

array A
logicaldrive 1 (16.9 GB, RAID 1+0, OK)

=>
---

i have found, in help, something that may help:
---
[size=#|max|?] [forced]
Extends the logical drive to the specified size. The implied units are MB.
max will extend the logicaldrive to its maximum size.
can be any valid logical drive target
---
but speaks about logical drive.

is this what i need?
what i have to do to let linux know about new partition size?

thanks!
d.
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: upgrading disk on DL360

Shalom,

I've tried the very same thing on an DL360.

If you are running RAID 1 your plan can work.

I would suggest pulling out the primary disk first. You can then immediately put in a clean (it must be a clean disk) larger primary.

Then be sure the sync is done (PSP provides a status that can be accessed via a http browser). Then repeat.

Where you may get into trouble is actually utilizing the new space. That depends on your distribution. Reveal that information and further advice can be given.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Daniele Palumbo
Advisor

Re: upgrading disk on DL360

Hi, thanks for the reply.

first of all, a question: what PSP stand for?

then,
I am using gentoo, but how kernel module can be related to show up or doesn't show up new logical space?

i have already installed the hpsmh, and also cpqacuex, started all but cpqacuex is not found by hpsmh.
dunno why, then i found hpacucli, and i hope this was all that i need!

is sufficent hpaculi
---
=> controller all show status
Integrated Smart Array in Slot 0
Controller Status: OK
Cache Status: OK
=>
---

to know if the resync is done?

thanks
daniele
skt_skt
Honored Contributor

Re: upgrading disk on DL360

see if this helps a little

=
root@MeshManager Desktop]# hpacucli
HP Array Configuration Utility CLI 7.80-6.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.

*****************************************************************
****** Check to see that the 2nd hard drive is available and ****
****** unassigned. ****
*****************************************************************
=> ctrl all show config detail

Smart Array 6i in Slot 0
Bus Interface: PCI
Slot: 0
RAID 6 (ADG) Status: Disabled
Controller Status: OK
Chassis Slot:
Hardware Revision: Rev B
Firmware Version: 2.58
Rebuild Priority: Low
Expand Priority: Low
Surface Scan Delay: 15 sec
Cache Board Present: True
Cache Status: OK
Accelerator Ratio: 100% Read / 0% Write
Total Cache Size: 64 MB
Battery Pack Count: 0
SATA NCQ Supported: False

Array: A
Interface Type: Parallel SCSI
Unused Space: 0 MB
Status: OK

Logical Drive: 1
Size: 33.9 GB
Fault Tolerance: RAID 0
Heads: 255
Sectors Per Track: 32
Cylinders: 8716
Stripe Size: 128 KB
Status: OK
Array Accelerator: Enabled
Unique Identifier: 600508B1001FFFFFA0000439EA740000
Disk Name: /dev/cciss/c0d0
Mount Points: /boot 99 MB, /var 9.8 GB, / 22.1 GB, swap 1.9 GB

physicaldrive 1:0
SCSI Bus: 1
SCSI ID: 0
Status: OK
Drive Type: Data Drive
Interface Type: Parallel SCSI
Transfer Mode: Ultra 320 Wide
Size: 36.4 GB
Transfer Speed: 320 MB/Sec
Rotational Speed: 15000
Firmware Revision: HPB1
Serial Number: DSL1P6500Y090620
Model: COMPAQ BF03689BC3

unassigned

physicaldrive 1:1
SCSI Bus: 1
SCSI ID: 1
Status: OK
Drive Type: Unassigned Drive
Interface Type: Parallel SCSI
Transfer Mode: Ultra 320 Wide
Size: 36.4 GB
Transfer Speed: 320 MB/Sec
Rotational Speed: 15000
Firmware Revision: HPB5
Serial Number: 3KQ22Q6Y00009706RMZK
Model: COMPAQ BF0368A4CA

*****************************************************************
****** Assign physicaldrive 1:1 to array A **********************
*****************************************************************
=> ctrl slot=0 array A add drives=allunassigned

*****************************************************************
****** Check to see that the 2nd hard drive is now assigned ****
****** to array A. Note: Check the Status of Array A. ****
****** Array A's status will show 'Expanding'. ****
****** Do not shutdown or restart until 'Status' of Array A ****
****** shows Expanding 100% complete. ****
****** Note: Expanding takes about 15 minutes per Gigabyte. ****
*****************************************************************
=> ctrl all show config detail

Smart Array 6i in Slot 0
Bus Interface: PCI
Slot: 0
RAID 6 (ADG) Status: Disabled
Controller Status: OK
Chassis Slot:
Hardware Revision: Rev B
Firmware Version: 2.58
Rebuild Priority: Low
Expand Priority: Low
Surface Scan Delay: 15 sec
Cache Board Present: True
Cache Status: Temporarily Disabled
Accelerator Ratio: 100% Read / 0% Write
Total Cache Size: 64 MB
Battery Pack Count: 0
SATA NCQ Supported: False

Array: A
Interface Type: Parallel SCSI
Unused Space: 34728 MB
Status: OK

Logical Drive: 1
Size: 33.9 GB
Fault Tolerance: RAID 0
Heads: 255
Sectors Per Track: 32
Cylinders: 8716
Stripe Size: 128 KB
Status: Expanding 0.1% complete
Array Accelerator: Enabled
Unique Identifier: 600508B1001FFFFFA0000439EA740000
Disk Name: /dev/cciss/c0d0
Mount Points: /boot 99 MB, /var 9.8 GB, / 22.1 GB, swap 1.9 GB

physicaldrive 1:0
SCSI Bus: 1
SCSI ID: 0
Status: OK
Drive Type: Data Drive
Interface Type: Parallel SCSI
Transfer Mode: Ultra 320 Wide
Size: 36.4 GB
Transfer Speed: 320 MB/Sec
Rotational Speed: 15000
Firmware Revision: HPB1
Serial Number: DSL1P6500Y090620
Model: COMPAQ BF03689BC3
physicaldrive 1:1
SCSI Bus: 1
SCSI ID: 1
Status: OK
Drive Type: Data Drive
Interface Type: Parallel SCSI
Transfer Mode: Ultra 320 Wide
Size: 36.4 GB
Transfer Speed: 320 MB/Sec
Rotational Speed: 15000
Firmware Revision: HPB5
Serial Number: 3KQ22Q6Y00009706RMZK
Model: COMPAQ BF0368A4CA

*****************************************************************
****** After 2nd drive has been added to Array A and ****
****** array expanding is complete (100%) the resulting ****
****** config information is shown below. Status = 'OK' ****
*****************************************************************
=> ctrl all show config

Smart Array 6i in Slot 0 ()

array A (Parallel SCSI, Unused Space: 34728 MB)

logicaldrive 1 (33.9 GB, RAID 0, OK)

physicaldrive 1:0 (port 1:id 0 , Parallel SCSI, 36.4 GB, OK)
physicaldrive 1:1 (port 1:id 1 , Parallel SCSI, 36.4 GB, OK)

*****************************************************************
****** Check to see which RAID options are now available ****
*****************************************************************
=> ctrl slot=0 ld 1 modify raid=?

Available options are:
raid 0 (current value)
raid 1+0 (default value)

*****************************************************************
****** Migrate logicaldrive 1 (ld 1) from RAID=0 to RAID=1+0 ****
****** Use same stripe size... stripesize = 128. This command****
****** returns to the '=>' prompt. ****
*****************************************************************


=> ctrl slot=0 ld 1 modify raid=1+0 stripesize=128
=>

*****************************************************************
****** Check the status to verify that the drive is now ****
****** in RAID=1+0 and is expanding. ****
****** Do not shutdown or restart until 'Status' of Array A ****
****** shows Expanding 100% complete. ****
****** Note: Expanding takes about 15 minutes per Gigabyte. ****
*****************************************************************
=> ctrl all show config

Smart Array 6i in Slot 0 ()

array A (Parallel SCSI, Unused Space: 0 MB)

logicaldrive 1 (33.9 GB, RAID 1+0, Expanding 4.3% complete)

physicaldrive 1:0 (port 1:id 0 , Parallel SCSI, 36.4 GB, OK)
physicaldrive 1:1 (port 1:id 1 , Parallel SCSI, 36.4 GB, OK)

*****************************************************************
****** Verify that Status changes to 'OK' once expansion is ****
****** complete. Both drives are now mirrored in RAID 1+0. ****
*****************************************************************
=> ctrl all show config

Smart Array 6i in Slot 0 ()

array A (Parallel SCSI, Unused Space: 0 MB)

logicaldrive 1 (33.9 GB, RAID 1+0, OK)

physicaldrive 1:0 (port 1:id 0 , Parallel SCSI, 36.4 GB, OK)
physicaldrive 1:1 (port 1:id 1 , Parallel SCSI, 36.4 GB, OK)


==
Daniele Palumbo
Advisor

Re: upgrading disk on DL360

I did the upgrade yesterday.

unfortunatly with HP CLI 7.50.18.0, and Firmware Revision: 1.42 on smart array, all the modify command are not available.

but, i accomplished anyway with following procedure, without using any cli or things like that, i report that but:
KEEP IN MIND, I AM NO RESPONSABLE IF YOU LOSE YOUR DATA
and, please try to make a backup.

my setup have raid1 with two identical disk.
i replaced that disks with two identical, but bigger, disk.

that is:
- replaced disk 1 with a BLANK disk (if needed, dd if=/dev/zero of=addressofsingledisk)
- waited the resync, you can view it because the middle led is blinking while resync. or you can use arrayprobe (http://www.strocamp.net/opensource/arrayprobe.php)
- replaced second disk, with a BLANK disk, and waited for resync.

now the crazy part:
- reboot, and go in the array configuration of bios (for me, F10)
- delete array, it will show a warning about data loss. delete it.
- recreate array, of course in raid1.

this is done.
now you have an array of the right size, and you can use free space simply by partitioning it.

of course, you can use partition magic or parted or simply fdisk/cfdisk/...

bye
d.