Indra Satriani

I'm not a geek!

Archive for the ‘tech’ Category

Howto: Extend VDisk in HP EVA4400 and Windows 2003 Server

Software needed: Command View EVA and Diskpart.exe

After you identify which VDisk you want to extend, set the desired size in that VDisk Properties pane in HP Command View, but you need to ensure first that you have enough available storage unallocated in your EVA system.

Then wait until EVA completes the resizing process. Note: you don’t need to unpresent the VDisk from the host before resizing.

Next step is to use diskpart to extend the partition so that the operating system is able to read the new size. Details on how to use diskpart to extend a partition is described here. Just follow the steps carefully and you’re good to go.


Written by Indra Satriani

January 10, 2012 at 1:21 pm

Posted in OS, Storage, tech

Limit Email Size Per User In Exim

I’ve been searching on google for a while and found very few references regarding this, even in the exim user mailing list. Or its just me whose not lucky enough to get the answer. I finally stumbled on a post in a forum dated few years ago, explaining little script to get what I wanted to do, which hasn’t even been tested before. So I took the liberty to test that script on my working environment production. And now it worked beautifully just as I wanted.

Basically, you only need 2 steps to do this: add the code snippet; and create a file contains a list of users. Put this code inside the router section of your Exim config file:

driver = redirect
domains =
condition = ${if > \

data = :fail: message too big.

Change the domain name and default value according to your need, and if you have a line that says:

message_size_limit = 50M

in your config file, comment that line out, because this could override the value settings in the script above. Save and restart Exim.

Next is to create a /etc/messagelimit file that contains all the users you want to give different size. Example:

user1  10M
user2  20M
user3  30M

This means all the users not listed in this file will only able to send or receive maximum 5MB email include the attachment. No need to restart Exim after adding or removing user to this file. Good luck!

Written by Indra Satriani

October 14, 2011 at 6:51 pm

Posted in linux, tech

HP ProCurve 2848 OIDs

leave a comment »

Here’s some OIDs for ProCurve 2848

System Description
ProCurve J4904A Switch 2848, revision I.08.105, ROM I.08.07

5min CPU Average

Free Memory

Fan Status

Power Supply Status

Hope this helps.

Written by Indra Satriani

September 8, 2010 at 3:58 pm

Posted in Networking, tech

3COM 4200G 48-Port OIDs

with 3 comments

Here’s some of the supergay 3Com 4200G OIDs I managed to find, so you don’t need to hurt yourself in finding them. Oh and you can download the MIBs here in case you need it.

System Description
3Com Switch 4200G 48-Port Software Version 3Com OS V3.02.00s56

1 Minute CPU Average

5 Minute CPU Average

Free Memory

Power Supply

Hope this helps.

Written by Indra Satriani

September 8, 2010 at 3:44 pm

Posted in Networking, tech

Use Robocopy to Auto Backup Your Windows Machine

Robocopy, or “Robust File Copy”, is a command-line directory replication command. It has been available as part of the Windows Resource Kit starting with Windows NT 4.0, and was introduced as a standard feature of Windows Vista, Windows 7 and Windows Server 2008

— wikipedia, click here to read more on wikipedia

By using simple batch script and with the help of Windows scheduler, we can make an auto backup system for your fileserver using only simple tool which already built in on your Windows Server. The backup method is more likely an incremental backup, but of course at the first time you run the script, it will perform a full backup/mirroring your source, so i’m suggesting you to choose the most convenient time for you to run the script, especially when you have your target/backup media across the network.

Here’s the sample script

@Echo off

SET _date=%date:~-4,4%_%date:~-10,2%_%date:~-7,2%

SET _source=C:\
SET _target=\\path\to\your\target

:: /COPYALL = Copy ALL file info
:: /B = Copy files in Backup mode
:: /MIR = MIRror a directory tree

SET _options=/R:5 /W:10 /LOG:\\path\to\logfile_%_date%.txt /NFL /NDL
:: /R:n = Number of Retries on failed copies - default is 1 million
:: /W:10 = Wait time between retries - default is 30 seconds
:: /LOG:file = Output status to LOG file (overwrite existing log)
:: /NFL = No File List - don't log file names
:: /NDL = No Directory List - don't log directory names

ROBOCOPY %_source% %_target% %_opt% %_options%

Save it as a .bat file and create scheduled task to run this script.

Written by Indra Satriani

May 6, 2010 at 3:54 pm

Posted in Iseng, tech

Tagged with , ,