Nov 18, 2012

BackinTime is using a huge amount of system IO-ressources -> use LVM snapshots and just do one BackInTime Backup on the external USB

For Backup, I created a LVM snapshot each hour and let BackinTime make
a backup on an external USB disk.

But this caused the usage of very heavy system usage on the IO system of
Linux, because of the size it run also about 20 minutes.

To get a better response, I changed the tactics.

Let LVM do snapshots every hour and keep only some of them and just do
for one time a backup on the external disk with BackinTime.


For the regular snapshots I found a script in this blog.

Now I'm doing regular snapshots, mount the last snapshot on /backup
and let BackInTime do one sync to the external disk.

This reduces the IO-Load.


Backintime app and compare the difference in backups

After changing my main OS from OpenIndiana to Fedora Linux ( suspend and resume works now, most of the time -> Only when suspending in dual monitor from docking station, although just the Notebook display was active  - a resume didn't get me the X11 back. Maybe it depends although on the
network ).

I had to search for a new backup tool. In OpenIndiana I used the ZFS autosnapshot and had a lot of backups, but on Linux??


My attempt was to let a lvcreate run and create a snapshot in the
volume group. This runs as cronjob of root.

And as my users cronjob, backintime does a backup on an external USB
drive.
After creating the profile and let it run each hour, I wanted to compare the
snapshots to see the difference:


From the main window of backintime you see the button you have to select.

In the detail window you select both snapshots you like to compare and
have to push the red circled button, which was not so obvious form me.


Nov 7, 2012

NFS mount from linux to OpenIndiana ( running as KVM guest on Fedora ) failed

OpenIndiana is running as KVM guest in Fedora 17. the network uses a
DHCP local network which is translated by NAT on the KVM host.

But after creating the config file for the automounter , changing into
a NSF-mount caused a "Permission denied". 

Looking into the /var/log/messages on the NFS Server ( linux ) showed the following entry:

mountd[3493]: refused mount request from XX.XX.XX.XX for /install (/install): illegal port 1488

The problem is, that the requests from the KVM guest are translated to
ports > 1024, which Linux evaluates to insecure.
To get the directories mounted by the automounter, you have to add the
option insecure to the /etc/exports file and reexport everyhting. After this
the automount works.

OpenIndiana 151a7 is missing math.h header for gcc compilation

After changing my main OS to Fedora 17 and having running OpenIndiana
as a KVM guest, I attempted to compile some sources with the gcc 3.4.x ,
but the first problem was the missing header math.h.

After installing

pkg install math/header-math

the header was on the system and could be compiled.

Nov 6, 2012

extending Gnome workspace of Fedora 17 to two screens

After having the external screen working in Fedora 17 with the NVidia
driver, the workspace is only on the Laptop display.

I found an option here.

The setting is:

$ gsettings set org.gnome.shell.overrides workspaces-only-on-primary false

After setting this, the workspace is expanded to both screens and can be
switched. 

Fedora 17 with external DVI-Screen

The docking station has an extension for VGA and DVI, where I have an
external monitor connected.

In OpenIndiana, the NVidia Driver supported the use of the DVI to extend
the Display, but Fedore just let the Xserver crash with the nouveau driver.

Only the VGA port worked, but the display quality was bad. So I installed
the original NVidia driver. Therefore I followed the readme in the driver
package ( extract with the option -x ) and disabled the nouveau driver and
the kmod settings. After a reboot, you have to switch to the terminal and
leave XWindow-Session. ( init 3 ). Here you can start the installation, which
worked for me without problems. After this you can install the original
NVidia driver.

Today I rebooted and the Laptop screen is still the primary and the external
monitor was recognized. ( maybee the config is stored somehwere - have not tested the without the external screen. )

With the nouveau driver and VGA, the external monitor got the primary
screen, which I don't like, because I use the mouse and keyboard from a
sunray-Unit which is shared by synergy.

Nov 4, 2012

Fedora 17 leave full screen mode of virtual-machine-viewer

After I've change the main OS to Fedora ( OpenSuse 12.2 with 64 bit and
btrfs always had a kernel panic and the network nearly always scrambled the GUI screen ), I still installed the latest OpenIndiana 151a7 as a KVM
guest ( the other way round didn't work for me, because my hardware is
missing EPT support, which is necessary for Illumos )

The virtual-machine-viewer allows to switch to full screen mode, but how
do I get back from full screen mode ?

I still haven't found a key-sequence, but when you release the mouse pointer
( in my case <Ctrl left> + <Alt left> ) you can go to the middle on the upper
border of the screen and a small box appears, with sending a key sequence
to the KVM guest or leave full screen mode

changed main OS on laptop to Fedora 17 instead of OpenIndiana

This week I changed my main OS to Fedora 17 instead of OpenIndiana.

Why?

Missing some support from OI:
  • Skype was only available in a Virtualbox, but without microphone
  • Adobe has stopped developing the flashplayer
  • soapUI, was only possible via a redirect installation on a Linux box. 
  • SAP Gui is only available for Solaris SPARC
  • enigmail was not compiled since a long time for OpenIndiana/Solaris
    for an actual Thunderbird.
  • KVM support didn't work for me, because the hardware is missing EPT
    ( otherwise I would have tested using a linux as KVM guest with skype
     and the other things )
  • hibernateing OpenIndiana didn't work, because the nvidia driver is
    missing the system call ( an older version of nvidia for OpenSolaris had
    the system call :-( )
  • I have to learn again a lot of linux administration, because many
    things changed in the last >5 years, I was using mainly OpenSolaris/OpenIndiana.

But I still have OpenIndiana on Fedora 17 as a KVM guest.  There is a problem with USB, but that doesn't hurt.

What I miss already very hard is the compression of the ZSF filesystem.
Now the space is much more less, as I thought - the compression does a
good job.

If I'm using sometime a newer hardware, I would definitly try the other way
around and use OI as the main OS again.