Evaggelos Balaskas - System Engineer

The sky above the port was the color of television, tuned to a dead channel

Blog
Posts
Wiki
About
Contact
rss.png twitter linkedin github gitlab profile for ebal on Stack Exchange

Next Page »
  -  
Aug
31
2012
ebalaskas: gummiboot Simple UEFI Boot…
Posted by ebalaskas timeline at 10:44:35 in microblogging

identica.pnggummiboot Simple UEFI Boot Manager http://ur1.ca/a2qvd

from Updates from ebalaskas on Identi.ca!

Aug
28
2012
Shrink your backup images
Posted by ebal at 12:18:50 in blog, planet_Sysadmin

I am using LVM for storage to virtual machines.
One simply way to make backups (even if the machine is online) is through dd.

(but if you are using a database, online is out of question).

dd will backup the entire partition to a raw image.

Lets make an example:


# time dd if=/dev/vg01/winxp of=winxp.img bs=1024 
5242880+0 records in
5242880+0 records out
5368709120 bytes (5,4 GB) copied, 111,164 s, 48,3 MB/s

So we have a 5Gb backup raw image with sparse files into.
If only there was a way to remove sparse files to reduce the size!

Wait … it does exist: virt-sparsify


# virt-sparsify winxp.img winxp.img.spars
...
Sparsify operation completed with no errors.  Before deleting the old 
disk, carefully check that the target disk boots and works correctly.

# ls -ltr

-rw-r--r-- 1 root root 5368709120 Αύγ  28 11:55 winxp.img
-rw-r--r-- 1 root root 5368709120 Αύγ  28 11:59 winxp.img.spars

# du -h * 
5,1G    winxp.img
3,1G    winxp.img.spars

2gb sparse files have just removed !

Now you can compress the backup image to reduce the size even more:


# du -h winxp.img*

5,1G    winxp.img
3,1G    winxp.img.spars
1,4G    winxp.img.spars.lrz

We can now remove winxp.img & winxp.img.spars (8.2Gb) from our backup storage.

Tag(s): dd, virt-sparsify, lrzip
    Tag: dd, virt-sparsify, lrzip
  • 2 comments
Aug
28
2012
ebalaskas: Shrink your backup disk…
Posted by ebalaskas timeline at 11:55:07 in microblogging

identica.pngShrink your backup disk images http://ur1.ca/a1lx4 #dd #virt-sparsify #lrzip

from Updates from ebalaskas on Identi.ca!

Aug
27
2012
ebalaskas: try something like this:…
Posted by ebalaskas timeline at 07:31:09 in microblogging

identica.pngtry something like this: iwconfig wlan0 txpower on ip link set wlan0 up

from Updates from ebalaskas on Identi.ca!

Aug
24
2012
ebalaskas: #FOSDEM — 2 &…
Posted by ebalaskas timeline at 08:40:33 in microblogging

identica.png#FOSDEM -- 2 & 3 February 2013 https://fosdem.org

from Updates from ebalaskas on Identi.ca!

Aug
22
2012
How i converted to systemd
Posted by ebal at 12:42:32 in blog, archlinux, planet_Sysadmin

I was thinking to convert to systemd for quite some time now
So every time someone mentioned something about systemd (on the internet), i was reading his/her story as my life depend on it.

I am using archlinux so when i’ve read Jason’s blog post,
i was very happy. After a few days, Allan post a similar post
and that was the moment i told my self: “It’s time, i can blame Allan for breaking my system”

I run this command


# pacman -S systemd systemd-arch-units systemd-sysvcompat

and removed sysvinit & initscripts also.

Noticed that /etc/rc.conf became /etc/rc.conf.pacsave
and rebooted my machine.

How difficult is that ?

 

There was also a few steps that i needed to do.

Your reading material is here: Archlinux systemd and
systemd services .

After that was trivial to enable my services.
I have only a few of them:


# grep DAEMONS /etc/rc.conf.pacsave 
DAEMONS=(syslog-ng network crond dbus avahi-daemon cupsd xinetd)

I use static network at work.
Followed this link to create my network service.


vim /etc/conf.d/network
vim /etc/systemd/system/network.service

# systemctl status network
# systemctl enable network.service

# systemctl status syslog-ng
# systemctl enable syslog-ng.service

