Benutzer-Werkzeuge

Webseiten-Werkzeuge


infrastruktur:rz:storage-server:root-history
no way to compare when less than two revisions

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.


infrastruktur:rz:storage-server:root-history [2020-06-27 18:52] (aktuell) – angelegt hase
Zeile 1: Zeile 1:
 +====== Root History ======
 +{{tag> storage-server infrastructure shackoperations }}
  
 +====== Versionen ======
 +| Version | Bearbeiter | Änderungsdatum | Änderungsbemerkung |
 +| 0.1 | hase | 06-06-2020 | Seite angelegt |
 +
 +====== root Bash Hostory ======
 +
 +<code bash>
 +    3  apt install libpve-network-perl
 +    4  exit
 +    5  apt install ifupdown2
 +    6  ip a
 +    7  dhclient eno4
 +    8  ip a
 +    9  reboot
 +   10  ip a
 +   11  loadkeys de
 +   12  vim /etc/network/interfaces
 +   13  ifdown eno4
 +   14  vim /etc/network/interfaces
 +   15  ifdown vmbr0
 +   16  ifdown eno4
 +   17  ifup eno4
 +   18  ifup vmbr0
 +   19  ip a
 +   20  exit
 +   21  arcstat
 +   22  arcstat 1
 +   23  arc_summary 
 +   24  arcstat -h
 +   25  arcstat -x 1
 +   26  arcstat -v 1
 +   27  arcstat -h
 +   28  cat /sys/module/zfs/parameters/zfs_arc_max
 +   29  vim /etc/modprobe.d/zfs.conf 
 +   30  vim /etc/modprobe.d/zfs.conf 
 +   31  arcstat 1
 +   32  iftop
 +   33  iotop
 +   34  zpool iostat -v 1
 +   35  ip a
 +   36  ip a
 +   37  ip a
 +   38  ip a
 +   39  brctl
 +   40  brctl show vmbr0
 +   41  zfs list
 +   42  zpool import -a
 +   43  ip a
 +   44  iostat
 +   45  zpool iostat
 +   46  zpool iostat -v
 +   47  zpool iostat -v 1
 +   48  cd /testpool/
 +   49  ls -la
 +   50  mv Manjaro_18.1.0.vdi /
 +   51  ls -la
 +   52  zpool iostat -v 1
 +   53  iostat
 +   54  iotop
 +   55  ls -la
 +   56  cd private/
 +   57  ls -la
 +   58  cd ..
 +   59  ls -la
 +   60  ls -la images/
 +   61  ls -la images/100/
 +   62  ls -lah images/100/
 +   63  ls -lah images/100/
 +   64  ls -lah images/100/
 +   65  ls -lah images/100/
 +   66  ls -la
 +   67  qemu-img convert -h
 +   68  qemu-img convert -f vdi -O qcow2 Manjaro_18.1.0.vdi manjaro.qcow2
 +   69  ls -la
 +   70  ls -lah
 +   71  qemu-img convert -f vdi -O qcow2 Manjaro_18.1.0.vdi manjaro.qcow2
 +   72  rm manjaro.qcow2 
 +   73  qemu-img convert -f vdi -O qcow2 Manjaro_18.1.0.vdi manjaro.qcow2
 +   74  ls -la
 +   75  mv manjaro.qcow2  images/100/
 +   76  cd images/100/
 +   77  ls -la
 +   78  chmod 644 manjaro.qcow2 
 +   79  ls -la
 +   80  chmod 640 manjaro.qcow2 
 +   81  ls -la
 +   82  ls -lah
 +   83  rm -rf vm-100-disk-0.vmdk 
 +   84  mv manjaro.qcow2 vm-100-disk-0.qcow2
 +   85  ls -la
 +   86  mv vm-100-disk-0.qcow2 vm-100-disk-0_neu.qcow2 
 +   87  ls -la
 +   88  ls -la
 +   89  mv vm-100-disk-1.qcow2 vm-100-disk-1_alt.qcow2
 +   90  mv vm-100-disk-0_neu.qcow2 vm-100-disk-1.qcow2
 +   91  ls -la
 +   92  cd ..
 +   93  cd ..
 +   94  ls -la
 +   95  ls -la template/iso/
 +   96  cd template/iso/
 +   97  wget https://dotsrc.dl.osdn.net/osdn/storage/g/m/ma/manjaro/xfce/20.0.2/manjaro-xfce-20.0.2-200531-linux56.iso
 +   98  ls -la
 +   99  htop
 +  100  htop
 +  101  cd ../
 +  102  cd ../
 +  103  cd private/
 +  104  ls -la
 +  105  cd ..
 +  106  ls -la
 +  107  cd images/100/
 +  108  ls -la
 +  109  cd ..
 +  110  cd ..
 +  111  find .
 +  112  find /var | grep vm
 +  113  find /var | grep vm
 +  114  find /var | grep qemu
 +  115  ls -lah dump/
 +  116  ls -lah dump/
 +  117  ls -lah dump/
 +  118  htop
 +  119  htop
 +  120  cd /root/
 +  121  ls -la
 +  122  mkdir Projects
 +  123  cd Projects
 +  124  mkdir inc-backup
 +  125  cd inc-backup
 +  126  git clone https://github.com/ayufan/pve-patches
 +  127  cd pve-patches/
 +  128  ls -la
 +  129  bash pve-6.2-4-diff-backup-addon apply
 +  130  wget https://github.com/ayufan/pve-xdelta3/releases/download/3.0.11.zstd/pve-xdelta3_3.0.11-dfsg-1ubuntu1.zstd.ayufan2_amd64.deb
 +  131  dpkg -i pve-xdelta3_3.0.11-dfsg-1ubuntu1.zstd.ayufan2_amd64.deb
 +  132  bash pve-6.2-4-diff-backup-addon apply
 +  133  zpool import -a
 +  134  ls -la /testpool/
 +  135  systemctl status zfs-import-scan.service 
 +  136  systemctl start zfs-import-scan.service 
 +  137  systemctl status zfs-import-scan.service 
 +  138  systemctl enable zfs-import-scan.service 
 +  139  systemctl status zfs-import.service 
 +  140  systemctl enable zfs-import-cache.service
 +  141  systemctl enable zfs-import.service
 +  142  systemctl enable zfs-share.service
 +  143  reboot
 +  144  ypool list
 +  145  zpool list
 +  146  loadkeys 
 +  147  loadkeys de
 +  148  vim /etc/default/zfs
 +  149  exit
 +  150  systemctl status zfs-import-cache.service
 +  151  zpool import -a
 +  152  rm -rf /testpool
 +  153  zpool import -a
 +  154  zpool list
 +  155  df -h
 +  156  zpool umount
 +  157  zpool umount -a
 +  158  ls -la /
 +  159  ls -la /testpool/
 +  160  df -h
 +  161  cat /proc/mounts 
 +  162  zfs unmount -a
 +  163  rm -rf /testpool
 +  164  ls -la /testpool
 +  165  ls -la /testpool
 +  166  ls -la /testpool
 +  167  ls -la /testpool
 +  168  ls -la /testpool
 +  169  ls -la /testpool
 +  170  ls -la /testpool
 +  171  ls -la /testpool
 +  172  rm -rf /testpool
 +  173  rm -rf /testpool
 +  174  ls -la /testpool
 +  175  ls -la /testpool
 +  176  ls -la /testpool
 +  177  ls -la /testpool
 +  178  ls -la /testpool
 +  179  ls -la /testpool
 +  180  ls -la /testpool
 +  181  zfs mount -a
 +  182  ls -la /testpool
 +  183  df -h
 +  184  systemctl status zfs-import-cache.service 
 +  185  zfs get cachefile=/etc/zfs/testpool.cache testpool
 +  186  zpool get cachefile=/etc/zfs/testpool.cache testpool 
 +  187  zpool set cachefile=/etc/zfs/testpool.cache testpool 
 +  188  reboot
 +  189  zpool
 +  190  zpool list
 +  191  systemctl status zfs-import-cache.service 
 +  192  ls -la /etc/zfs/
 +  193  zpool import -c /etc/zfs/testpool.cache 
 +  194  zpool list
 +  195  zpool import -c /etc/zfs/testpool.cache -aN
 +  196  zpool list
 +  197  df -h
 +  198  zpool set cachefile=none testpool
 +  199  zpool set cachefile=/etc/zfs/testpool_neu.cache testpool
 +  200  ls -la /etc/zfs/
 +  201  zfs list
 +  202  df -h
 +  203  ls -la /testpool/
 +  204  zpool 
 +  205  zpool export testpool
 +  206  systemctl status zfs-import-cache.service 
 +  207  systemctl status zfs-import-scan.service 
 +  208  reboot
 +  209  systemctl status zfs-import-scan.service 
 +  210  systemctl status zfs-import-cache.service 
 +  211  zpool list
 +  212  vim /etc/fstab 
 +  213  reboot
 +  214  loadkeys de
 +  215  zpool list
 +  216  zpool import testpool
 +  217  rm -rf /testpool && zpool import testpool
 +  218  zpool list
 +  219  zfs mount -a
 +  220  df-h
 +  221  df -h
 +  222  zfs umount -a
 +  223  df -h
 +  224  ls -la /testpool/
 +  225  ls -la /testpool/
 +  226  ls -la /testpool/
 +  227  ls -la /testpool/
 +  228  ls -la /testpool/
 +  229  ls -la /testpool/
 +  230  ls -la /testpool/
 +  231  ls -la /testpool/
 +  232  ls -la /testpool/
 +  233  ls -la /testpool/
 +  234  ls -la /testpool/
 +  235  ls -la /testpool/
 +  236  ls -la /testpool/
 +  237  exit
 +  238  systemctl default
 +  239  systemctl status zfs-import-cache.service
 +  240  journalctl -e
 +  241  zfs set mountpoint=legacy testpool
 +  242  reboot
 +  243  mohpof4A
 +  244  loadkeys de
 +  245  systemctl stop zfs-import-cache.service
 +  246  systemctl disable zfs-import-cache.service
 +  247  reboot
 +  248  loadkeys de
 +  249  vim /etc/fstab 
 +  250  reboot
 +  251  apt install zfs-initramfs
 +  252  zfs set mountpoint=/testpool testpool
 +  253  zpool import -a
 +  254  zfs set mountpoint=/testpool testpool
 +  255  zpool set cachefile=none testpool
 +  256  ls -la /etc/zfs/
 +  257  ls -la /etc/zfs/zpool.d/
 +  258  ls -la /etc/zfs/
 +  259  zpool set cachefile=/etc/zfs/zpool.cache testpool
 +  260  ls -la /etc/zfs/
 +  261  systemctl enable zfs-import-cache.service 
 +  262  reboot
 +  263  zfs list
 +  264  zpool list
 +  265  systemctl status zfs-import-cache.service 
 +  266  /sbin/zpool import -c /etc/zfs/zpool.cache -aN
 +  267  zpool list
 +  268  df -h
 +  269  dmesg
 +  270  ls -la /var/log/
 +  271  ls -la /var/log/kern.log
 +  272  less /var/log/kern.log
 +  273  systemctl status zfs-import-cache.service 
 +  274  zpool export -aN
 +  275  zpool export -a
 +  276  zpool list
 +  277  systemctl status zfs-import-cache.service 
 +  278  systemctl restart zfs-import-cache.service 
 +  279  systemctl status zfs-import-cache.service 
 +  280  zpool import
 +  281  zpool import --help
 +  282  man zpool
 +  283  zpool list
 +  284  /sbin/zpool -v import -c /etc/zfs/zpool.cache -aN
 +  285  /sbin/zpool import -c /etc/zfs/zpool.cache -aN
 +  286  /sbin/zpool import -c /etc/zfs/testpool_neu.cache -aN
 +  287  ls -la /etc/zfs/
 +  288  /sbin/zpool import -c /etc/zfs/testpool.cache -aN
 +  289  zpool list
 +  290  zpool get cachefile
 +  291  zpool set cachefile=/etc/zfs/zpool.cache testpool
 +  292  zpool get cachefile
 +  293  ls -la /etc/zfs/
 +  294  zpool set cachefile=/etc/zfs/zpool.cache testpool
 +  295  ls -la /etc/zfs/
 +  296  zpool get cachefile
 +  297  zpool get all
 +  298  vim /etc/default/zfs
 +  299  update-initramfs 
 +  300  update-initramfs -k all
 +  301  update-initramfs -u
 +  302  less /etc/zfs/zpool.cache 
 +  303  strings /etc/zfs/zpool.cache 
 +  304  systemctl status zfs-import-cache.service 
 +  305  systemctl stop zfs-import-cache.service 
 +  306  systemctl status zfs-import-cache.service 
 +  307  zpool list
 +  308  zpool export -a
 +  309  zpool list
 +  310  systemctl status zfs-import-cache.service 
 +  311  systemctl start zfs-import-cache.service 
 +  312  systemctl status zfs-import-cache.service 
 +  313  systemctl disable zfs-import-cache.service
 +  314  systemctl status zfs-import-cache.service 
 +  315  systemctl status zfs-import-scan.service 
 +  316  zpool list
 +  317  ls -la /etc/zfs/
 +  318  systemctl start zfs-import-scan.service 
 +  319  systemctl status zfs-import-scan.service 
 +  320  vim /lib/systemd/system/zfs-import-scan.service
 +  321  systemctl daemon-reload 
 +  322  systemctl status zfs-import-scan.service 
 +  323  systemctl start zfs-import-scan.service 
 +  324  systemctl status zfs-import-scan.service 
 +  325  zpool list
 +  326  reboot
 +  327  zpool list
 +  328  systemctl status zfs-import-scan.service 
 +  329  ls -la /etc/zfs/
 +  330  ls -la /etc/zfs/zed.d/
 +  331  zpool
 +  332  zpool list
 +  333  #
 +  334  zdb
 +  335  zpool import -aN
 +  336  zpool list
 +  337  zdb
 +  338  zdb | grep path
 +  339  zpool list
 +  340  zpool status
 +  341  history | grep "zpool create"
 +  342  zpool destroy testpool
 +  343  zpool create -o ashift=12 -o autoreplace=on -o autoexpand=on -o autotrim=off -O recordsize=1M -O compression=lz4 -O snapdir=visible -O nbmand=on -O vscan=on -O sharesmb=on -O sharenfs=on testpool raidz2 /dev/disk/by-id/ata-ST31000340NS_9QJ2VWL5 /dev/disk/by-id/ata-ST31000340NS_9QJ35XMD /dev/disk/by-id/ata-ST31000340NS_9QJ365FR /dev/disk/by-id/ata-ST31000340NS_9QJ3DERC /dev/disk/by-id/ata-ST31000340NS_9QJ3F57C /dev/disk/by-id/ata-ST31000340NS_9QJ3Z9FR /dev/disk/by-id/ata-ST31000340NS_9QJ4KXTS spare ata-ST31000340NS_9QJ3FAMH
 +  344  zpool list
 +  345  df -h
 +  346  zfs unmount -a
 +  347  zpool export -f -a
 +  348  ls -la /testpool/
 +  349  rm -rf /testpool
 +  350  ls -la /testpool/
 +  351  ls -la /testpool
 +  352  ls -la /testpool
 +  353  ls -la /testpool
 +  354  ls -la /testpool
 +  355  rm -rf /testpool
 +  356  watch -n 1 "ls -la /testpool"
 +  357  zpool create -o ashift=12 -o autoreplace=on -o autoexpand=on -o autotrim=off -O recordsize=1M -O compression=lz4 -O snapdir=visible -O nbmand=on -O vscan=on -O sharesmb=on -O sharenfs=on testpool raidz2 /dev/disk/by-id/ata-ST31000340NS_9QJ2VWL5 /dev/disk/by-id/ata-ST31000340NS_9QJ35XMD /dev/disk/by-id/ata-ST31000340NS_9QJ365FR /dev/disk/by-id/ata-ST31000340NS_9QJ3DERC /dev/disk/by-id/ata-ST31000340NS_9QJ3F57C /dev/disk/by-id/ata-ST31000340NS_9QJ3Z9FR /dev/disk/by-id/ata-ST31000340NS_9QJ4KXTS spare ata-ST31000340NS_9QJ3FAMH
 +  358  zpool status
 +  359  zpool set cachefile=/etc/zfs/zpool.cache
 +  360  zpool set cachefile=/etc/zfs/zpool.cache testpool
 +  361  ls -la /etc/zfs/
 +  362  zpool export testpool
 +  363  ls -la /etc/zfs/
 +  364  zpool import -a
 +  365  ls -la /etc/zfs/
 +  366  update-initramfs -u
 +  367  apt install console-setup
 +  368  update-initramfs -u
 +  369  vim /etc/default/zfs 
 +  370  reboot
 +  371  zpool list
 +  372  systemctl status zfs-import-cache.service 
 +  373  systemctl start zfs-import-cache.service 
 +  374  systemctl status zfs-import-cache.service 
 +  375  zpool list
 +  376  systemctl enable zfs-import-cache.service 
 +  377  reboot
 +  378  zpool list
 +  379  systemctl status zfs-import-cache.service 
 +  380  journalctl -u zfs-import-cache.service
 +  381  rm /etc/zfs/zpool.cache 
 +  382  ls -la /etc/zfs
 +  383  zpool import -a
 +  384  ls -la /etc/zfs
 +  385  zpool export testpool
 +  386  ls -la /etc/zfs
 +  387  systemctl stop zfs-import-cache.service
 +  388  systemctl status zfs-import-cache.service
 +  389  systemctl disable zfs-import-cache.service
 +  390  systemctl status zfs-import-cache.service
 +  391  systemctl status zfs-import-scan.service 
 +  392  zpool list
 +  393  systemctl restart zfs-import-scan.service 
 +  394  systemctl status zfs-import-scan.service 
 +  395  zpool list
 +  396  zfs list
 +  397  systemctl disable zfs-import-scan.service 
 +  398  systemctl enable zfs-import-scan.service 
 +  399  reboot
 +  400  zpool list
 +  401  systemctl status zfs-import-scan.service 
 +  402  zdb
 +  403  ls -la /etc/zfs/
 +  404  zpool import -f -a
 +  405  ls -la /etc/zfs/
 +  406  reboot
 +  407  ls -la /etc/zfs/
 +  408  zpool list
 +  409  systemctl status zfs-import-scan.service 
 +  410  systemctl status zfs-import-cache.service 
 +  411  systemctl start zfs-import-cache.service 
 +  412  systemctl status zfs-import-cache.service 
 +  413  ls -la /etc/zfs/
 +  414  zpool list
 +  415  systemctl enable zfs-import-cache.service 
 +  416  reboot
 +  417  zpool list
 +  418  ls -la /etc/zfs/
 +  419  systemctl status zfs-import-cache.service 
 +  420  systemctl restart zfs-import-cache.service 
 +  421  systemctl status zfs-import-cache.service 
 +  422  zpool list
 +  423  ls -la /etc/zfs/
 +  424  zpool status
 +  425  zpool scrub testpool
 +  426  zpool status
 +  427  zpool status
 +  428  zpool status
 +  429  zpool status
 +  430  zpool status
 +  431  zpool status
 +  432  zpool status
 +  433  zpool status
 +  434  zdb -lu
 +  435  zdb -lu /dev/sdc
 +  436  ls -ls /dev/disk/by-id/
 +  437  zdb -lu /dev/sdc1
 +  438  zdb -lu /dev/sdc9
 +  439  zpool destroy testpool
 +  440  wipefs -h
 +  441  wipefs -a /dev/sd[b-p]
 +  442  reboot
 +  443  zpool list
 +  444  ls -la /etc/zfs/
 +  445  lsblk
 +  446  zpool create -o ashift=12 -o autoreplace=on -o autoexpand=on -o autotrim=off -O recordsize=1M -O compression=lz4 -O snapdir=visible -O nbmand=on -O vscan=on -O sharesmb=on -O sharenfs=on testpool raidz2 /dev/disk/by-id/ata-ST31000340NS_9QJ2VWL5 /dev/disk/by-id/ata-ST31000340NS_9QJ35XMD /dev/disk/by-id/ata-ST31000340NS_9QJ365FR /dev/disk/by-id/ata-ST31000340NS_9QJ3DERC /dev/disk/by-id/ata-ST31000340NS_9QJ3F57C /dev/disk/by-id/ata-ST31000340NS_9QJ3Z9FR /dev/disk/by-id/ata-ST31000340NS_9QJ4KXTS spare ata-ST31000340NS_9QJ3FAMH
 +  447  lsblk
 +  448  ls -la /etc/zfs/
 +  449  systemctl status zfs-import-cache.service 
 +  450  zpool list
 +  451  reboot
 +  452  zpool list
 +  453  systemctl status zfs-import-cache.service 
 +  454  vim /etc/default/grub
 +  455  update-grub 
 +  456  uname -a
 +  457  reboot
 +  458  systemctl status zfs-import-cache.service 
 +  459  zpool list
 +  460  ls -la /etc/zfs/
 +  461  systemctl status zfs-import-cache.target
 +  462  systemctl status zfs-import.target 
 +  463  systemctl status zfs-import.s
 +  464  systemctl status zfs-import.service 
 +  465  ls -la /lib/systemd/system/zfs*
 +  466  cat /lib/systemd/system/zfs-import.target
 +  467  systemctl status dracut-mount.service
 +  468  vim /lib/systemd/system/zfs-import.target
 +  469  systemctl daemon-reload 
 +  470  systemctl status zfs-import.target 
 +  471  reboot
 +  472  htop
 +  473  reboot
 +  474  systemctl status zfs-import.target 
 +  475  systemctl status zfs-import-cache.service 
 +  476  zpool list
 +  477  ls -la /etc/zfs/
 +  478  zdb
 +  479  +
 +  480  apt update
 +  481  dpkg-query
 +  482  dpkg-query zfs
 +  483  dpkg-query --help
 +  484  dpkg-query 
 +  485  poweroff
 +  486  lspci
 +  487  reboot
 +  488  top
 +  489  sytemd-blame
 +  490  systemd-analyze
 +  491  ip a
 +  492  systemctl status sshd
 +  493  systemctl start sshd
 +  494  systemctl status sshd
 +  495  systemctl enable sshd
 +  496  systemctl disable sshd
 +  497  systemctl enable sshd
 +  498  systemctl enable ssh
 +  499  systemctl status sshd
 +  500  systemctl status ssh
 +  501  zpool list
 +  502  history 
 +root@naproxen:~# 
 +
 +</code>
infrastruktur/rz/storage-server/root-history.txt · Zuletzt geändert: 2020-06-27 18:52 von hase