ProLiant Servers (ML,DL,SL)
1753797 Members
6874 Online
108799 Solutions
New Discussion юеВ

P400i - Problem adding new RAID set

 
joedotslash
Occasional Advisor

P400i - Problem adding new RAID set

Hello all,

I'm running Fedora 10 on a DL360 G5 with the P400i controller. It has two SCSI disks setup in a mirror configuration with no issues.

I just added two more disks which I configured as RAID1 in the BIOS but Fedora is not able to see them.

They do not appear in /etc/fstab and the lvdisplay only shows the first mirror set and the swap partition (see below).

Any ideas what I have to do to bring the other RAID online?

Thanks,
Joe


lvm> lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID rnbECe-pRrD-i337-1XTp-mrE6-EhOD-hXm4sV
LV Write Access read/write
LV Status available
# open 1
LV Size 62.94 GB
Current LE 2014
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0

--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID Xwzy8N-LR7k-bViu-bSWG-pAMs-YHv7-A3boWM
LV Write Access read/write
LV Status available
# open 1
LV Size 5.16 GB
Current LE 165
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
10 REPLIES 10
Michal Kapalka (mikap)
Honored Contributor

Re: P400i - Problem adding new RAID set

hi,

at first your OS need to detect your added disk and them you will be able to play with LVM.

mikap
joedotslash
Occasional Advisor

Re: P400i - Problem adding new RAID set

Any ideas how to make it detect the disk?

The mirror set was created successfully in the BIOS in the same place as the existing mirror where the boot and swap partitions live so it's not like I need to install a driver for the RAID card or anything.

I just need to force the OS to see the new RAID set.
Michal Kapalka (mikap)
Honored Contributor

Re: P400i - Problem adding new RAID set

how did you added the disks ??? and created the raid logical volume ??

online or offline ???

mikap
joedotslash
Occasional Advisor

Re: P400i - Problem adding new RAID set

I just added them in the BIOS. I rebooted, pressed F8 at the prompt on the p400i and added the two new disks as a RAID 1 set. Then I booted into Fedora and tried to figure out whether the OS could see them.

:)
Modris Bremze
Esteemed Contributor

Re: P400i - Problem adding new RAID set

Check
vgdisplay -v VolGroup00
which should show you already used disks/partitions, and then check
ll /dev/sd*
There should be your previous disk with its partitions (from vgdisplay output), as well as your new disk. File /dev/sd* file dates also could help identifying the new drive. If there is one - create a new partition(s) on it, create PV, extend the VG and then extend the LVs as necessary. If there are no other disks under /dev/, something has gone wrong..
Jimmy Vance
HPE Pro

Re: P400i - Problem adding new RAID set

The added array will not show up in /etc/fstab or with any of the lvm tools. You need to put a partition on the disk and format it.

try fdisk -l to show what the system identifies. Should be something like /dev/cciss/c0d0 and /dev/cciss/c0d1 c0d0 should be the original array and will show a partition, c0d1 should show as a blank disk.

Once you have the array usable, then you can set it up with lvm

Make sure you have a valid backup before you mess around with partitions and formatting

No support by private messages. Please ask the forum! 
joedotslash
Occasional Advisor

Re: P400i - Problem adding new RAID set

I appreciate the responses!

The sda device shown below is an external USB drive. Unfortunately I'm not seeing what I expected:


fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sda1 1 121602 976762583+ ee GPT
joedotslash
Occasional Advisor

Re: P400i - Problem adding new RAID set

Here's more detail:

df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
62G 33G 27G 55% /
/dev/cciss/c0d0p1 190M 21M 160M 12% /boot
tmpfs 2.0G 1.7M 2.0G 1% /dev/shm
/dev/sda2 917G 291G 580G 34% /media/disk
joedotslash
Occasional Advisor

Re: P400i - Problem adding new RAID set

Still more progress... it's there but I just need to figure out how to make a logical volume, etc.

[root@server /]# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
62G 36G 24G 60% /
/dev/cciss/c0d0p1 190M 21M 160M 12% /boot
tmpfs 2.0G 1.7M 2.0G 1% /dev/shm
/dev/sda2 917G 291G 580G 34% /media/disk
[root@server /]# cat /proc/driver/cciss/cciss0
cciss0: HP Smart Array P400i Controller
Board ID: 0x3235103c
Firmware Version: 5.20
IRQ: 16
Logical drives: 2
Current Q depth: 0
Current # commands on controller: 0
Max Q depth since init: 16
Max # commands on controller since init: 26
Max SG entries since init: 31
Sequential access devices: 0

cciss/c0d0: 73.37GB RAID 1(1+0)
cciss/c0d1: 500.07GB RAID 1(1+0)
[root@server /]# hpacucli controller all show

Smart Array P400i in Slot 0 (sn: PH8AMQ5382 )

[root@server /]# hpacucli controller all show status

Smart Array P400i in Slot 0
Controller Status: OK
Cache Status: OK


[root@server /]# hpacucli ctrl slot=0 pd all show

Smart Array P400i in Slot 0

array A

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

array B

physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 500.1 GB, OK)
physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 500.1 GB, OK)

[root@server /]# hpacucli ctrl slot=0 logicaldrive all show status

logicaldrive 1 (68.3 GB, RAID RAID 1+0): OK
logicaldrive 2 (465.7 GB, RAID RAID 1+0): OK

[root@server /]# vgdisplay -v VolGroup00
Using volume group(s) on command line
Finding volume group "VolGroup00"
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 68.12 GB
PE Size 32.00 MB
Total PE 2180
Alloc PE / Size 2179 / 68.09 GB
Free PE / Size 1 / 32.00 MB
VG UUID fXjFhE-DEGx-natG-62nl-JuE4-MgFv-RxO3Me

--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID rnbECe-pRrD-i337-1XTp-mrE6-EhOD-hXm4sV
LV Write Access read/write
LV Status available
# open 1
LV Size 62.94 GB
Current LE 2014
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0

--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID Xwzy8N-LR7k-bViu-bSWG-pAMs-YHv7-A3boWM
LV Write Access read/write
LV Status available
# open 1
LV Size 5.16 GB
Current LE 165
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1

--- Physical volumes ---
PV Name /dev/cciss/c0d0p2
PV UUID IeSNJ8-4SSF-sc38-krzk-Fh9h-FDAy-myTnHj
PV Status allocatable
Total PE / Free PE 2180 / 1

[root@server /]# vgscan
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
[root@server /]# vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 68.12 GB
PE Size 32.00 MB
Total PE 2180
Alloc PE / Size 2179 / 68.09 GB
Free PE / Size 1 / 32.00 MB
VG UUID fXjFhE-DEGx-natG-62nl-JuE4-MgFv-RxO3Me

[root@server /]# lvscan
ACTIVE '/dev/VolGroup00/LogVol00' [62.94 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [5.16 GB] inherit