[OpenAFS] /vicepa on Linux RAID

Harald Barth haba@kth.se
Sun, 03 Oct 2010 18:19:59 +0200 (CEST)


> Should OpenAFS have problems with a /vicepa that exists on a Linux
> RAID (e.g. /dev/md0) device?

No. 

> ...but when I get to making the root volume (afs-rootvol), the
> machine crashes,...

I suppose this is before the /vicepa even exists, so how should this
be an AFS problem?

I have btw one server with the following setup:

kelp# cat /proc/mdstat    
Personalities : [raid1] [raid5] 
md2 : active raid5 sdf1[5] sde1[4] sdd1[3] sdc1[2] sdb1[1] sda1[0]
      886465920 blocks level 5, 64k chunk, algorithm 2 [6/6] [UUUUUU]
      
kelp# pvdisplay /dev/md2
  --- Physical volume ---
  PV Name               /dev/md2
  VG Name               vicevg
  PV Size               845.40 GB / not usable 0   
  Allocatable           yes 
  PE Size (KByte)       4096
  Total PE              216422
  Free PE               11
  Allocated PE          216411
  PV UUID               vi8GSl-Nqlh-VFOI-jEfG-kGxq-4Wy0-cDGPPk
   

kelp# lvdisplay  /dev/vicevg/vicepa
  --- Logical volume ---
  LV Name                /dev/vicevg/vicepa
  VG Name                vicevg
  LV UUID                jVEib9-fBzb-GVvT-MmEV-qDP3-HXSy-1amFNc
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                422.70 GB
  Current LE             108212
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:4

kelp# lvdisplay  /dev/vicevg/vicepb
  --- Logical volume ---
  LV Name                /dev/vicevg/vicepb
  VG Name                vicevg
  LV UUID                D40GJ6-3uui-K17a-EDas-WD2G-31h2-lDeI2W
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                422.65 GB
  Current LE             108199
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:5

kelp# mount | grep vice
/dev/mapper/vicevg-vicepa on /vicepa type xfs (rw,noatime)
/dev/mapper/vicevg-vicepb on /vicepb type xfs (rw,noatime)

This is on acient Centos.

Harald.