<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Linux image deploy in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944033#M55326</link>
    <description>This is a bug, the team is working to actually use the information that is stored in that file. As it is now, we gather that info... but don't use it.  :)&lt;BR /&gt;&lt;BR /&gt;Robert</description>
    <pubDate>Mon, 12 Mar 2007 15:44:41 GMT</pubDate>
    <dc:creator>Robert Crockett</dc:creator>
    <dc:date>2007-03-12T15:44:41Z</dc:date>
    <item>
      <title>Linux image deploy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944024#M55317</link>
      <description>Hi,&lt;BR /&gt;I have a problem deploying a captured linux image on BL25p and 45p servers.&lt;BR /&gt;&lt;BR /&gt;The captured image has this disk layout:&lt;BR /&gt;&lt;BR /&gt;/dev/cciss/c0d0p1 /boot ext3 primary&lt;BR /&gt;/dev/cciss/c0d0p2 /home ext3 primary&lt;BR /&gt;/dev/cciss/c0d0p3 /     ext3 primary&lt;BR /&gt;/dev/cciss/c0d0p4            extended&lt;BR /&gt;/dev/cciss/c0d0p5 &lt;SWAP&gt; linux-swap logical&lt;BR /&gt;/dev/cciss/c0d0p6 /app ext3 logical&lt;BR /&gt;/dev/cciss/c0d0p7 /var ext3 logical&lt;BR /&gt;&lt;BR /&gt;The capture task works fine, but when I try to deploy that image, when CT request me to configure the disk partition layout (task configuration), I can define only primary or extended partitions, not logical ones.&lt;BR /&gt;How can I configure the logical partitions and relative mount points ?&lt;BR /&gt;&lt;BR /&gt;If I try to create more than 4 primary partitions the task obviously fails...and also if I try to create more than one extended partition...&lt;BR /&gt;&lt;BR /&gt;Deploy task works only If I capture a linux server configured with 4 or less primary partition... but the problem still exists, because I cannot change customer disk partitioning layout. ;o&lt;BR /&gt;&lt;BR /&gt;Any suggestions ? thanks !!&lt;/SWAP&gt;</description>
      <pubDate>Tue, 13 Feb 2007 17:29:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944024#M55317</guid>
      <dc:creator>Davide Tammaro</dc:creator>
      <dc:date>2007-02-13T17:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Linux image deploy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944025#M55318</link>
      <description>Hello Davide, yes we are aware of an issue when deploying linux images with more than 4 mount points (partitions) with CT. I regret that this issue is causing you trouble and I want to inform you that we are working on the resolution right now. I expect to have that resolution in the next day or two.&lt;BR /&gt;I don't see any company name associated... are you running a demo version to check the product out ? or have you purchased Control Tower (v. 1.0 or 1.1) ? or the newest version 1.5 which has a name change to Insight Control Linux Edition ?&lt;BR /&gt;&lt;BR /&gt;best regards,&lt;BR /&gt;&lt;BR /&gt;Robert Crockett</description>
      <pubDate>Wed, 14 Feb 2007 17:03:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944025#M55318</guid>
      <dc:creator>Robert Crockett</dc:creator>
      <dc:date>2007-02-14T17:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Linux image deploy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944026#M55319</link>
      <description>I'm waiting on your great job....&lt;BR /&gt;&lt;BR /&gt;I was working on a customer test (pre production) environment. The product is HP Insight Control Linux 1.5&lt;BR /&gt;&lt;BR /&gt;At the moment it is a trial license in use.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Davide&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Feb 2007 03:33:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944026#M55319</guid>
      <dc:creator>Davide Tammaro</dc:creator>
      <dc:date>2007-02-15T03:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Linux image deploy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944027#M55320</link>
      <description>Ok, thank you for your patience... I just came out of a meeting and the test group has a potential fix for this and started testing yesterday evening, and will continue testing all day today. Once they complete the testing I will update you on the way to solve this issue in your lab (and for your potential customer).  &lt;BR /&gt;&lt;BR /&gt;Robert</description>
      <pubDate>Thu, 15 Feb 2007 11:42:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944027#M55320</guid>
      <dc:creator>Robert Crockett</dc:creator>
      <dc:date>2007-02-15T11:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Linux image deploy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944028#M55321</link>
      <description>Davide, I have been given the fix for this issue and it is a single java script file and it is 1.4k in size. We are working to get the fix out to everyone, but I wanted to give it to you ASAP !&lt;BR /&gt;&lt;BR /&gt;I will try sending through this forum, but if this doesn't work I just need an email address that can accept zip files. :)&lt;BR /&gt;&lt;BR /&gt;Once you get the file here is what you need to do:&lt;BR /&gt;&lt;BR /&gt;All you need to do is putty into the ICLE system and go to the following folder:&lt;BR /&gt; &lt;BR /&gt;/var/rct/public/provision&lt;BR /&gt; &lt;BR /&gt;You will see a file called 'Partition.js' - I recomend you rename that file and pay attention to permissions and owners.&lt;BR /&gt; &lt;BR /&gt;(screen shot of one of my Control Towers)&lt;BR /&gt; &lt;BR /&gt;controltower:/var/rct/public/provision# ls -al Partition.js&lt;BR /&gt;-rw-r--r--  1 rct rct 5318 Feb 14 17:01 Partition.js&lt;BR /&gt;&lt;BR /&gt;Then unzip the attached file and copy it to that location and verify/modify permissions and owners.&lt;BR /&gt;&lt;BR /&gt;Let me know that this works for you, we have tested it thoroughly.&lt;BR /&gt;&lt;BR /&gt;best regards,&lt;BR /&gt;&lt;BR /&gt;Robert</description>
      <pubDate>Tue, 20 Feb 2007 18:34:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944028#M55321</guid>
      <dc:creator>Robert Crockett</dc:creator>
      <dc:date>2007-02-20T18:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Linux image deploy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944029#M55322</link>
      <description>Robert, thanks for your support. This week I cannot test your fix because I'm out of office, but I'll try next week.&lt;BR /&gt;&lt;BR /&gt;I'll update this topic ASAP.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Davide</description>
      <pubDate>Wed, 21 Feb 2007 03:03:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944029#M55322</guid>
      <dc:creator>Davide Tammaro</dc:creator>
      <dc:date>2007-02-21T03:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Linux image deploy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944030#M55323</link>
      <description>&lt;!--!*#--&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;We are facing the same problem and we tried the provided javascript fix, but atleast in our environment it did not solve the problem.&lt;BR /&gt;&lt;BR /&gt;Still, the deploy actually works, ie. CT is able to deploy the image with all data that was included when the image was captured, but the disk layout will not be what it was in the original image.&lt;BR /&gt;&lt;BR /&gt;A workaround 'hack' for creating those logical partitions is to edit the Partition.js -file and find the part&lt;BR /&gt;&lt;BR /&gt;// Handle Extended Partitions&lt;BR /&gt;&lt;BR /&gt;Make a copy of the row after 'else if'. Then modify the copied row by changing the both "extended" strings to "logical". Now you should have also 'logical' selectable in the partition configuration. This is not how this should be fixed but seems to work. Just remember to create an extended partition type with size * after the third primary partition. Then create the rest as 'logical'.&lt;BR /&gt;&lt;BR /&gt;Please note that I have not had the chance to verify this thoroughly, but CT is able to create the defined partitions and boot the system and 'fdisk -l' shows correct partition information after boot. Unfortunately, I do not currently have access to the system we tested this in, so I cannot do any additional testing until tomorrow.&lt;BR /&gt;&lt;BR /&gt;To me it seems that CT is not able to read the partition information from the image info file and it therefore falls back to some default values. It also seems to install it's own version of GRUB configuration during deployment so that possible modifications will be lost. This also needs to be verified still.&lt;BR /&gt;&lt;BR /&gt;We're also using CT 1.5.0 but with a commercial license.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Mar 2007 01:36:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944030#M55323</guid>
      <dc:creator>Teemu Turpeinen</dc:creator>
      <dc:date>2007-03-06T01:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Linux image deploy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944031#M55324</link>
      <description>Hello Teemu, you say you "face the same problem" when using the modified file we sent you ?  I personally tried this fix numerous times and it worked as expected for me. Can you give me more detail on this ? Did you try to create 3 primary partitions, then create an extended partition as the 4th partition ? Note that you must click on the "create" button in the bottom left corner of that screen to actually create a new partition !&lt;BR /&gt;If you modify the file I sent in any way I cannot support you, that is not what I intended. :)&lt;BR /&gt;Robert&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Mar 2007 11:03:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944031#M55324</guid>
      <dc:creator>Robert Crockett</dc:creator>
      <dc:date>2007-03-06T11:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linux image deploy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944032#M55325</link>
      <description>Hello Robert.&lt;BR /&gt;&lt;BR /&gt;Thanks for a quick reply. Indeed, you are correct that the new version of the javascript file works out of the box. Not sure what went wrong the last time we tried. Please note that the file was not modified until we were quite sure it did not work. It was after that when we investigated the file a bit more and tried the modification presented in my previous message.&lt;BR /&gt;&lt;BR /&gt;However, there a still some weird issues with deploying a Linux image.&lt;BR /&gt;&lt;BR /&gt;- Why doesn't CT read the partition information correctly from the info file? It always shows it correctly when starting to create a task profile for deployment, but in the next window it always suggests creating just /boot, / and swap partitions. Nothing else. So now, for each different type of server we need to create the partitions manually when creating a task profile for deploying the particular server. Of course, this only needs to be done once, but still. &lt;BR /&gt;&lt;BR /&gt;- The GRUB configuration file gets modified / overwritten by CT. Is this a feature or a bug?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Br, &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/teemu</description>
      <pubDate>Mon, 12 Mar 2007 07:01:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944032#M55325</guid>
      <dc:creator>Teemu Turpeinen</dc:creator>
      <dc:date>2007-03-12T07:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Linux image deploy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944033#M55326</link>
      <description>This is a bug, the team is working to actually use the information that is stored in that file. As it is now, we gather that info... but don't use it.  :)&lt;BR /&gt;&lt;BR /&gt;Robert</description>
      <pubDate>Mon, 12 Mar 2007 15:44:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944033#M55326</guid>
      <dc:creator>Robert Crockett</dc:creator>
      <dc:date>2007-03-12T15:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Linux image deploy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944034#M55327</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;Ok. We'll be waiting for the fixes.&lt;BR /&gt;&lt;BR /&gt;Br,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/teemu</description>
      <pubDate>Tue, 13 Mar 2007 04:16:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944034#M55327</guid>
      <dc:creator>Teemu Turpeinen</dc:creator>
      <dc:date>2007-03-13T04:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Linux image deploy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944035#M55328</link>
      <description>&lt;!--!*#--&gt;Hello.&lt;BR /&gt;&lt;BR /&gt;We noticed some other weird issues after image deployment, that are related to Disk Partitioning.&lt;BR /&gt;Please note the amount of used data before and after image deployment.&lt;BR /&gt;&lt;BR /&gt;Before image deploy&lt;BR /&gt;&lt;BR /&gt;# df&lt;BR /&gt;Filesystem           1K-blocks      Used Available Use% Mounted on&lt;BR /&gt;/dev/cciss/c0d0p2      8256824    162356   7675044   3% /&lt;BR /&gt;/dev/cciss/c0d0p1       518000     11576    480112   3% /boot&lt;BR /&gt;/dev/cciss/c0d0p7     14449472     32848  13682636   1% /home&lt;BR /&gt;/dev/cciss/c0d0p8      4128368     32844   3885816   1% /opt&lt;BR /&gt;none                   1027636         0   1027636   0% /dev/shm&lt;BR /&gt;/dev/cciss/c0d0p9      4128368     32852   3885808   1% /tmp&lt;BR /&gt;/dev/cciss/c0d0p6     16513688    971584  14703260   7% /usr&lt;BR /&gt;/dev/cciss/c0d0p5     16513688     64620  15610224   1% /var&lt;BR /&gt;&lt;BR /&gt;Same system after image deploy. Image was captured from the same server (right after the above df command was issued) it was deployed to&lt;BR /&gt;&lt;BR /&gt;# df&lt;BR /&gt;Filesystem           1K-blocks      Used Available Use% Mounted on&lt;BR /&gt;/dev/cciss/c0d0p2      8254272     32828   7802148   1% /&lt;BR /&gt;/dev/cciss/c0d0p8      4127076     32828   3884604   1% /opt&lt;BR /&gt;/dev/cciss/c0d0p9     14452776     32828  13685780   1% /home&lt;BR /&gt;/dev/cciss/c0d0p7     16516052     32988  15644072   1% /var&lt;BR /&gt;/dev/cciss/c0d0p5      4127076     32828   3884604   1% /tmp&lt;BR /&gt;/dev/cciss/c0d0p6     16516052     32828  15644232   1% /usr&lt;BR /&gt;/dev/cciss/c0d0p1       505604      8239    471261   2% /boot&lt;BR /&gt;&lt;BR /&gt;The data amount reported by df is incorrect after deploying the image. If I write something to the disk, df reports it ok, but only the newly written data. Once the new file is deleted df again shows that the disks are basicly empty. For example in /usr, there is over 900 Mb of data.&lt;BR /&gt;&lt;BR /&gt;The disk geometry is also different after deployment.&lt;BR /&gt;&lt;BR /&gt;before:&lt;BR /&gt;# fdisk -l&lt;BR /&gt;&lt;BR /&gt;Disk /dev/cciss/c0d0: 73.3 GB, 73372631040 bytes&lt;BR /&gt;255 heads, 32 sectors/track, 17562 cylinders&lt;BR /&gt;Units = cylinders of 8160 * 512 = 4177920 bytes&lt;BR /&gt;&lt;BR /&gt;           Device Boot    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/cciss/c0d0p1   *         1       129    526304   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p2           130      2185   8388480   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p3          2186      3213   4194240   82  Linux swap&lt;BR /&gt;/dev/cciss/c0d0p4          3214     17562  58543920    f  Win95 Ext'd (LBA)&lt;BR /&gt;/dev/cciss/c0d0p5          3214      7325  16776944   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p6          7326     11437  16776944   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p7         11438     15035  14679824   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p8         15036     16063   4194224   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p9         16064     17091   4194224   83  Linux&lt;BR /&gt;&lt;BR /&gt;after:&lt;BR /&gt;# fdisk -l&lt;BR /&gt;&lt;BR /&gt;Disk /dev/cciss/c0d0: 73.3 GB, 73372631040 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 8920 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;           Device Boot    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/cciss/c0d0p1             1        65    522081   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p2            66      1109   8385930   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p3          1110      1631   4192965   82  Linux swap&lt;BR /&gt;/dev/cciss/c0d0p4          1632      8920  58548892+   5  Extended&lt;BR /&gt;/dev/cciss/c0d0p5          1632      2153   4192933+  83  Linux&lt;BR /&gt;/dev/cciss/c0d0p6          2154      4242  16779861   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p7          4243      6331  16779861   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p8          6332      6853   4192933+  83  Linux&lt;BR /&gt;/dev/cciss/c0d0p9          6854      8681  14683378+  83  Linux&lt;BR /&gt;&lt;BR /&gt;dmesg after deployment still shows the original information for the disk&lt;BR /&gt;&lt;BR /&gt;cciss: Device 0x3238 has been found at bus 8 dev 8 func 0&lt;BR /&gt;      blocks= 143305920 block_size= 512&lt;BR /&gt;      heads= 255, sectors= 32, cylinders= 17562 RAID 1(0+1)&lt;BR /&gt;      &lt;BR /&gt;The image deploy task also does not include the following in /etc/fstab&lt;BR /&gt;&lt;BR /&gt;none                    /dev/pts                devpts  gid=5,mode=620  0 0&lt;BR /&gt;none                    /dev/shm                tmpfs   defaults        0 0&lt;BR /&gt;&lt;BR /&gt;OS in use is RHEL3 Update 7&lt;BR /&gt;&lt;BR /&gt;Are these also being investigated on?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Br,&lt;BR /&gt;&lt;BR /&gt;/teemu</description>
      <pubDate>Wed, 14 Mar 2007 03:26:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944035#M55328</guid>
      <dc:creator>Teemu Turpeinen</dc:creator>
      <dc:date>2007-03-14T03:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Linux image deploy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944036#M55329</link>
      <description>&lt;!--!*#--&gt;Teemu,&lt;BR /&gt;&lt;BR /&gt;The [ df ] command often reports open file nodes that are still in use, but that may no longer exist on the file system. It's mostly used for checking "free space". The usage column can vary depending on the situation.&lt;BR /&gt;&lt;BR /&gt;Please try using the [ du -s ] command on the directories that act as file system mount points to get a different perspective. It's mostly used for checking files that occupy file system space. The "-s" option will summarize the results for the parent and all descending directories.&lt;BR /&gt;&lt;BR /&gt;/&lt;BR /&gt;/boot&lt;BR /&gt;/home&lt;BR /&gt;/opt&lt;BR /&gt;/..&lt;BR /&gt;&lt;BR /&gt;I'd like to see your before and after results if you don't mind.&lt;BR /&gt;&lt;BR /&gt;The disk geometry changes due to the tools used to partition the disk.&lt;BR /&gt;&lt;BR /&gt;Each Linux OS is installed with a native installer provided by the OS vendor that uses tools packed with that installer. &lt;BR /&gt;&lt;BR /&gt;Since each toolset can vary between OS vendor, version and release, differences can arise in the default treatment of disk geometry.&lt;BR /&gt;&lt;BR /&gt;The Capture and Restore process uses a single toolset common across all OS vendor, versions and releases managed.&lt;BR /&gt;&lt;BR /&gt;Captures are file based and copies the files found on the disk file systems it captures.&lt;BR /&gt;&lt;BR /&gt;Restore repartitions the disk using the common partition toolset and consistently treats disk geometry the same. File systems are created, and the files restored to the new file systems.&lt;BR /&gt;&lt;BR /&gt;We test each combination of supported OS and file systems supported to insure the OS restored will be able to mount and use the new partitions and file systems.&lt;BR /&gt;&lt;BR /&gt;The partition Id type of "- f -" is used by Win95 and similar products to represent an Extended partition, its a place holder for Logical partitions that will be created after the Extended partition type on the disk.&lt;BR /&gt;&lt;BR /&gt;Only four Primary "type" partitions are supported by convention on a single disk.&lt;BR /&gt;&lt;BR /&gt;The Extended "type" is usually used on the fourth parition so that more partitions can be created on the disk.&lt;BR /&gt;&lt;BR /&gt;The "recognition" of Extended Logical partitions is OS dependent and thus the vendor of the OS usually determines the Id number assigned to the Extended partition.&lt;BR /&gt;&lt;BR /&gt;The partition Id type of "- 83 -" is used by Linux to represent an Extended partition type.&lt;BR /&gt;&lt;BR /&gt;The original disk must have been created using a tool that chose to use the Id of "- f -" for the Extended partition type. &lt;BR /&gt;&lt;BR /&gt;Most of the time Linux will honor this and understand it is a valid Extended partition Id, however Win95 OS types generally react badly to Linux partition types given the Id of 5 that are used for Linux file systems.&lt;BR /&gt;&lt;BR /&gt;Pending the results of your before and after using [ du ], we'll be looking into any potential issue. &lt;BR /&gt;&lt;BR /&gt;However the block counts in the fourth column from [ df ] suggest the Restore proceeded as it should.&lt;BR /&gt;&lt;BR /&gt;Disk geometry and position on the disk probably accounts for the slight difference in numbers. This would be expected.&lt;BR /&gt;&lt;BR /&gt;Here's your results slightly rearranged.&lt;BR /&gt;&lt;BR /&gt;Before image deploy&lt;BR /&gt;&lt;BR /&gt;Before&lt;BR /&gt;# df&lt;BR /&gt;Available Use% Mounted on&lt;BR /&gt;_7675044   3% /&lt;BR /&gt;__480112   3% /boot&lt;BR /&gt;13682636   1% /home&lt;BR /&gt;_3885816   1% /opt&lt;BR /&gt;_3885808   1% /tmp&lt;BR /&gt;14703260   7% /usr&lt;BR /&gt;15610224   1% /var&lt;BR /&gt;&lt;BR /&gt;Same system after image deploy. Image was captured from the same server (right after the above df command was issued) it was deployed to&lt;BR /&gt;&lt;BR /&gt;# df&lt;BR /&gt;Available Use% Mounted on&lt;BR /&gt;_7802148   1% /&lt;BR /&gt;__471261   2% /boot&lt;BR /&gt;13685780   1% /home&lt;BR /&gt;_3884604   1% /opt&lt;BR /&gt;_3884604   1% /tmp&lt;BR /&gt;15644232   1% /usr&lt;BR /&gt;15644072   1% /var&lt;BR /&gt;&lt;BR /&gt;Thank you for your comments, and keen observations.&lt;BR /&gt;&lt;BR /&gt;- JT</description>
      <pubDate>Thu, 15 Mar 2007 22:36:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944036#M55329</guid>
      <dc:creator>John T. Willis</dc:creator>
      <dc:date>2007-03-15T22:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Linux image deploy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944037#M55330</link>
      <description>Teemu,&lt;BR /&gt;&lt;BR /&gt;Correction the sentence that read:&lt;BR /&gt;&lt;BR /&gt;The partition Id type of "- 83 -" is used by Linux to represent an Extended partition type.&lt;BR /&gt;&lt;BR /&gt;Should have said:&lt;BR /&gt;&lt;BR /&gt;The partition Id type of "- 5 -" is used by Linux to represent an Extended partition type.&lt;BR /&gt;&lt;BR /&gt;Sorry for the mistake.&lt;BR /&gt;&lt;BR /&gt;- JT</description>
      <pubDate>Thu, 15 Mar 2007 23:36:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944037#M55330</guid>
      <dc:creator>John T. Willis</dc:creator>
      <dc:date>2007-03-15T23:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Linux image deploy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944038#M55331</link>
      <description>&lt;!--!*#--&gt;Hello.&lt;BR /&gt;&lt;BR /&gt;Thank you for the response. 'du' command shows correct information for each filesystem meaning that for example in "/usr" it shows over 900 Mb before and after image deployment. Probably I should have mentioned that already in the previous post. The point was, that this over 900 Mb of data does not show in 'df' output after image deployment although it is there.&lt;BR /&gt;&lt;BR /&gt;I am aware that 'df' might sometimes report the used space incorrectly, ie. that there's more space in use than there actually is, but I've just never seen it report too little (in use 1% while should be ~ 7%). Gap is quite big to explained only by different HD geometry.&lt;BR /&gt;&lt;BR /&gt;I was not that concerned about the partitions created on the disk, but more of the geometry which is reported differently by 'fdisk' and 'dmesg', but probably this is not something to be concerned about. Just something we noticed. Original disk was created with RedHat installer (kickstart method).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;There's also one other thing that caught my eye.&lt;BR /&gt;&lt;BR /&gt;When fsck is run at boot, it displays statistics for each filesystem.&lt;BR /&gt;&lt;BR /&gt;This one is _after_ image deployment:&lt;BR /&gt;Dec  1 20:04:37 localhost fsck: /: clean, 22576/1048576 files, 73105/2096482 blocks&lt;BR /&gt;Dec  1 20:04:37 localhost fsck: /opt: clean, 11/524288 files, 24671/1048233 blocks &lt;BR /&gt;Dec  1 20:04:37 localhost fsck: /home: clean, 12/1836928 files, 65861/3670844 blocks &lt;BR /&gt;Dec  1 20:04:37 localhost fsck: /var: clean, 21/2101152 files, 75241/4194965 blocks &lt;BR /&gt;Dec  1 20:04:37 localhost fsck: /tmp: clean, 1064/524288 files, 31405/1048233 blocks &lt;BR /&gt;Dec  1 20:04:37 localhost fsck: /usr: clean, 11/2101152 files, 74159/4194965 blocks &lt;BR /&gt;Dec  1 20:04:37 localhost fsck: /boot: clean, 11/130560 files, 24715/522080 blocks&lt;BR /&gt;&lt;BR /&gt;This also shows incorrect information. For example the "/usr" partition again. fsck shows 11 files, while in reality, there is almost 50000:&lt;BR /&gt;&lt;BR /&gt;# find /usr | wc -l&lt;BR /&gt; 49874&lt;BR /&gt;&lt;BR /&gt;fsck from boot.log after kickstart install from the same system shows correct information:&lt;BR /&gt;Dec  1 21:15:48 localhost fsck: /: clean, 22564/1048576 files, 73495/2097120 blocks &lt;BR /&gt;Dec  1 21:15:50 localhost fsck: /boot: clean, 39/65920 files, 4970/131576 blocks &lt;BR /&gt;Dec  1 21:15:50 localhost fsck: /home: clean, 15/1835008 files, 65799/3669956 blocks &lt;BR /&gt;Dec  1 21:15:50 localhost fsck: /opt: clean, 15/524288 files, 24675/1048556 blocks &lt;BR /&gt;Dec  1 21:15:50 localhost fsck: /tmp: clean, 13/524288 files, 24676/1048556 blocks &lt;BR /&gt;Dec  1 21:15:50 localhost fsck: /usr: clean, 46401/2097152 files, 308710/4194236 blocks &lt;BR /&gt;Dec  1 21:15:50 localhost fsck: /var: clean, 144/2097152 files, 82178/4194236 blocks&lt;BR /&gt;&lt;BR /&gt;So what could cause the difference?&lt;BR /&gt;&lt;BR /&gt;The time in the above lists is incorrect because of current BIOS settings, so don't pay attention to that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Br,&lt;BR /&gt;&lt;BR /&gt;/teemu</description>
      <pubDate>Fri, 16 Mar 2007 04:08:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944038#M55331</guid>
      <dc:creator>Teemu Turpeinen</dc:creator>
      <dc:date>2007-03-16T04:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Linux image deploy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944039#M55332</link>
      <description>&lt;!--!*#--&gt;Teemu,&lt;BR /&gt;&lt;BR /&gt;Sorry it took so long to reply. &lt;BR /&gt;&lt;BR /&gt;I'm still learning how to setup my forum notification messages.&lt;BR /&gt;&lt;BR /&gt;Thanks for mentioning the "- du -" command, glad it provides encouraging results.&lt;BR /&gt;&lt;BR /&gt;Going by measured "free space" using "- df -" is somewhat unreliable, other things could be going on in the system that effect its report, it is Inode sensitive and anything can open or close an Inode at any time.&lt;BR /&gt;&lt;BR /&gt;One thing that comes to mind are sparse files, which by nature are mostly full of "hot air". After a restore they would need an index record access to "reinflate" them to their previous size.&lt;BR /&gt;&lt;BR /&gt;I will admit 7% may sound high, but I can only speak from my experience, which is not to use "- df -" to provide an estimated count of files, or disk space in use from inference.&lt;BR /&gt;&lt;BR /&gt;I would suggest you don't use "- df -" for judging the integrity of your files.&lt;BR /&gt;&lt;BR /&gt;One thing that might also be confusing is the "order" the partitions are recreated in.&lt;BR /&gt;&lt;BR /&gt;The Native installer creates its partitions in the order the designers of that OS Vendor, Version, Release needed, due to the order of install operations.&lt;BR /&gt;&lt;BR /&gt;Capture saves the contents and size of the partitions required to restore the system, but does not necessarily put it back in the order the Native installer designers had to create them.&lt;BR /&gt;&lt;BR /&gt;Rather the Deploy process recreates the partitions in the order found in the fstab file of the captured system.&lt;BR /&gt;&lt;BR /&gt;This may have made it hard for you to notice that the before and after results are not line for line the same item unless you rearrange them based on the file system name.&lt;BR /&gt;&lt;BR /&gt;It creates a visual bias that something is further out of alignment than it actually is.&lt;BR /&gt;&lt;BR /&gt;It's hard to reformat your data in a fix width font in this forum but eliminating all but the easiest to interpret columns, here's an attempt&lt;BR /&gt;&lt;BR /&gt;fsck from boot.log after kickstart install&lt;BR /&gt;files 1048576   /    &lt;BR /&gt;files 524288    /opt &lt;BR /&gt;files 1835008   /home&lt;BR /&gt;files 2097152   /var &lt;BR /&gt;files 524288    /tmp &lt;BR /&gt;files 2097152   /usr &lt;BR /&gt;files 65920     /boot&lt;BR /&gt;             &lt;BR /&gt;This one is _after_ image deployment:     &lt;BR /&gt;files 1048576   /    &lt;BR /&gt;files 524288    /opt &lt;BR /&gt;files 1836928   /home&lt;BR /&gt;files 2101152   /var &lt;BR /&gt;files 524288    /tmp &lt;BR /&gt;files 2101152   /usr &lt;BR /&gt;files 130560    /boot&lt;BR /&gt;&lt;BR /&gt;fsck from boot.log after kickstart install&lt;BR /&gt;blocks 2097120  /    &lt;BR /&gt;blocks 1048556  /opt &lt;BR /&gt;blocks 3669956  /home&lt;BR /&gt;blocks 4194236  /var &lt;BR /&gt;blocks 1048556  /tmp &lt;BR /&gt;blocks 4194236  /usr &lt;BR /&gt;blocks 131576   /boot&lt;BR /&gt;&lt;BR /&gt;This one is _after_ image deployment:&lt;BR /&gt;blocks 2096482  /    &lt;BR /&gt;blocks 1048233  /opt &lt;BR /&gt;blocks 3670844  /home&lt;BR /&gt;blocks 4194965  /var &lt;BR /&gt;blocks 1048233  /tmp &lt;BR /&gt;blocks 4194965  /usr &lt;BR /&gt;blocks 522080   /boot&lt;BR /&gt;&lt;BR /&gt;e2fsck is a common program, but I'll be the first to admit I am not an expert in its output.&lt;BR /&gt;&lt;BR /&gt;Theorectically is reconstructs the disk by reading each block in the system, reconstructs the inodes and directories and the directory relationships.&lt;BR /&gt;&lt;BR /&gt;The numbers in front of "- / -" slash before the files and blocks columns may refer to the directory inodes or the journaled logs it replayed for each file system per set of files and blocks, but I do not know for sure.&lt;BR /&gt;&lt;BR /&gt;The answer can probably be found in the source code to the e2fsck program developed by Theodore Ts'o&lt;BR /&gt;&lt;BR /&gt;I wouldn't strictly recommend relying on fsck initscript messages for checking the number of files and the file system integrity. &lt;BR /&gt;&lt;BR /&gt;Especially since its output will vary depending on the actual file system type used and author of the fsck extension for that file system type.&lt;BR /&gt;&lt;BR /&gt;I would recommend, if you like, using a "- find -" count as you suggest, and perhaps an "- md5sum -" command on all of the files in the filesystems that are important and "- diff -" the results.&lt;BR /&gt;&lt;BR /&gt;Obviously /var and /tmp will be highly variable and change everytime the system is booted.&lt;BR /&gt;&lt;BR /&gt;And since the most common file system type, and the default in ICLE Kickstarts recommends you to use a journaling file system, Ext3, you can expect the file system count to drift upwards depending on file access patterns and how long the system has been online before capture.&lt;BR /&gt;&lt;BR /&gt;The longer the system is online after kickstart, the more opportunity for user variations in the number of files created, and automated processes to create files or add to them based on logins and cron jobs.&lt;BR /&gt;&lt;BR /&gt;Again thanks for your observations, and great comments.&lt;BR /&gt;&lt;BR /&gt;- JT</description>
      <pubDate>Thu, 22 Mar 2007 02:19:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944039#M55332</guid>
      <dc:creator>John T. Willis</dc:creator>
      <dc:date>2007-03-22T02:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Linux image deploy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944040#M55333</link>
      <description>Hello John.&lt;BR /&gt;&lt;BR /&gt;Thanks for the answers. I guess the conclusion is that the system is ok, though there seems to be a few differences before and after deployment.&lt;BR /&gt;&lt;BR /&gt;As the environment we're building is quite critical, we wanted to make sure that these differences before and after deployment are not something to be concerned about. Especially since with Rapid Deployment Pack things worked differently.&lt;BR /&gt;&lt;BR /&gt;Again, thank you for the responses.&lt;BR /&gt;&lt;BR /&gt;Br,&lt;BR /&gt;&lt;BR /&gt;/teemu</description>
      <pubDate>Thu, 22 Mar 2007 02:30:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-image-deploy/m-p/3944040#M55333</guid>
      <dc:creator>Teemu Turpeinen</dc:creator>
      <dc:date>2007-03-22T02:30:40Z</dc:date>
    </item>
  </channel>
</rss>

