gnt-info
17 months agoGPT partitions return Linux filesystem
Dobrica Pavlinusic [Wed, 14 Dec 2022 14:59:11 +0000 (15:59 +0100)]
GPT partitions return Linux filesystem

21 months agoadded word-boundries to catch only full tap names
Dobrica Pavlinusic [Fri, 19 Aug 2022 12:13:16 +0000 (14:13 +0200)]
added word-boundries to catch only full tap names

21 months agobrctl show br0060 | ./filter/tap-instance-nic
Dobrica Pavlinusic [Fri, 19 Aug 2022 11:59:14 +0000 (13:59 +0200)]
brctl show br0060 | ./filter/tap-instance-nic

21 months agofind fibre interfaces using ethtool
Dobrica Pavlinusic [Fri, 19 Aug 2022 11:13:08 +0000 (13:13 +0200)]
find fibre interfaces using ethtool

21 months agolist bridges
Dobrica Pavlinusic [Fri, 19 Aug 2022 11:12:52 +0000 (13:12 +0200)]
list bridges

2 years agomake 10G snap
Dobrica Pavlinusic [Sun, 27 Mar 2022 09:46:30 +0000 (11:46 +0200)]
make 10G snap

2 years agoexample how to add bullseye
Dobrica Pavlinusic [Wed, 13 Oct 2021 09:45:44 +0000 (11:45 +0200)]
example how to add bullseye

3 years agodocument how to insert partition table to instance
Dobrica Pavlinusic [Mon, 10 May 2021 09:45:44 +0000 (11:45 +0200)]
document how to insert partition table to instance

3 years agowipe beginning so that grub-install doesn't complain
Dobrica Pavlinusic [Mon, 10 May 2021 09:17:02 +0000 (11:17 +0200)]
wipe beginning so that grub-install doesn't complain

3 years agoinsert bootable partition table at start of lv
Dobrica Pavlinusic [Fri, 19 Mar 2021 10:23:20 +0000 (11:23 +0100)]
insert bootable partition table at start of lv

3 years agofix VG=volume-group when empty (fallback to ssd)
Dobrica Pavlinusic [Fri, 19 Mar 2021 09:19:43 +0000 (10:19 +0100)]
fix VG=volume-group when empty (fallback to ssd)

3 years agoremove bitmap
Dobrica Pavlinusic [Sat, 6 Mar 2021 19:55:26 +0000 (20:55 +0100)]
remove bitmap

3 years agoMerge branch 'master' of github.com:ffzg/gnt-info
Dobrica Pavlinusic [Fri, 5 Mar 2021 13:40:15 +0000 (14:40 +0100)]
Merge branch 'master' of github.com:ffzg/gnt-info

3 years agossd raid5 migration
Dobrica Pavlinusic [Fri, 5 Mar 2021 13:39:52 +0000 (14:39 +0100)]
ssd raid5 migration

3 years agoexperiments with modifing drbd resync rate
Dobrica Pavlinusic [Sat, 27 Feb 2021 16:56:42 +0000 (17:56 +0100)]
experiments with modifing drbd resync rate

3 years agoMerge branch 'master' of https://github.com/ffzg/gnt-info
Dobrica Pavlinusic [Mon, 21 Dec 2020 11:29:41 +0000 (12:29 +0100)]
Merge branch 'master' of https://github.com/ffzg/gnt-info

3 years agoinstall windows 10 using ide disk and virtio.iso drivers
Dobrica Pavlinusic [Mon, 21 Dec 2020 11:29:15 +0000 (12:29 +0100)]
install windows 10 using ide disk and virtio.iso drivers

3 years agowhat to do when instance migration never ends
Dobrica Pavlinusic [Tue, 24 Nov 2020 16:45:55 +0000 (17:45 +0100)]
what to do when instance migration never ends

3 years agousage of logical volumes
Dobrica Pavlinusic [Tue, 13 Oct 2020 13:19:34 +0000 (15:19 +0200)]
usage of logical volumes

3 years agouse find instead of ls to support 100,000 of files
Dobrica Pavlinusic [Tue, 29 Sep 2020 17:22:43 +0000 (19:22 +0200)]
use find instead of ls to support 100,000 of files

