Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#154 Fail to create an image on HP BL460c G1 (CCISS RAID)

open
Ceasar Sun
5
2012-07-25
2012-07-15
Pavlo Vovk
No

This is regarding the problem mentioned in the topic over here:

https://sourceforge.net/projects/clonezilla/forums/forum/394751/topic/4879137/index/page/2

I have the same problem with our BL460c G1 over here. Obviously the problem is in the way Clonezilla is handling/saving the CCISS device names. I'm only able to save the image if I comment out the following section out of ocs-functions file:

FND_PV="no"
for i in $target; do
if [ -n "$(LC_ALL=C stat --printf="%N\n" /dev/$i | awk -F" " '{print $NF}' | sed -r -e "s|\`||g" -e "s|'||g" | grep -Ew "${DEV##*/}")" ]; then
FND_PV="yes"
break
fi
done

So this check fails and i have to remove it and specifically set FND_PV to "yes". Then it all works fine.
As far as I remember, this happens because "pvs" and "stat" give out different real device names for CCISS devices, so the check fails.

Discussion

  • Steven Shiau
    Steven Shiau
    2012-07-25

    • assigned_to: nobody --> ceasar-sun
     
  • Steven Shiau
    Steven Shiau
    2012-07-25

    Thanks for the bug report.
    In the next few months, we will merge a derived version from Miracle Linux, which will deal with CCISS device natively. No more links.
    Then this issue should be gone.
    Please be patient.
    Thanks.

    Steven.