ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

SmartArray P212/256 and RAID5 with cciss driver: no space left on device

BVlad
Occasional Visitor

SmartArray P212/256 and RAID5 with cciss driver: no space left on device

Hello there,

I'm installing HP DL180 G6 with 12-disk front bay.
Internals:
one Xeon E5520 CPU, 6GB RAM,
SmartArray P212 controller with 256MB cache. Disk cage is loaded with 2x 146GB SAS disks and 4x 2GB SATA disks.

Controller is running latest available firmware (3.66) and has two logical disks configured:
- RAID1 volume based on 146GB SAS disks, visible to underlaying linux system as /dev/cciss/c0d0
- RAID5 volume based on 2TB SATA disks, /dev/cciss/c0d1

hpacucli shows everything is fine, and I can see the real size of RAID devices:

# cat /proc/partitions
major minor #blocks name
104 0 143338560 cciss/c0d0
104 1 96358 cciss/c0d0p1
104 2 143235540 cciss/c0d0p2
104 16 5860445272 cciss/c0d1
104 17 5860444160 cciss/c0d1p1

(Partition 1, c0d1p1 was created with parted after initializing the GPT label)

However, my block write attempts fail.
I cannot write to the partition, it fails right away:

# dd if=/dev/zero of=/dev/c0d1p1 bs=1M count=10240
dd: writing `/dev/c0d1p1': No space left on device
1+0 records in
0+0 records out
4096 bytes (4.1 kB) copied, 0.000534731 s, 7.7 MB/s

If I would write to the disk itself, it would give me a headroom of 3.1GB:

# dd if=/dev/zero of=/dev/c0d1 bs=1M count=10240
dd: writing `/dev/c0d1': No space left on device
2978+0 records in
2977+0 records out
3122606080 bytes (3.1 GB) copied, 1.32505 s, 2.4 GB/s

Some technical information:
Debian Linux version 6.0 (squeeze)
Linux hostname 2.6.32-5-amd64 #1 SMP Wed Jan 12 03:40:32 UTC 2011 x86_64 GNU/Linux

dmesg does not show anything strange

# modinfo cciss | grep version:
version: 3.6.20
srcversion: 9DE0C3ECDF1A8C9C0467DBF

Ideas anyone?

Regards,
Vlad
2 REPLIES
BVlad
Occasional Visitor

Re: SmartArray P212/256 and RAID5 with cciss driver: no space left on device

hpacucli (ACU CLI Version: 8.60-8.0, SoulAPI Version: 5.2.52.0) output attached for reference.
BVlad
Occasional Visitor

Re: SmartArray P212/256 and RAID5 with cciss driver: no space left on device

Update:

action #1:
broke down 4-disk RAID5 array into two independent RAID0 and RAID1 arrays, but still same symptoms.

action #2:
compiled latest vanilla kernel with hpsa driver:
# modinfo hpsa | grep version:
version: 2.0.2-1
srcversion: F1B996CE222377D1EB0F045
# uname -a
Linux hostname 2.6.37.2 #1 SMP Mon Feb 28 11:11:43 EST 2011 x86_64 GNU/Linux
# cat /proc/partitions
major minor #blocks name

8 0 143338560 sda
8 1 96358 sda1
8 2 143235540 sda2
8 32 3906963544 sdc
8 16 1953481816 sdb

Issue seems to be resolved, disks are writeable now.

# dd if=/dev/zero of=/dev/sdb bs=1M count=20K
20480+0 records in
20480+0 records out
21474836480 bytes (21 GB) copied, 176.445 s, 122 MB/s
# dd if=/dev/zero of=/dev/sdc bs=1M count=20K
20480+0 records in
20480+0 records out
21474836480 bytes (21 GB) copied, 92.318 s, 233 MB/s

However, hpacucli does not seem to work, and now I'm looking for alternative.