3 years agoMerge branch 'master' of github.com:ffzg/gnt-info
Dobrica Pavlinusic [Tue, 29 Sep 2020 16:49:06 +0000 (18:49 +0200)]
Merge branch 'master' of github.com:ffzg/gnt-info

3 years agofix awk job number
Dobrica Pavlinusic [Tue, 29 Sep 2020 16:48:44 +0000 (18:48 +0200)]
fix awk job number

3 years agoadded VG env to specify target volume group
Dobrica Pavlinusic [Tue, 22 Sep 2020 08:23:50 +0000 (10:23 +0200)]
added VG env to specify target volume group

4 years agoMerge branch 'master' of github.com:ffzg/gnt-info
Dobrica Pavlinusic [Thu, 16 Apr 2020 11:50:27 +0000 (13:50 +0200)]
Merge branch 'master' of github.com:ffzg/gnt-info

4 years agoadd consistency=any to influx requests
Dobrica Pavlinusic [Wed, 19 Feb 2020 20:40:27 +0000 (21:40 +0100)]
add consistency=any to influx requests

4 years agoinvoke remote site as root, use /etc/ganeti.hosts
Dobrica Pavlinusic [Mon, 17 Feb 2020 23:35:07 +0000 (00:35 +0100)]
invoke remote site as root, use /etc/ganeti.hosts

4 years agoadded "install it" target
Dobrica Pavlinusic [Mon, 17 Feb 2020 21:32:48 +0000 (22:32 +0100)]
added "install it" target

4 years agoalign output, save in /dev/shm/gnt-disks-smart
Dobrica Pavlinusic [Mon, 17 Feb 2020 21:01:21 +0000 (22:01 +0100)]
align output, save in /dev/shm/gnt-disks-smart

4 years agoadded overview from smart
Dobrica Pavlinusic [Mon, 17 Feb 2020 20:52:38 +0000 (21:52 +0100)]
added overview from smart

4 years agoreplace space with dot, eg: Serial Number -> Serial.Number
Dobrica Pavlinusic [Mon, 17 Feb 2020 20:38:09 +0000 (21:38 +0100)]
replace space with dot, eg: Serial Number -> Serial.Number

4 years agoremove duplicate dump files
Dobrica Pavlinusic [Mon, 17 Feb 2020 20:35:18 +0000 (21:35 +0100)]
remove duplicate dump files

4 years agorelaxed glob now that gnt-smart doesn't leave garbage for megaraid
Dobrica Pavlinusic [Mon, 17 Feb 2020 20:04:52 +0000 (21:04 +0100)]
relaxed glob now that gnt-smart doesn't leave garbage for megaraid

4 years agoadd Power_On_Hours Reallocated_Sector_Ct
Dobrica Pavlinusic [Mon, 17 Feb 2020 20:04:39 +0000 (21:04 +0100)]
add Power_On_Hours Reallocated_Sector_Ct

4 years agodon't leave megaraid left-over files
Dobrica Pavlinusic [Mon, 17 Feb 2020 20:02:03 +0000 (21:02 +0100)]
don't leave megaraid left-over files

4 years agocleanup output and dump files
Dobrica Pavlinusic [Mon, 17 Feb 2020 19:44:15 +0000 (20:44 +0100)]
cleanup output and dump files

4 years agorelax smart dump names for real jbod disks
Dobrica Pavlinusic [Mon, 17 Feb 2020 19:31:34 +0000 (20:31 +0100)]
relax smart dump names for real jbod disks

4 years agonote about refresing smart dumps
Dobrica Pavlinusic [Mon, 17 Feb 2020 19:26:13 +0000 (20:26 +0100)]
note about refresing smart dumps

4 years agoremove real ganeti chatter
Dobrica Pavlinusic [Mon, 17 Feb 2020 19:25:58 +0000 (20:25 +0100)]
remove real ganeti chatter

4 years agofix column aligment for attributes
Dobrica Pavlinusic [Mon, 17 Feb 2020 19:25:34 +0000 (20:25 +0100)]
fix column aligment for attributes

4 years agocopyfile uses rsync, check that args exist
Dobrica Pavlinusic [Mon, 17 Feb 2020 19:16:21 +0000 (20:16 +0100)]
copyfile uses rsync, check that args exist

