Cloning debian Jessie

Discussion in 'Server Operation' started by servidoresadmin.com, Mar 1, 2016.

  1. Hi,
    In debian squeeze, debian wheezy we can do a cloned system with a simple rsync. Can do full server clonation on old debians.
    We try to do it in debian Jessie but it seems impossible. Someone knows the trick?
    It seems something have changed on boot and we cannot clone a full jessie.

    Thanks,
    www.servidoresadmin.com
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check the /etc/fstab file, current Linux distributions use UUID's for devices instead of /dev/sda* etc. The UUID is unique, so you probably have to adjust them on the target system.
     
  3. Hello Till,
    We exclude /etc/fstab.
    But fstab is not the issue:
    # <file system> <mount point> <type> <options> <dump> <pass>
    /dev/md1 / ext4 errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,relatime,discard 0 1
    /dev/md2 /var ext4 defaults,relatime,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,discard 1 2
    /dev/sda3 swap swap defaults 0 0
    /dev/sdb3 swap swap defaults 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs defaults 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    devpts /dev/pts devpts defaults 0 0

    We think jessie have something special and we have to investigate it.
    Very thanks Till.
    www.servidoresadmin.com
     
  4. ztk.me

    ztk.me ISPConfig Developer ISPConfig Developer

    you probably don't want to clone mdadm configuration aswell as it contains UUID.
     

Share This Page