• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. plegrand
    3. Posts
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 45
    • Posts 418
    • Best 18
    • Controversial 0
    • Groups 0

    Posts made by plegrand

    • RE: FOG restore only one partition

      @Sebastian-Roth Hello
      then i made the test to deploy. Except the ftp problem (solved for the moment by editing “/var/www/fog/lib/fog/fogftp.class.php”.
      There is again a problem :
      Now the deployement works fine, i mean no error message from partclone but once deployement finished :
      “Error loading operating system”

      i made some test :

      sfdisk -d /dev/sda
      label: dos
      label-id: 0x2bd2c32a
      device: /dev/sda
      unit: sectors
      
      /dev/sda1 : start=          40, size=      257480, type=de
      /dev/sda2 : start=      257520, size=   102401024, type=7, bootable
      /dev/sda3 : start=   102658544, size=   209841152, type=7
      

      For sfdisk as you can see , the informations are not the same than my older post

      blkid -po udev /dev/sda1
      ID_FS_SEC_TYPE=msdos
      ID_FS_LABEL=DellUtility
      ID_FS_LABEL_ENC=DellUtility
      ID_FS_UUID=07D9-0C13
      ID_FS_UUID_ENC=07D9-0C13
      ID_FS_VERSION=FAT16
      ID_FS_TYPE=vfat
      ID_FS_USAGE=filesystem
      ID_PART_ENTRY_SCHEME=dos
      ID_PART_ENTRY_UUID=2bd2c32a-01
      ID_PART_ENTRY_TYPE=0xde
      ID_PART_ENTRY_NUMBER=1
      ID_PART_ENTRY_OFFSET=40
      ID_PART_ENTRY_SIZE=257480
      ID_PART_ENTRY_DISK=8:0
      
      blkid -po udev /dev/sda2
      ID_FS_LABEL=OS
      ID_FS_LABEL_ENC=OS
      ID_FS_UUID=0660C20C60C20303
      ID_FS_UUID_ENC=0660C20C60C20303
      ID_FS_TYPE=ntfs
      ID_FS_USAGE=filesystem
      ID_PART_ENTRY_SCHEME=dos
      ID_PART_ENTRY_UUID=2bd2c32a-02
      ID_PART_ENTRY_TYPE=0x7
      ID_PART_ENTRY_FLAGS=0x80
      ID_PART_ENTRY_NUMBER=2
      ID_PART_ENTRY_OFFSET=257520
      ID_PART_ENTRY_SIZE=102401024
      ID_PART_ENTRY_DISK=8:0
      
      blkid -po udev /dev/sda3
      ID_FS_LABEL=data
      ID_FS_LABEL_ENC=data
      ID_FS_UUID=86DC8201DC81EC2D
      ID_FS_UUID_ENC=86DC8201DC81EC2D
      ID_FS_TYPE=ntfs
      ID_FS_USAGE=filesystem
      ID_PART_ENTRY_SCHEME=dos
      ID_PART_ENTRY_UUID=2bd2c32a-03
      ID_PART_ENTRY_TYPE=0x7
      ID_PART_ENTRY_NUMBER=3
      ID_PART_ENTRY_OFFSET=102658544
      ID_PART_ENTRY_SIZE=209841152
      ID_PART_ENTRY_DISK=8:0
      
      posted in FOG Problems
      P
      plegrand
    • RE: FOG restore only one partition

      @Sebastian-Roth Hello
      I updated fog to the version 4919 / 6527 and i cant deploy image :

      Failed to create deployment tasking for the following hosts
      You must first upload an image to create a download task
      
      posted in FOG Problems
      P
      plegrand
    • RE: FOG restore only one partition

      @Sebastian-Roth said:

      @plegrand Did you copy&paste the numbers or typed them from the screen? I hope there is no typo in them! 😉

      no typo !!

      posted in FOG Problems
      P
      plegrand
    • RE: FOG restore only one partition

      @Sebastian-Roth

      ID_PART_ENTRY_SCHEME=dos
      ID_PART_ENTRY_UUID=2bd2c32a-01
      ID_PART_ENTRY_TYPE=0xde
      ID_PART_ENTRY_NUMBER=1
      ID_PART_ENTRY_OFFSET=63
      ID_PART_ENTRY_SIZE=257024
      ID_PART_ENTRY_DISK=8:0
      
      
      posted in FOG Problems
      P
      plegrand
    • RE: FOG restore only one partition

      @Sebastian-Roth

      label: dos
      label-id: 0x2bd2c32a
      device: /dev/sda
      unit: sectors
      
      /dev/sda1 : start = 63,         size = 257024,    type = de
      /dev/sda2 : start = 257087,     size = 102401024, type = 7, Bootable
      /dev/sda3 : start = 102658111,  size = 209841152, type = 7
      
      posted in FOG Problems
      P
      plegrand
    • RE: FOG restore only one partition

      @Sebastian-Roth Same problem

      posted in FOG Problems
      P
      plegrand
    • RE: Was working prior to update, Image deployment

      @Sebastian-Roth said:

      @plegrand Please search the forums for “is smaller than source”. There are a lot of discussions on this. Usually comes from recovery partitions that come with vendor installations. Or do you see this error only after a FOG upgrade from yesterday just as the OP does??
      I think you’re right about this because the problem come with dell workstation each time
      and restauration partition

      Edit: Just remembered your other posts (https://forums.fogproject.org/topic/6620/fog-restore-only-one-partition). I am not sure if this is related to what EAHarvey is seeing.
      may be it’s not the same problem

      then sorry for the noise !! 😉

      posted in FOG Problems
      P
      plegrand
    • RE: Was working prior to update, Image deployment

      @Sebastian-Roth hello

      I have the same problem today with dell optiplex 760 worstation
      Partclone says :

      Target partition size (xxx MB) is smaller than source xxx MB. 
      Use option -C to disable size checking (Dangerous)
      
      

      And just after

      Image failed to restore and exited with exit code 0 (writeImage)
      

      May be same problem ?

      posted in FOG Problems
      P
      plegrand
    • RE: FOG restore only one partition

      @Tom-Elliott hello
      i just made the following test with latest version : 6476 / 4895
      just create deploy task
      same problem

      After upgrade, Do i have to put on my own tftp server the new ipxe.krn file ?

      posted in FOG Problems
      P
      plegrand
    • RE: FOG restore only one partition

      @Tom-Elliott
      no
      do i have to capture again or just deploy ?

      posted in FOG Problems
      P
      plegrand
    • RE: FOG restore only one partition

      @Tom-Elliott Hello
      Fog 6427 / 4874

      here is the tests i made

      • Restore the station with an old symantec ghost image
      • List partitions with diskpart
      DISKPART> list disk
       Disque ###  Statut      Taille     Libre     Dyn  Gpt
       --------  ---------  -----------  --------   ---  ---
       Disque 0    Connecté     149 GB      0 B
      
       DISKPART> select disk 0
       Le disque 0 est maintenant le disque sélectionné.
      
       DISKPART> list partition
       Partition ###  Type              Taille     Décalage
       -------------  ----------------  -------  -----------
       Partition 1    OEM                126 MB    20 KB
       Partition 2    Principale          49 GB   126 MB
       Partition 3    Principale         100 GB    49 GB
      
      
      • Defragmentation of all the partition
      • On fog create a image :
      	default: Windows 2000/XP
      	Single Disk - Resizable
      	Everything
      
      • Assign the new image to the host
      • On fog create a new capture task for the station as a debug task
      • Launch the task
      • Capture works fine
        On the server fog :
      	d1.fixed_size_partitions
      	d1.minimum.partitions
      	d1.original.fstypes
      	d1.original.swapuuids
      	d1p1.img
      	d1p2.img
      	d1p3.img
      	d1.partitions
      
      	cat d1.fixed_size_partitions 
      	1:
      
      	cat d1.minimum.partitions 
      	label: dos
      	label-id: 0x2bd2c32a
      	device: /dev/sda
      	unit: sectors
      
      	/dev/sda1 : start=          40, size=      257480, type=de
      	/dev/sda2 : start=      257520, size=    31386360, type=7, bootable
      	/dev/sda3 : start=   102657680, size=      779520, type=7
      
      	cat d1.original.fstypes 
      	/dev/sda2 ntfs
      	/dev/sda3 ntfs
      
      
      	cat d1.partitions 
      	label: dos
      	label-id: 0x2bd2c32a
      	device: /dev/sda
      	unit: sectors
      
      	/dev/sda1 : start=          40, size=      257480, type=de
      	/dev/sda2 : start=      257520, size=   102400160, type=7, bootable
      	/dev/sda3 : start=   102657680, size=   209839360, type=7
      

      At reboot, the station stay displaying “Booting…”

      Then i try to deploy the image

      • Create a new deploy task for the host

      During the restauration of /dev/sda1, i’ve got the following error message from partclone

      Target partition size (132MB) is smaller than source 132 MB. 
      Use option -C to disable size checking (Dangerous)
      
      

      And just after

      Image failed to restore and exited with exit code 0 (writeImage)
      Args passed /images/test/d1p1 img* /dev/sda1
      
      

      Then the only solution is to redeploy the old ghost image 😉

      posted in FOG Problems
      P
      plegrand
    • RE: FOG restore only one partition

      @Sebastian-Roth
      i have to capture again before deploy ?

      Just to be clearer, here is my configuration :

      On my own pxe server(dhcp and tftp) 192.168.151.247
      dhcp is configured like that :

       next-server 192.168.151.247;
       filename "pxelinux.0";
      

      then on my tftp server i’ve got pxelinux.0 into the tftp root directory
      and
      this configuration

      LABEL FOG_ETUDIANTS
      KERNEL fog/ipxe.krn dhcp && chain http://192.168.39.243/fog/service/ipxe/boot.php?mac=${net0/mac}
      
      

      192.168.39.243 is the fog ip address
      Do i have to put on my tftp server the new ipxe.krn file ?

      posted in FOG Problems
      P
      plegrand
    • RE: FOG restore only one partition

      @Tom-Elliott Hello
      does that mean that with the latest version it will work ?
      Do you want i try ?
      Thanks for your help

      posted in FOG Problems
      P
      plegrand
    • RE: FOG restore only one partition

      @Tom-Elliott
      Hello
      i just made a test today with an other station
      Dell Optiplex 760 with again 3 partitions
      Here is the image definition :
      default: Windows 2000/XP
      Single Disk - Resizable
      Everything

      The capture seems to works fine and i can see in the “images” directory :

      ls -al /home/images/Optiplex760780/
      total 8355044
      drwxrwxrwx 2 root root 4096 févr. 23 10:09 .
      drwxrwxrwx 7 root root 4096 févr. 23 10:09 …
      -rwxrwxrwx 1 root root 3 févr. 23 09:44 d1.fixed_size_partitions
      -rwxrwxrwx 1 root root 249 févr. 23 09:49 d1.minimum.partitions
      -rwxrwxrwx 1 root root 30 févr. 23 09:49 d1.original.fstypes
      -rwxrwxrwx 1 root root 0 févr. 23 09:44 d1.original.swapuuids
      -rwxrwxrwx 1 root root 3706587 févr. 23 09:49 d1p1.img
      -rwxrwxrwx 1 root root 8551432512 févr. 23 10:09 d1p2.img
      -rwxrwxrwx 1 root root 392584 févr. 23 10:09 d1p3.img
      -rwxrwxrwx 1 root root 249 févr. 23 09:44 d1.partitions

      But when i try to deploy this image on the same station i’ve got again this error message at the beginning :
      “This is not a partclone image”

      Now the station is “dead” and cant boot “Error loading operating system”

      It’s a real problem because we have a lot of this kind of station

      posted in FOG Problems
      P
      plegrand
    • RE: MultiCast very slow

      @Arrowhead-IT
      lscpu
      Architecture : x86_64
      Mode(s) opératoire(s) des processeurs : 32-bit, 64-bit
      Boutisme : Little Endian
      Processeur(s) : 8
      Liste de processeur(s) en ligne : 0-7
      Thread(s) par cœur : 2
      Cœur(s) par socket : 4
      Socket(s) : 1
      Nœud(s) NUMA : 1
      Identifiant constructeur : GenuineIntel
      Famille de processeur : 6
      Modèle : 30
      Nom de modèle : Intel® Xeon® CPU X3480 @ 3.07GHz
      Révision : 5
      Vitesse du processeur en MHz : 3059.238
      BogoMIPS : 6118.47
      Virtualisation : VT-x
      Cache L1d : 32K
      Cache L1i : 32K
      Cache L2 : 256K
      Cache L3 : 8192K
      Nœud NUMA 0 de processeur(s) : 0-7

      free -m
      total used free shared buffers cached
      Mem: 32233 1192 31040 23 196 624
      -/+ buffers/cache: 372 31860
      Swap: 65514 0 65514

      df -h
      Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
      /dev/sda1 8,2G 1,2G 6,6G 15% /
      udev 10M 0 10M 0% /dev
      tmpfs 6,3G 8,6M 6,3G 1% /run
      tmpfs 16G 0 16G 0% /dev/shm
      tmpfs 5,0M 0 5,0M 0% /run/lock
      tmpfs 16G 0 16G 0% /sys/fs/cgroup
      /dev/sda5 2,7G 445M 2,1G 18% /var
      /dev/sda7 360M 3,8M 334M 2% /tmp
      /dev/sda8 842G 25G 774G 4% /home

      eth0: NIC Copper Link is Up, 1000 Mbps full duplex
      eth1: NIC Copper Link is Up, 1000 Mbps full duplex

      I made a test : Multicast and unicast 12 stations

      **Multicast **=> 04h 40min
      **Unicast ** => 28min

      posted in FOG Problems
      P
      plegrand
    • RE: MultiCast very slow

      @Wayne-Workman Hello
      just for information :
      On my switch i configure (force) the igmp version to “3”, may be i should use the default version : “2” ?

      An other question : i thought that fog used “udpcast” for multicasting, is it true ?

      posted in FOG Problems
      P
      plegrand
    • RE: Some questions

      @Wayne-Workman said:

      @plegrand said:

      It’s not our dns servers

      You don’t have to use them. You can make your own and direct all hosts to use yours.

      I install dynamique DNS with bind and it works fine. Thanks again

      posted in General
      P
      plegrand
    • RE: Some questions

      @Wayne-Workman said:

      @plegrand You can configure DHCP to update DNS as it gives out leases.

      It’s not our dns servers

      And if you saw fog stuff elsewhere - I can’t vouch for those other sources, they might be legit, might not be. They are highly likely to have been written for 1.2.0 or even earlier. The code base has gone through dramatic changes (for the better). Any instructions you find elsewhere might not even directly apply anymore. I’d recommend asking the @Developers for suggestions on how to do it.

      OK
      you mean if i add on this thread “@Developers”, they will see my post and may be answer ?
      Anyway thanks a lot for your help and the time spended.
      Fog is a very great application (not like my english !!)
      As you can see it’s not very important question
      Thanks again
      I’ll make some tests for multicast (other thread), it’s more important for me

      posted in General
      P
      plegrand
    • RE: Some questions

      @Wayne-Workman
      no we use our own dhcp server (dynamic)

      But i saw on the net it was possible to use netbios name with wins for fog ping. But i cant make it works

      posted in General
      P
      plegrand
    • RE: Some questions

      @Wayne-Workman
      Hmm sorry , we’ve got a dns to use internet, but all the station are not into this dns then i imagine that fog cant ping those stations

      posted in General
      P
      plegrand
    • 1 / 1