4 years agosmart-query example
Dobrica Pavlinusic [Mon, 17 Feb 2020 19:15:55 +0000 (20:15 +0100)]
smart-query example

4 years agosupport attribute cleanup for nice single value column
Dobrica Pavlinusic [Mon, 17 Feb 2020 19:13:01 +0000 (20:13 +0100)]
support attribute cleanup for nice single value column

4 years agoquery generated smart files
Dobrica Pavlinusic [Mon, 17 Feb 2020 19:12:08 +0000 (20:12 +0100)]
query generated smart files

4 years agoadded copyfile
Dobrica Pavlinusic [Mon, 17 Feb 2020 18:19:58 +0000 (19:19 +0100)]
added copyfile

4 years agosimple emulator for gnt-cluster
Dobrica Pavlinusic [Mon, 17 Feb 2020 18:09:40 +0000 (19:09 +0100)]
simple emulator for gnt-cluster

this enables you to use gnt-* commands on machines without ganeti
installation

4 years agoreport disk size in bytes for summary by model
Dobrica Pavlinusic [Mon, 17 Feb 2020 17:40:53 +0000 (18:40 +0100)]
report disk size in bytes for summary by model

4 years agosort gnt-disks-models by size
Dobrica Pavlinusic [Mon, 17 Feb 2020 17:36:55 +0000 (18:36 +0100)]
sort gnt-disks-models by size

4 years agoadded summary by disk model
Dobrica Pavlinusic [Mon, 17 Feb 2020 17:33:00 +0000 (18:33 +0100)]
added summary by disk model

4 years agorename to gnt-vgs-usage
Dobrica Pavlinusic [Mon, 17 Feb 2020 17:12:23 +0000 (18:12 +0100)]
rename to gnt-vgs-usage

4 years agokeep headings
Dobrica Pavlinusic [Mon, 17 Feb 2020 17:07:53 +0000 (18:07 +0100)]
keep headings

4 years agokeep headers, don't display invalid zeros
Dobrica Pavlinusic [Mon, 17 Feb 2020 17:06:21 +0000 (18:06 +0100)]
keep headers, don't display invalid zeros

4 years agoadded hints on viewing disk capacity of cluster
Dobrica Pavlinusic [Mon, 17 Feb 2020 16:59:27 +0000 (17:59 +0100)]
added hints on viewing disk capacity of cluster

4 years agoreport cluster volume groups usage in g
Dobrica Pavlinusic [Mon, 17 Feb 2020 16:55:11 +0000 (17:55 +0100)]
report cluster volume groups usage in g

4 years agoforce unit to g
Dobrica Pavlinusic [Mon, 17 Feb 2020 16:49:57 +0000 (17:49 +0100)]
force unit to g

4 years agonote how to test cloned lv with kvm
Dobrica Pavlinusic [Mon, 17 Feb 2020 16:41:42 +0000 (17:41 +0100)]
note how to test cloned lv with kvm

4 years agoshow all logical volumes in cluster
Dobrica Pavlinusic [Mon, 17 Feb 2020 16:40:27 +0000 (17:40 +0100)]
show all logical volumes in cluster

4 years agoMerge branch 'master' of github.com:ffzg/gnt-info
Dobrica Pavlinusic [Mon, 17 Feb 2020 16:33:46 +0000 (17:33 +0100)]
Merge branch 'master' of github.com:ffzg/gnt-info

4 years agosave output in /dev/shm
Dobrica Pavlinusic [Mon, 17 Feb 2020 16:33:21 +0000 (17:33 +0100)]
save output in /dev/shm

4 years agoreport disks in cluster
Dobrica Pavlinusic [Mon, 17 Feb 2020 16:32:56 +0000 (17:32 +0100)]
report disks in cluster

4 years agodisplay pv usage for cluster
Dobrica Pavlinusic [Mon, 17 Feb 2020 16:28:14 +0000 (17:28 +0100)]
display pv usage for cluster

4 years agocreate snapshot copy of instance disk on target_vg
Dobrica Pavlinusic [Tue, 11 Feb 2020 09:53:29 +0000 (10:53 +0100)]
create snapshot copy of instance disk on target_vg

