Results 1 to 2 of 2

Thread: "WARNING: got more data then expected" when trying "create_compressed_fs"

  1. #1
    Junior Member
    Join Date
    Apr 2011
    Posts
    1

    "WARNING: got more data then expected" when trying "create_compressed_fs"

    Hello, I have not been able to find information about a 'create compressed fs' warning and was hoping someone may point me in the right direction.

    My remastering attempts are generating a warning about an incomplete image when I try 'create_compress_fs'. Can this warning be ignored, or does it indicate problem with my remastering approach?

    Here is how I am generating the ISO:

    Code:
    mkisofs -o /home/INNER.remastered.iso  \
                           -hide-rr-moved -cache-inodes 
                           -pad -R -U -V Boot_Disk 
                           -v -allow-multidot 
                           /home/remaster/source/KNOPPIX
    The mkisofs is run on a Debian machine. In a successful remastering, I get the following block sizes:

    Code:
    Done with: The File(s)                             Block(s)    70087
    Writing:   Ending Padblock                         Start Block 71979
    Sometime (and I can't figure out why), I get different block sizes when trying to remaster the same files. I get the following block sizes when 'create_compressed_fs' exists with the above warning:

    Code:
    Done with: The File(s)                             Block(s)    70086
    Writing:   Ending Padblock                         Start Block 71978
    There is a difference of 1 in the above block sizes.


    I compress the inner filesystem with the following command:

    Code:
    create_compressed_fs -v -m -B 65536 \
                                     /home/INNER.remastered.iso \
                                     /home/remaster/master/KNOPPIX/KNOPPIX
    The command exits with 1 and produces the following warning:

    Code:
    [ 9] Blk#  2249, [ratio/avg.   6%/ 37%], avg.speed: 3205565 b/s, ETA: 0s
    [ 9] Blk#  2250, [ratio/avg.   0%/ 37%], avg.speed: 3206989 b/s, ETA: 0s
    WARNING: got more data then expected. Trailing data is ignored, your image may be incomplete.[ 9] Blk#  2251, [ratio/avg.   0%/ 37%], avg.speed: 3208414 b/s, ETA: 0s
    
    [ 9] Blk#  2252, [ratio/avg.   0%/ 37%], avg.speed: 3209839 b/s, ETA: 0s
    [ 9] Blk#  2253, [ratio/avg.   0%/ 37%], avg.speed: 3211264 b/s, ETA: 0s
    
    Statistics:
    gzip(0):     0 (    0%)
    gzip(1):     0 (    0%)
    gzip(2):     0 (    0%)
    gzip(3):     0 (    0%)
    gzip(4):     0 (    0%)
    gzip(5):     0 (    0%)
    gzip(6):     0 (    0%)
    gzip(7):     0 (    0%)
    gzip(8):     0 (    0%)
    gzip(9):  2254 (1e+02%)
    7zip:     0 (    0%)
    Writing index for 2254 block(s)...
    
    Writing compressed data..
    Does anyone else see this warning message?

    Any suggestions on how to debug or fix this intermittent warning?

    Thank you,
    Jon

  2. #2
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Hi Jon Jaroker and welcome to the Knoppix forums.

    No reply probably means no one has seen this warming or they just don't take any notice. After a couple of days your post has dropped down the list and it unlikely to get a reply.

    Yes, it would be really nice is someone knew that mkisofs has simply got its block count wrong and the warning from create_compressed_fs was just noting thismk.

    I can't see anything wrong with your methodology except possibly character sets.

    Googling does not help much: compressed_fs is not widely used outside of Knoppix and mkiosfs isn't: it's geniosimage. It's a 'dead fork' created around 2007 as a result of a difference of interpretation of 'free' that failed to be reconciled in the usual amicable fashion that the Open Software movement is so famous for. Wikipedia mentions character sets as a possible root cause.

    It means if you Google for mkisofs you don't know which hits refer the version you are using and which refer to the real thing. The syslinux site's isolinux page (Knoppix LiveCD uses isolinux as a boot loader) recommends 1.1.13 but Knoppix has the 'dead fork' version 1.1.11 (which claims to be equivalent to 2.01 of the original). Meanwhile the original mkisofs has moved on to version 3.

    You may be able to check the integrity of the output of genisoimage using the tools described by:

    Code:
    man isoinfo
    I think genisoimage should give you an md5sum. Run this for yourself to check. See

    Code:
    man md5sum
    To check the integrity of your compressed image you would need to associate it with a spare cloop device:

    Code:
    losetup /dev/cloop1 /home/remaster/master/KNOPPIX/KNOPPIX
    It should then be possible to run md5sum and isoinfo et al on /dev/cloop1.

    There is other stuff you could so but you are not going to get the bug (if there is one) fixed. If I were worried by the warning I would not trust the output. I would regenerate the iso until I got compression with no warning.

    I don't see why genisoimage should have any hardish memory or processor requirement but to be on the safe side, I'd run these commands while my machine was otherwise idle and all big applications closed. That is while I'm asleep, out to work or just watching a real television.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge R7525 Server 24X2.5(8XNVME)+H745 2xEPYC 7302 CPU 128G RAM 2x2400W picture

Dell PowerEdge R7525 Server 24X2.5(8XNVME)+H745 2xEPYC 7302 CPU 128G RAM 2x2400W

$3350.00



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$274.00



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu picture

Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu

$135.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 1x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 1x 300GB HDD

$89.99



Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox

$340.00



DELL PowerEdge R730 16SFF Server 2x E5-2690v4 =28 Cores No RAM/ HDD H730 4xRJ45 picture

DELL PowerEdge R730 16SFF Server 2x E5-2690v4 =28 Cores No RAM/ HDD H730 4xRJ45

$232.97



DELL PowerEdge R630 8SFF Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$254.00



Dell R630 8 Port SFF Server 2x E5-2680v4 28C H730P 128GB 2x Trays RJ-45 ENT picture

Dell R630 8 Port SFF Server 2x E5-2680v4 28C H730P 128GB 2x Trays RJ-45 ENT

$345.00