• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. ManofValor
    3. Posts
    • Profile
    • Following 4
    • Followers 0
    • Topics 13
    • Posts 170
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Can't ping outside my network

      @george1421 NO PROXY

      [root@localhost fogadmin]# traceroute 8.8.8.8
      traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
       1  * * *
       2  * * *
       3  * * *
       4  * * *
       5  * * *
       6  * * *
       7  * * *
       8  * * *
       9  google-public-dns-a.google.com (8.8.8.8)  12.036 ms  12.286 ms  13.102 ms
      
      
      posted in Linux Problems
      ManofValorM
      ManofValor
    • Can't ping outside my network

      Not sure this is in the right spot in the forum but here goes.
      I did a fresh install of CentOS 7 and I am having a network issue. I can ping to anything on my network but nothing outside the network. Before I installed the OS I had everything working: FOG, imaging, etc, but was having a partitioning issue. I had this issue before but it was the chrome repo that was blocking it, I did not download chrome this time so is not the issue. I also checked my firewall and we are not behind a proxy so those are not an issue, that I have found.
      Here are a few outputs:
      ifconfig

      [root@localhost fogadmin]# ifconfig
      enp30s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
              inet 10.10.1.40  netmask 255.255.0.0  broadcast 10.10.255.255
              inet6 fe80::6ab5:99ff:fee4:d0c9  prefixlen 64  scopeid 0x20<link>
              ether 68:b5:99:e4:d0:c9  txqueuelen 1000  (Ethernet)
              RX packets 231188  bytes 28702240 (27.3 MiB)
              RX errors 0  dropped 12546  overruns 0  frame 0
              TX packets 45057  bytes 8715232 (8.3 MiB)
              TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
              device interrupt 19  
      
      lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
              inet 127.0.0.1  netmask 255.0.0.0
              inet6 ::1  prefixlen 128  scopeid 0x10<host>
              loop  txqueuelen 0  (Local Loopback)
              RX packets 0  bytes 0 (0.0 B)
              RX errors 0  dropped 0  overruns 0  frame 0
              TX packets 0  bytes 0 (0.0 B)
              TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
      
      virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
              inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
              ether 52:54:00:2d:42:e8  txqueuelen 0  (Ethernet)
              RX packets 0  bytes 0 (0.0 B)
              RX errors 0  dropped 0  overruns 0  frame 0
              TX packets 0  bytes 0 (0.0 B)
              TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
      

      ip route

      [root@localhost fogadmin]# ip route
      default via 10.10.1.1 dev enp30s0  proto static  metric 100 
      10.10.0.0/16 dev enp30s0  proto kernel  scope link  src 10.10.1.40  metric 100 
      192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1 
      

      ip addr show

      [root@localhost fogadmin]# ip addr show
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
          inet 127.0.0.1/8 scope host lo
             valid_lft forever preferred_lft forever
          inet6 ::1/128 scope host 
             valid_lft forever preferred_lft forever
      2: enp30s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
          link/ether 68:b5:99:e4:d0:c9 brd ff:ff:ff:ff:ff:ff
          inet 10.10.1.40/16 brd 10.10.255.255 scope global enp30s0
             valid_lft forever preferred_lft forever
          inet6 fe80::6ab5:99ff:fee4:d0c9/64 scope link 
             valid_lft forever preferred_lft forever
      3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN 
          link/ether 52:54:00:2d:42:e8 brd ff:ff:ff:ff:ff:ff
          inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
             valid_lft forever preferred_lft forever
      4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN qlen 500
          link/ether 52:54:00:2d:42:e8 brd ff:ff:ff:ff:ff:ff
      
      

      cat /etc/sysconfig/network-scripts/ifcfg-FOG_Server

      [root@localhost fogadmin]# cat /etc/sysconfig/network-scripts/ifcfg-FOG_Server
      HWADDR=68:B5:99:E4:D0:C9
      TYPE=Ethernet
      BOOTPROTO=none
      DNS1=10.10.1.59
      DNS2=10.10.1.60
      DEFROUTE=yes
      IPV4_FAILURE_FATAL=no
      IPV6INIT=no
      IPV6_AUTOCONF=yes
      IPV6_DEFROUTE=yes
      IPV6_PEERDNS=yes
      IPV6_PEERROUTES=yes
      IPV6_FAILURE_FATAL=no
      NAME="FOG Server"
      UUID=fc88fc47-ea38-4633-9024-0217c467f7a1
      ONBOOT=yes
      IPADDR=10.10.1.40
      PREFIX=16
      GATEWAY=10.10.1.1
      
      

      cat /etc/resolv.conf

      [root@localhost fogadmin]# cat /etc/resolv.conf
      # Generated by NetworkManager
      nameserver 10.10.1.59
      nameserver 10.10.1.60
      
      

      Let me know if i missed anything @Wayne-Workman, @Tom Elliott, @JBob, @george1421.
      They have been helping me so maybe they remember something I forgot that might be useful.

      Thanks guys in advance!

      posted in Linux Problems
      ManofValorM
      ManofValor
    • RE: PXE image looping

      @Wayne-Workman I’ve checked and asked my boss, who built our system from the ground up, and we are not behind a proxy.

      posted in FOG Problems
      ManofValorM
      ManofValor
    • RE: PXE image looping

      Ok, so CentOS is installed. We’ve done so much I just wanna make sure I take the right steps again. I just go straight to installing fog trunk right?

      posted in FOG Problems
      ManofValorM
      ManofValor
    • RE: PXE image looping

      @Sebastian-Roth Seeing that I am an infant (maybe a toddler by now) with this stuff I just went with a recommendation/suggestion.

      posted in FOG Problems
      ManofValorM
      ManofValor
    • RE: PXE image looping

      @george1421 I haven’t gone any farther than the pic. Waiting to make sure I do this right.

      posted in FOG Problems
      ManofValorM
      ManofValor
    • RE: PXE image looping

      @ManofValor 0_1454522279425_CentOS Manual Partitioning.jpg

      posted in FOG Problems
      ManofValorM
      ManofValor
    • RE: PXE image looping

      Using the install GUI, do I do it like this:

      Manually partition OS with LVM at 20GB mounted on /boot using ext4

      Manually partition storage, for images, with LVM at 450GB mounted on /opt/fog/images using ext4

      Something along those lines?

      posted in FOG Problems
      ManofValorM
      ManofValor
    • RE: PXE image looping

      @george1421 Single. We are mostly virtualized, but not for this yet.

      posted in FOG Problems
      ManofValorM
      ManofValor
    • RE: PXE image looping

      @george1421 So for the install just do the 20 GB and then do the other one later after the install? I’m not trying to set this up as a VM, isn’t that what a vmdk is for? This is a physical server.

      posted in FOG Problems
      ManofValorM
      ManofValor
    • RE: PXE image looping

      @Wayne-Workman What partitioning scheme do you recommend? I’ve been trying to look up the difference between the four options I have (standard, btrfs, LVM, and LVM Thin Provisioning). I was thinking standard for the OS and LVM thin for the images?

      This is question for all.

      posted in FOG Problems
      ManofValorM
      ManofValor
    • RE: PXE image looping

      @george1421 I knew I was going to screw it up. I want to make the images file as big as possible since this is strictly for image backup. So after install I could make it like 350G in size, right?

      posted in FOG Problems
      ManofValorM
      ManofValor
    • RE: PXE image looping

      @Wayne-Workman I’m an idiot. I was following the instructions on the wiki and was trying to use “sdb” instead of “sda” on my system. So did i do it right and why can’t I continue?

      [root@localhost /]# fdisk /dev/sda1
      Welcome to fdisk (util-linux 2.23.2).
      
      Changes will remain in memory only, until you decide to write them.
      Be careful before using the write command.
      
      Device does not contain a recognized partition table
      Building a new DOS disklabel with disk identifier 0x5cca602a.
      
      Command (m for help): m
      Command action
         a   toggle a bootable flag
         b   edit bsd disklabel
         c   toggle the dos compatibility flag
         d   delete a partition
         g   create a new empty GPT partition table
         G   create an IRIX (SGI) partition table
         l   list known partition types
         m   print this menu
         n   add a new partition
         o   create a new empty DOS partition table
         p   print the partition table
         q   quit without saving changes
         s   create a new empty Sun disklabel
         t   change a partition's system id
         u   change display/entry units
         v   verify the partition table
         w   write table to disk and exit
         x   extra functionality (experts only)
      
      Command (m for help): g
      Building a new GPT disklabel (GUID: 002FA017-DD70-4CA2-A4E0-41D4B51E68ED)
      
      
      Command (m for help): p
      
      Disk /dev/sda1: 524 MB, 524288000 bytes, 1024000 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disk label type: gpt
      
      
      #         Start          End    Size  Type            Name
      
      Command (m for help): w
      The partition table has been altered!
      
      Calling ioctl() to re-read partition table.
      
      WARNING: Re-reading the partition table failed with error 22: Invalid argument.
      The kernel still uses the old table. The new table will be used at
      the next reboot or after you run partprobe(8) or kpartx(8)
      Syncing disks.
      [root@localhost /]# fdisk -l
      
      Disk /dev/sda: 500.1 GB, 500074307584 bytes, 976707632 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disk label type: dos
      Disk identifier: 0x00018c75
      
         Device Boot      Start         End      Blocks   Id  System
      /dev/sda1   *        2048     1026047      512000   83  Linux
      /dev/sda2         1026048   976707583   487840768   8e  Linux LVM
      
      Disk /dev/mapper/centos-root: 53.7 GB, 53687091200 bytes, 104857600 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      
      
      Disk /dev/mapper/centos-swap: 4160 MB, 4160749568 bytes, 8126464 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      
      
      Disk /dev/mapper/centos-home: 441.6 GB, 441630851072 bytes, 862560256 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      
      [root@localhost /]# fdisk l
      fdisk: cannot open l: No such file or directory
      [root@localhost /]# fdisk /dev/sda
      Welcome to fdisk (util-linux 2.23.2).
      
      Changes will remain in memory only, until you decide to write them.
      Be careful before using the write command.
      
      
      Command (m for help): g
      Building a new GPT disklabel (GUID: B59077CE-6FB8-4EA4-B6DA-92E14E33A412)
      
      
      Command (m for help): p
      
      Disk /dev/sda: 500.1 GB, 500074307584 bytes, 976707632 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disk label type: gpt
      
      
      #         Start          End    Size  Type            Name
      
      Command (m for help): w
      The partition table has been altered!
      
      Calling ioctl() to re-read partition table.
      
      WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
      The kernel still uses the old table. The new table will be used at
      the next reboot or after you run partprobe(8) or kpartx(8)
      Syncing disks.
      [root@localhost /]# mkfs.ext4 /dev/sda
      mke2fs 1.42.9 (28-Dec-2013)
      /dev/sda is entire device, not just one partition!
      Proceed anyway? (y,n) y
      /dev/sda is apparently in use by the system; will not make a filesystem here!
      [root@localhost /]# mkfs.ext4 /dev/sda1
      mke2fs 1.42.9 (28-Dec-2013)
      /dev/sda1 is mounted; will not make a filesystem here!
      [root@localhost /]# 
      
      posted in FOG Problems
      ManofValorM
      ManofValor
    • RE: PXE image looping

      @Wayne-Workman Not sure if im using fdisk right. I run:

      [root@localhost ~]# fdisk /dev/sdb1
      

      and get

      fdisk: cannot open /dev/sdb1: No such file or directory
      

      Output of:

      [root@localhost ~]# sudo fdisk -l
      Disk /dev/sda: 500.1 GB, 500074307584 bytes, 976707632 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disk label type: dos
      Disk identifier: 0x00018c75
      Device Boot Start End Blocks Id System
      /dev/sda1 * 2048 1026047 512000 83 Linux
      /dev/sda2 1026048 976707583 487840768 8e Linux LVM
      

      I have not used fdisk in like 12 years and that was in windows. I don’t want to screw something up.

      posted in FOG Problems
      ManofValorM
      ManofValor
    • RE: PXE image looping

      @Wayne-Workman Cool. I’ll look at that.

      posted in FOG Problems
      ManofValorM
      ManofValor
    • RE: PXE image looping

      @Wayne-Workman FOG Server output:

      [fogadmin@localhost /]$ df -h
      Filesystem               Size  Used Avail Use% Mounted on
      /dev/mapper/centos-root   50G  4.7G   46G  10% /
      devtmpfs                 1.9G     0  1.9G   0% /dev
      tmpfs                    1.9G  152K  1.9G   1% /dev/shm
      tmpfs                    1.9G  8.9M  1.9G   1% /run
      tmpfs                    1.9G     0  1.9G   0% /sys/fs/cgroup
      /dev/sda1                497M  211M  287M  43% /boot
      /dev/mapper/centos-home  412G  389M  411G   1% /home
      tmpfs                    379M   28K  379M   1% /run/user/1000
      [fogadmin@localhost /]$
      
      posted in FOG Problems
      ManofValorM
      ManofValor
    • RE: PXE image looping

      @Tom-Elliott That makes sense. I will look into that. I’m leaving early today so I will look at it tomorrow. Thanks.

      posted in FOG Problems
      ManofValorM
      ManofValor
    • RE: PXE image looping

      Update, output of a debug capture
      fog r6116
      CentOS 7
      HP z440

      [Tue Jan 26 root@fogclient ~]# fog
      
         +------------------------------------------+
         |     ..#######:.    ..,#,..     .::##::.  |
         |.:######          .:;####:......;#;..     |
         |...##...        ...##;,;##::::.##...      |
         |   ,#          ...##.....##:::##     ..:: |
         |   ##    .::###,,##.   . ##.::#.:######::.|
         |...##:::###::....#. ..  .#...#. #...#:::. |
         |..:####:..    ..##......##::##  ..  #     |
         |    #  .      ...##:,;##;:::#: ... ##..   |
         |   .#  .       .:;####;::::.##:::;#:..    |
         |    #                     ..:;###..       |
         |                                          |
         +------------------------------------------+
         |      Free Computer Imaging Solution      |
         +------------------------------------------+
         |  Credits: http://fogproject.org/Credits  |
         |       http://fogproject.org/Credits      |
         |       Released under GPL Version 3       |
         +------------------------------------------+
         Version: 6116
       * Press [Enter] key to continue
      
       * Verifying network interface configuration.........Done
       * Press [Enter] key to continue
      
       * Checking Operating System.........................Windows 7
       * Checking CPU Cores................................8
       * Send method.......................................NFS
       * Attempting to check in............................Done
       * Press [Enter] key to continue
      
       * Mounting File System..............................Done
       * Press [Enter] key to continue
      
       * Checking Mounted File System......................Done
       * Press [Enter] key to continue
      
       * Checking img variable is set......................Done
       * Press [Enter] key to continue
      
       * Preparing to send image file to server
       * Preparing backup location.........................Done
       * Press [Enter] key to continue
      
       * Setting permission on /images/ecb1d756281d........Done
       * Press [Enter] key to continue
      
       * Removing any pre-existing files...................Done
       * Press [Enter] key to continue
      
       * Using Image: MCWP82
       * Looking for Hard Disk.............................Done
       * Press [Enter] key to continue
      
       * Reading Partition Tables..........................Done
       * Press [Enter] key to continue
      
       * Using Hard Disk: /dev/sda
       * Press [Enter] key to continue
      
       * Now FOG will attempt to upload the image using Partclone
       * Press [Enter] key to continue
      
       * Checking for fixed partitions.....................Done
       * Press [Enter] key to continue
      
       * Getting Windows/Linux Partition Count.............Done
       * Press [Enter] key to continue
      
       * NTFS Partition count of: 2
       * Press [Enter] key to continue
      
       * EXTFS Partition count of: 0
       * Press [Enter] key to continue
      
       * Setting up any additional fixed parts
       * Saving original partition table...................Done
       * Press [Enter] key to continue
      
       * Shrinking Partitions on disk
       * Press [Enter] key to continue
      
       * Clearing part (/dev/sda1).........................Failed
       * Press [Enter] key to continue
      
       * Failed to mount partition to clear
       * Mounting partition (/dev/sda1)....................Failed
       * Press [Enter] key to continue
      
       * Could not mount to location
       * Not shrinking (/dev/sda1) fixed size
       * Press [Enter] key to continue
      
       * Clearing part (/dev/sda2).........................Not NTFS partition
       * Press [Enter] key to continue
      
       * Not an NTFS file system
       * Press [Enter] key to continue
      
       * Not shrinking (/dev/sda2) fixed size
       * Press [Enter] key to continue
      
       * Clearing part (/dev/sda3).........................Done
       * Press [Enter] key to continue
      
       * Mounting partition (/dev/sda3)....................Done
       * Press [Enter] key to continue
      
       * Removing page file................................Done
       * Press [Enter] key to continue
      
       * Removing hibernate file...........................Done
       * Press [Enter] key to continue
      
       * Possible resize partition size: 35124723 k
       * Running resize test /dev/sda3.....................Done
       * Press [Enter] key to continue
      
       * Resize test was successful
       * Press [Enter] key to continue
      
       * Resizing filesystem...............................Done
       * Press [Enter] key to continue
      
       * Resizing partition /dev/sda3......................Done
       * Clearing ntfs flag................................Done
       * Press [Enter] key to continue
      
       * Saving shrunken partition table
       * Press [Enter] key to continue
      
       * Saving Partition Tables (GPT).....................Done
       * Press [Enter] key to continue
      
       * Processing Hard Disk: /dev/sda
       * Processing Partition: /dev/sda1 (1)
       * Press [Enter] key to continue
      
       * Using partclone.ntfs
       * Press [Enter] key to continue
      
      ##############################################################################
      #                                                                            #
      #                         An error has been detected!                        #
      #                                                                            #
      ##############################################################################
      Failed to complete upload (savePartition)
       * Press [Enter] key to continue
      
      [Tue Jan 26 root@fogclient ~]#
      

      output of lsblk

      [Tue Jan 26 root@fogclient ~]# lsblk
      NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
      sda      8:0    1 931.5G  0 disk 
      |-sda1   8:1    1   100M  0 part 
      |-sda2   8:2    1   128M  0 part 
      `-sda3   8:3    1  36.3G  0 part 
      [Tue Jan 26 root@fogclient ~]# 
      
      posted in FOG Problems
      ManofValorM
      ManofValor
    • 1 / 1