4 years agofinish machine setup to test upgrade
Dobrica Pavlinusic [Sat, 25 Jan 2020 14:30:08 +0000 (15:30 +0100)]
finish machine setup to test upgrade

4 years agocreate kvm from instance to test upgrade
Dobrica Pavlinusic [Sat, 25 Jan 2020 13:58:49 +0000 (14:58 +0100)]
create kvm from instance to test upgrade

4 years agoDSA suggested drbd limits
Dobrica Pavlinusic [Tue, 26 Nov 2019 14:32:43 +0000 (15:32 +0100)]
DSA suggested drbd limits

4 years agono output is good
Dobrica Pavlinusic [Mon, 18 Nov 2019 09:49:45 +0000 (10:49 +0100)]
no output is good

4 years agomake executable
Dobrica Pavlinusic [Sun, 17 Nov 2019 13:24:32 +0000 (14:24 +0100)]
make executable

4 years agocheck /proc/drbd and correlate with instances
Dobrica Pavlinusic [Sun, 17 Nov 2019 09:06:16 +0000 (10:06 +0100)]
check /proc/drbd and correlate with instances

4 years agoit should be rsync_server, not rsync_host
Dobrica Pavlinusic [Sat, 26 Oct 2019 12:41:42 +0000 (14:41 +0200)]
it should be rsync_server, not rsync_host

4 years agopurge jobs older than job id
Dobrica Pavlinusic [Fri, 25 Oct 2019 12:31:07 +0000 (14:31 +0200)]
purge jobs older than job id

4 years agoread volume group name from lvs
Dobrica Pavlinusic [Thu, 24 Oct 2019 13:08:03 +0000 (15:08 +0200)]
read volume group name from lvs

Instead of ganeti config so we can use multiple volume groups
(in our case separate disk and ssd ones)

4 years agoMerge branch 'master' of github.com:ffzg/gnt-info
Dobrica Pavlinusic [Wed, 23 Oct 2019 07:21:54 +0000 (09:21 +0200)]
Merge branch 'master' of github.com:ffzg/gnt-info

4 years agochange location of zfs snap key
Dobrica Pavlinusic [Wed, 23 Oct 2019 07:15:57 +0000 (09:15 +0200)]
change location of zfs snap key

4 years agofind instances with slaves stuck in WFConnection
Dobrica Pavlinusic [Tue, 27 Aug 2019 08:16:49 +0000 (10:16 +0200)]
find instances with slaves stuck in WFConnection

4 years agodocument mudrac migration from ceph to lvm
Dobrica Pavlinusic [Mon, 26 Aug 2019 09:16:50 +0000 (11:16 +0200)]
document mudrac migration from ceph to lvm

4 years agokeep old eth0 names for interfaces on 4.9 kernel
Dobrica Pavlinusic [Fri, 9 Aug 2019 13:18:05 +0000 (15:18 +0200)]
keep old eth0 names for interfaces on 4.9 kernel

4 years agoadded rsync_server to which we push backup
Dobrica Pavlinusic [Fri, 9 Aug 2019 13:15:39 +0000 (15:15 +0200)]
added rsync_server to which we push backup

5 years agoboot from pxe server
Dobrica Pavlinusic [Wed, 1 May 2019 14:00:58 +0000 (16:00 +0200)]
boot from pxe server

5 years agokill ganeti instance kvm
Dobrica Pavlinusic [Tue, 30 Apr 2019 12:07:26 +0000 (14:07 +0200)]
kill ganeti instance kvm

5 years agotcpdump instance interface
Dobrica Pavlinusic [Tue, 30 Apr 2019 11:55:11 +0000 (13:55 +0200)]
tcpdump instance interface

5 years agoganeti upgrade, ceph rbd showmapped -p broke
Dobrica Pavlinusic [Thu, 25 Apr 2019 07:25:22 +0000 (09:25 +0200)]
ganeti upgrade, ceph rbd showmapped -p broke

5 years agodisplay GROUP_VERIFY_DISKS, but don't watch them
Dobrica Pavlinusic [Mon, 22 Apr 2019 09:18:13 +0000 (11:18 +0200)]
display GROUP_VERIFY_DISKS, but don't watch them

