On 5/9/2013 8:54 AM, Xiao Peng Wang wrote:
If possible could you try to do the following change when you could recreate the issue on NetApp or Isilon.

    Replace the '|cpio -H newc -o |' part with '|cpio -H newc -o
    --verbose 2>/tmp/cpiolog |' and to see what we could get in the
'/tmp/cpiolog' when issue happens.

And please let us know the result of the trying of squashfs or the trying of James's suggestion that using 'cpio -o' replace 'cpio -H newc -o'.


Here's the results of my testing:

_Redirecting errors to cpiolog with archive format as NEWC:_

 * No errors recorded, but binaries are still 0 bytes. Example:

   [root@box3 bin]# pwd
   /install/netboot/centos6.3/x86_64/compute/rootimg/usr/bin

   [root@box3 bin]# ll gcc
   -rwxr-xr-x 2 root root 263824 Jun 22  2012 gcc

   (Extracted rootimg.gz here)
   [root@box3 bin]# pwd
   /install/netboot/centos6.3/x86_64/compute/tmp/usr/bin

   [root@box3 bin]# ll gcc
   *-rwxr-xr-x 2 root root 0 May 13 10:38 gcc*

[root@box3 bin]# find . -type f -size 0b
./gcc
./perl
./x86_64-redhat-linux-gcc
./c2ph
./skill
./python
./pgrep
./sudoedit
./python2.6
./snice
./psed
./sudo
./s2p
./pstruct
./perlbug
./perlthanks
./perl5.10.1
./pkill

 * Output from /tmp/cpiolog for that file. No errors recorded, and no
   errors around it. I surfed it and saw nothing out of the ordinary in
   this log, just a list of files it packed and the final size at the end.

   ./usr/bin/bzip2
   ./usr/bin/factor
   *./usr/bin/gcc*
   ./usr/bin/mpdsigjob
   ./usr/bin/yes


_Changing archive format to BIN (default in copy-out mode for cpio in CentOS 6) in packimage plugin_

 * Seems to work fine:

   [root@box3 bin]# pwd
   /install/netboot/centos6.3/x86_64/compute/tmp2/usr/bin

   [root@box3 bin]# ll gcc
   -rwxr-xr-x 2 root root 263824 May 13 10:55 gcc

   [root@box3 bin]# find . -type f -size 0b
   [root@box3 bin]#

 * According to the man page the bin format has a limit of 65,000
   inodes though, so if the rootimg is going to need to have a lot of
   small files in it, it's not practical.


I also tried the "crc" format, which according to the man page is NEWC with checksums added, and it showed the same problem - 0 byte files.


I have not tried squashfs yet as I am working out the best way of getting the aufs module compiled. I expect it to work fine however.
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to