• Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. kortnor
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 31
    • Best 1
    • Controversial 0
    • Groups 0

    kortnor

    @kortnor

    1
    Reputation
    804
    Profile views
    31
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    kortnor Unfollow Follow

    Best posts made by kortnor

    • RE: OS on usb stick

      @Sebastian-Roth hereunder the requested extraction
      I suppose that my issue is coming from the fact that my /dev/sdc2 is configured has a lvm_2_member.
      EDIT: after It will be applied on usb stick pf 128 gb which is a lot to store on a VM afterward šŸ™‚

      [root@laptop pla]# sfdisk -d /dev/sdc
      label: dos
      label-id: 0xf156c07c
      device: /dev/sdc
      unit: sectors
      
      /dev/sdc1 : start=        2048, size=     1024000, type=83, bootable
      /dev/sdc2 : start=     1026048, size=    30240768, type=8e
      [root@laptop pla]# blkid -po udev /dev/sdc1 | grep FS_TYPE
      ID_FS_TYPE=ext4
      [root@laptop pla]# blkid -po udev /dev/sdc2 | grep FS_TYPE
      ID_FS_TYPE=LVM2_member
      [root@laptop pla]# 
      [root@laptop pla]# df -h
      Filesystem               Size  Used Avail Use% Mounted on
      devtmpfs                 5.8G     0  5.8G   0% /dev
      tmpfs                    5.8G  420K  5.8G   1% /dev/shm
      tmpfs                    5.8G  1.6M  5.8G   1% /run
      tmpfs                    5.8G     0  5.8G   0% /sys/fs/cgroup
      /dev/mapper/fedora-root   13G  3.8G  8.2G  32% /
      tmpfs                    5.8G   84K  5.8G   1% /tmp
      /dev/sdc1                477M  108M  340M  25% /boot
      tmpfs                    1.2G  8.0K  1.2G   1% /run/user/42
      tmpfs                    1.2G   24K  1.2G   1% /run/user/1000
      /dev/sdd1                932G  897G   36G  97% /run/media/pla/Elements```
      posted in General
      K
      kortnor

    Latest posts made by kortnor

    • RE: make customized option as default on boot menu

      Thank you for all you answers,

      we are running the os on USB 3 which gives us really good results. The nuc only have 1 sata connector and there is no micro-sd connector neither.
      Because I’ve to attend a summit, I wont be able to make some test before friday ( regarding what @Tom Elliot is asking) .

      The ultimate aim is that my colleague can restage this micro-cluster whenever they want and check what are the real impact on on the OS layer when you’re working with new hadoop version ( e.g. we have face huge dependencies issue between centos 6.6 and centos 6.7 which was a pain in the ass to resolve it I don’t even one to mention centos 7).

      Best,

      posted in FOG Problems
      K
      kortnor
    • RE: make customized option as default on boot menu

      Hello George,

      I’m currently working on a micro-cluster composed by:

      • 6 NUC ( i5)
        • 16 gigs
        • os stored on USB 3.0 ( with cento 6.6)
        • external HDD high capacity for data storage / crunching

      I arrived to capture and deploy the OS throught fog, BUT if I don’t schedule any task, the client won’t normally start because he gave me the error hard disk error. I’ve tried all he possible legacy bios option and it was not possible to boot the client if the fog server is up and running.
      So, I created a custome menu based on received feedback on the forum. but I was not able to put this option has the default one. This option force to boot on the usb šŸ™‚
      Now yesterday evening I’ve been able to find a patch work by modifying the fog.local (fog configuration --> fog.local --> parameter: chain -ar http://<ip>/fog/service/ipxe/grub.exe --config-file=ā€œrootnoverify (hd1);map (hd1) (hd0);chainloader (hd1)+1 --defaultā€ || MENU )
      Now its quite ugly what I’ve done. I would like to force this menu for some host but not for all of them.
      By the way i’m on fog 1.2.0 6721.

      NUC bios:

      • Legacy boot
        • lan
        • usb
        • sata
        • legacy pxe
          I took out all the other options related to the boot like fast boot, pxe at last and co
          However, I can’t user the EFI boot because when I select it, no choice is provided to me.

      Best,

      posted in FOG Problems
      K
      kortnor
    • make customized option as default on boot menu

      hello everybody,

      I’m currently stuck with my long quest which is using fog with client where the os are on usb stick

      On a normal bios( laptop) there is no problem

      on NUC, i’ve used the trick from :Roth
      But the host will not have any screen nor other i/o plugged ( except hdd and usb)
      not I would like to make a customized fog as default in the pxe menu. Actually, my opton Boot from USB key is the last one it need to be auto select

      In advance thank you for your answer

      Add a new iPXE menu entry (web gui -> FOG configuration -> iPXE New Menu Entry):

      Menu Item: fog.bootusb
      Description: Boot from USB key
      Parameters: chain -ar http://${fog-ip}/${fog-webroot}/service/ipxe/grub.exe --config-file="rootnoverify (hd1);map (hd1) (hd0);chainloader (hd1)+1" || MENU
      Default Item: YES (if you want that)
      Menu Show With: All Hosts
      
      posted in FOG Problems
      K
      kortnor
    • RE: OS on usb stick

      @Sebastian-Roth
      this is quite a challenge ahaha I don’t have enough knowledge in lvm management but I can take a look at it definitely šŸ˜‰

      Anyway thank you for your time and effort.

      posted in General
      K
      kortnor
    • RE: OS on usb stick

      @Sebastian-Roth hereunder the requested extraction
      I suppose that my issue is coming from the fact that my /dev/sdc2 is configured has a lvm_2_member.
      EDIT: after It will be applied on usb stick pf 128 gb which is a lot to store on a VM afterward šŸ™‚

      [root@laptop pla]# sfdisk -d /dev/sdc
      label: dos
      label-id: 0xf156c07c
      device: /dev/sdc
      unit: sectors
      
      /dev/sdc1 : start=        2048, size=     1024000, type=83, bootable
      /dev/sdc2 : start=     1026048, size=    30240768, type=8e
      [root@laptop pla]# blkid -po udev /dev/sdc1 | grep FS_TYPE
      ID_FS_TYPE=ext4
      [root@laptop pla]# blkid -po udev /dev/sdc2 | grep FS_TYPE
      ID_FS_TYPE=LVM2_member
      [root@laptop pla]# 
      [root@laptop pla]# df -h
      Filesystem               Size  Used Avail Use% Mounted on
      devtmpfs                 5.8G     0  5.8G   0% /dev
      tmpfs                    5.8G  420K  5.8G   1% /dev/shm
      tmpfs                    5.8G  1.6M  5.8G   1% /run
      tmpfs                    5.8G     0  5.8G   0% /sys/fs/cgroup
      /dev/mapper/fedora-root   13G  3.8G  8.2G  32% /
      tmpfs                    5.8G   84K  5.8G   1% /tmp
      /dev/sdc1                477M  108M  340M  25% /boot
      tmpfs                    1.2G  8.0K  1.2G   1% /run/user/42
      tmpfs                    1.2G   24K  1.2G   1% /run/user/1000
      /dev/sdd1                932G  897G   36G  97% /run/media/pla/Elements```
      posted in General
      K
      kortnor
    • RE: OS on usb stick

      @Sebastian-Roth

      So I’ve been able to capture the usb stick by following your instruction:

      • Specify the host primary disk on the host manager ==> I simply added the /dev/sdc
      • Also choose to GRUB_FURST_HDD to hostbios exist. Which allowed the client to boot the the usb stick if no task were scheduled.

      I still need to create a postdownload script but it seems to be manageable.

      Now I’ve another question. How can I reduce the image size that has been captured. the images saved has the size of the whole usb stick ( 16 gigs). Should I change the image type? I’ve actually chosen Multiple partition image- Single disk (2)
      edit: on the client side, I can see tat the / partition is 13 gigs and there is actually 4 gigs used, however, the image stored on the fog server is 10gigs

      posted in General
      K
      kortnor
    • RE: OS on usb stick

      @Sebastian-Roth
      Due to the recent event in Brussel, I’vent had the time to try anything.
      I’ll take the time this weekend to apply your suggestion I’ll keep you posted.

      posted in General
      K
      kortnor
    • RE: OS on usb stick

      the thing is that I don’t want to disconnect the HDD because it would mean that I would have to open the ā€œboxā€ which I don’t want to at the end šŸ™‚

      posted in General
      K
      kortnor
    • OS on usb stick

      Hi

      I’m on my second stage of my internal project and I’ve a question for you guys.
      I’ve a fog server version 6721 running on a vm centos 7 and I’m trying to make a images for a micro -cluster http://bigboards.io/
      each node is an Intel NUC and the OS is installed on an USB stick. There is also a HDDof 1 TB but this one is only used for data storage nothing else.
      I can register each nodes either trough the fog ui or through the pxe interface with full registration.

      My questions are the following:

      • When I capture the host, will fog make a copy of the USB stick or only the HDD?
        ** It seems that the captue only target the HDD however, I only need to capture the USB stick and not the HDD.
        ** in image management, I use single disk resizable.

      • After the host are register on the fog and if the node starts to boot on pxe, I notice that it is impossible to tell the nodes to start on the usb stick?
        ** if the dhcp server is stopped , the node start correctly 1st pxe dchp check , 2 boot on usb stick.

      • after creating an images ( after capture) is it there a possibility to configure the NIC on a static mode? or should I first let my dhcp providing an IP address to the node, then connect to the node and and change it manually?

      The ultimate goal is to not open my cluster anymore and push my images on the usb stick bccause , for the moment, I do need to open each node and take out the usb stick and configure it.

      In advance thank you for your answers.

      Best,

      posted in General
      K
      kortnor
    • RE: PHP error Uncaught Exception: DateTimeZone

      @Sebastian-Roth
      that’s really interresting, I’ll create a fresh new vm ( aside the my running one, ) and try what’s you’re proposing, I should do that for thursday evening

      In the meantime, I need to learn how to fine tune the images because at the end I would like to apply it on a cluser created with 6 intel nuc.
      On each nuc, I’ll push my images but after every nuc needs to be configurer with a static ip ( for sure different for everyone ) šŸ˜„

      posted in Bug Reports
      K
      kortnor