5 years agoreport failures from smart log
Dobrica Pavlinusic [Sun, 21 Apr 2019 07:19:02 +0000 (09:19 +0200)]
report failures from smart log

5 years agoshow last job running instead of first one
Dobrica Pavlinusic [Sat, 20 Apr 2019 13:29:06 +0000 (15:29 +0200)]
show last job running instead of first one

5 years agoadded Reallocated and Pending
Dobrica Pavlinusic [Sat, 20 Apr 2019 12:54:37 +0000 (14:54 +0200)]
added Reallocated and Pending

5 years agonotes about windows 10 virio/safemode problems
Dobrica Pavlinusic [Mon, 4 Mar 2019 08:49:13 +0000 (09:49 +0100)]
notes about windows 10 virio/safemode problems

5 years agogrub-install --no-floppy
Dobrica Pavlinusic [Sun, 7 Oct 2018 09:05:27 +0000 (11:05 +0200)]
grub-install --no-floppy

5 years agodrbd should catch all unknown devices (e.g. rbd)
Dobrica Pavlinusic [Fri, 5 Oct 2018 07:23:31 +0000 (09:23 +0200)]
drbd should catch all unknown devices (e.g. rbd)

5 years agogrub hook from ganeti list
Dobrica Pavlinusic [Wed, 3 Oct 2018 10:48:15 +0000 (12:48 +0200)]
grub hook from ganeti list

https://groups.google.com/forum/#!searchin/ganeti/debootstrap|sort:date/ganeti/N8_r8lKoA-k/8ExYRnPUAQAJ

5 years agocommit to etckeeper
Dobrica Pavlinusic [Fri, 5 Oct 2018 07:20:38 +0000 (09:20 +0200)]
commit to etckeeper

5 years agoinstall deboostrap-4k-msdos fix, run on every node
Dobrica Pavlinusic [Fri, 5 Oct 2018 07:18:48 +0000 (09:18 +0200)]
install deboostrap-4k-msdos fix, run on every node

5 years agomotivational example which looks wrong, but works
Dobrica Pavlinusic [Thu, 4 Oct 2018 15:24:29 +0000 (17:24 +0200)]
motivational example which looks wrong, but works

5 years agouse ganeti symlink for running instance disks
Dobrica Pavlinusic [Thu, 4 Oct 2018 15:14:46 +0000 (17:14 +0200)]
use ganeti symlink for running instance disks

This works with all types of storage and nicely showcases wrong
partition sizes on devices with 4k blocksize

5 years agodocument debootstrap msdos 4k problem and solution
Dobrica Pavlinusic [Thu, 4 Oct 2018 15:08:55 +0000 (17:08 +0200)]
document debootstrap msdos 4k problem and solution

5 years agoMerge branch 'master' of https://github.com/ffzg/gnt-info
Dobrica Pavlinusic [Thu, 4 Oct 2018 07:19:24 +0000 (09:19 +0200)]
Merge branch 'master' of https://github.com/ffzg/gnt-info

5 years agorun fdisk on instance disk
Dobrica Pavlinusic [Thu, 4 Oct 2018 07:18:57 +0000 (09:18 +0200)]
run fdisk on instance disk

5 years agoadded one-liner for easy copy/paste
Dobrica Pavlinusic [Mon, 24 Sep 2018 07:41:23 +0000 (09:41 +0200)]
added one-liner for easy copy/paste

5 years agonote about wiping partitions from disks before md create
Dobrica Pavlinusic [Fri, 21 Sep 2018 12:15:07 +0000 (14:15 +0200)]
note about wiping partitions from disks before md create

5 years agoadded more descriptive comments
Dobrica Pavlinusic [Fri, 21 Sep 2018 08:58:18 +0000 (10:58 +0200)]
added more descriptive comments

5 years agoMerge branch 'master' of github.com:ffzg/gnt-info
Dobrica Pavlinusic [Fri, 21 Sep 2018 08:57:46 +0000 (10:57 +0200)]
Merge branch 'master' of github.com:ffzg/gnt-info

5 years agosilent curl output
Dobrica Pavlinusic [Fri, 21 Sep 2018 08:57:07 +0000 (10:57 +0200)]
silent curl output