Posts for: #Linux

DM Flakey

#computers #linux

Created: 2023-12-08 13:30

The Linux dm-flakey target is the same as the linear target except that it exhibits unreliable behaviour periodically. It’s been found useful in simulating failing devices for testing purposes.

To use it do the following:

sudo dmsetup create <name> --table "<begin-sector> <size> flakey <source-device> <offset> <period-normal> <period-faulty>"

This would create a block device under /dev/mapper/<name> which forwards IO to <source-device> for <period-normal> after which it returns IO errors for <period-fault>.

[]

Fosdem 2017 Part2

Bit of a late post, but better late than never. [FOSDEM 2017][1] was a nice time, as usual. Didn’t get to every talk I wanted to go to, but did see many interesting talks.Looking at the FOSDEM 2017 post, the first talk I had selected and actually attended was ‘Introduction to A-Frame’. A nice introductory talk about A-Frame. A-Frame being a framework for web based Virtual Reality applications. The inspector part is really neat. It allows one to edit a scene as if you are in a 3D modeler.

[]

FOSDEM 2017

This is the third year in a row that we are going to FOSDEM. Each year it was blast, and hopfully this one will be too.

Of course, the event starts with many nice Belgium beers. Looking forward to that.The talks on saturday and sunday which I will most likely go to are:

  • The Veripeditus AR Game Framework, by Dominik George / Eike Jesinghaus

    Recently I have formed an intrest in Virtual Reality. Purchased a Google Cardboard. Hope to see a bit more uses for this kind of technology.

[]

Linux Volume Manager and Kernel-Based Virtual Machines

Few months ago I started experimenting with Linux Volume Manager (LVM). Being encouraged by friends who where already using LVM and showing me how easy it could be to resize partitions, make new ones, etc.

My desktop needed reinstalling anyhow, so I figured why not try out LVM right away. Since I had no experience with LVM I let the (K)Ubuntu installer set up LVM for me. It made a /boot as the first partition with a ext2 filesystem. The rest of the disk was an LVM physical volume. This pv was added to the ‘star-destroyer-vg’ volume group. In this vg there where two logical volume created, a root lv and a swap lv.

[]