Devam Ediyor

Microproject #1

This very small project has three items:

a) Fix a small bug in space_ctl, our LVM script. If you remember, space_ctl tried to balance load a bit by selecting the physical volume that had less filesystems in it. In general, it works well, however I've catched it trying to select a PV that didn't belong to extra_space (our volume group). Check this out:

/usr/local/sbin/space_ctl add /torrents3 50

Checking existing LVs:

2 in /dev/sdb1

6 in /dev/sdc1

2 in /dev/sdd1

Selected /dev/sda4 for new LV

Is there enough space in /dev/sda4: yes

Physical Volume "/dev/sda4" not found in Volume Group "extra_space"

error: Unable to create volume!

/torrents3 not found, something went wrong creating user data

directory, can't continue.

There /dev/sda4 would be a PV, but it was just created (manually, after a disk replacement) and not yet added to extra_space.

So job (one liner): Change space_ctl so that it makes the selection only from the actually available PV.

b) This is about IRSSI, but not about irssi_ctl. There's one IRSSI plugin that has a config file which contains, among other things, user entered strings. For some reason, if the string contains non-ASCII characters, the plugin stops loading. Probably a Perl problem, but who knows. The job here is figure it out and fix this plugin (which you didn't write). I believe it this is easy.

c) Another issue related to IRSSI. The previously mentioned plugin, once loaded, listens to a TCP port for stuff. You changed it some time ago so that the port was picked randomly I believe. It seems however that if the port is in use the plugin will not fail - it just doesn't work (i.e. IRSSI is loaded but the plugin does nothing). Job: Change it so it tries until it can find a port in the selected range.

Beceriler: Perl

Daha fazlasını görün: unable to find a job, the string problem, reason for job change, 4 tries, PV, microproject, lv, issue checking, loaded plugin, unable load user, perl check directory, small project perl, create local user script, select directory perl, LVM, fix tcp, tcp directory, perl directory select, directory select perl, liner, perl select file directory, perl script select data, config file perl, perl file select, ascii tcp

İşveren Hakkında:
( 150 değerlendirme ) Madrid, Spain

Proje NO: #4406275

Seçilen:

damirmarkovic

Hired by the Employer

4 gün içinde 100$ USD
(37 Değerlendirme)
4.9