be aware that cron is cronie !


systemctl status crond.service
systemctl enable cronie.service

systemctl status avahi-daemon
systemctl enable avahi-daemon.service

dbus was already enabled


systemctl status dbus

be aware that cupsd is cups


systemctl status cupsd
systemctl enable cups.service

and finally


systemctl status xinetd
systemctl enable xinetd.service

It was simplest than converted from grub to grub2 !

Tag(s): archlinux, systemd
    Tag: archlinux, systemd
  • 2 comments
Aug
22
2012
ebalaskas: How i converted to…
Posted by ebalaskas timeline at 11:08:47 in microblogging

identica.pngHow i converted to #systemd http://ur1.ca/a0dnc #archlinux

from Updates from ebalaskas on Identi.ca!

Aug
07
2012
ebalaskas: i’ve just wrote a…
Posted by ebalaskas timeline at 11:54:47 in microblogging

identica.pngi’ve just wrote a small howto use #gdisk for creating #GPT in #linux with screenshots: http://ur1.ca/9wpqq

from Updates from ebalaskas on Identi.ca!

Aug
07
2012
ebalaskas: How i upgrade my…
Posted by ebalaskas timeline at 08:06:04 in microblogging

identica.pngHow i upgrade my #archlinux : #pacman -Syuvw and when i've read every news in archlinux.org #pacman -Suv

from Updates from ebalaskas on Identi.ca!

Aug
06
2012
ebalaskas: Long Range ZIP …
Posted by ebalaskas timeline at 10:30:49 in microblogging

identica.pngLong Range ZIP http://ur1.ca/9wj9b http://ur1.ca/9wj9c by Con Kolivas

from Updates from ebalaskas on Identi.ca!

Aug
06
2012
ebalaskas: An updated installation guide…
Posted by ebalaskas timeline at 05:04:47 in microblogging

identica.pngAn updated installation guide with screenshots based on the new installation media 2012.08.04 http://lnkd.in/i_aHHy

from Updates from ebalaskas on Identi.ca!

Aug
05
2012
Install Archlinux with media 2012.08.04
Posted by ebal at 13:11:04 in planet_ellak, planet_Sysadmin

New installation guide, with screenshots,

for Arch Linux based on installation media 2012.08.04

Archlinux NetInstall based on media 2012.08.04

This guide doesnt use any automate script or menu installer.

Tag(s): archlinux
    Tag: archlinux
Aug
01
2012
ebalaskas: Kashyap Chamarthy presentation/demo notes…
Posted by ebalaskas timeline at 09:51:12 in microblogging

identica.pngKashyap Chamarthy presentation/demo notes on kvm virt http://goo.gl/514Ji #openkvm

from Updates from ebalaskas on Identi.ca!

Aug
01
2012
ebalaskas: Using #firefox on my…
Posted by ebalaskas timeline at 07:32:13 in microblogging

identica.pngUsing #firefox on my #armv6 #android.No its true http://ur1.ca/9v6e0

from Updates from ebalaskas on Identi.ca!

  -  

Search

Admin area

  • Login

Categories

  • blog
  • wiki
  • pirsynd
  • midori
  • books
  • archlinux
  • movies
  • xfce
  • code
  • beer
  • planet_ellak
  • planet_Sysadmin
  • microblogging
  • UH572
  • KoboGlo
  • planet_fsfe

Archives

  • 2025
    • April
    • March
    • February
  • 2024
    • November
    • October
    • August
    • April
    • March
  • 2023
    • May
    • April
  • 2022
    • November
    • October
    • August
    • February
  • 2021
    • November
    • July
    • June
    • May
    • April
    • March
    • February
  • 2020
    • December
    • November
    • September
    • August
    • June
    • May
    • April
    • March
    • January
  • 2019
    • December
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2018
    • December
    • November
    • October
    • September
    • August
    • June
    • May
    • April
    • March
    • February
    • January
  • 2017
    • December
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2016
    • December
    • November
    • October
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2015
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • January
  • 2014
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2013
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2012
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2011
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2010
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
  • 2009
    • December
    • November
    • October
    • September
    • August
    • July
    • June
    • May
    • April
    • March
    • February
    • January
Ευάγγελος.Μπαλάσκας.gr

License GNU FDL 1.3 - CC BY-SA 3.0