Having reshaped a RAID5 twice of as many weeks, I’ve found that adding a 2TB drive takes a good 36 hours, which is kind of frustrating.
After a bit of searching, I discovered that there is a setting in /sys/block/md*/md/stripe_cache_size which by default is set to 256. This is enough for normal day operations, but [...]
Ones in a while one would actually like to know if the result of a operation is successful.
If one does something, one would see something like:
<nds dtdversion=”3.5″ ndsversion=”8.x”>
<source>
<product version=”3.6.10.4747″>DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name=”Group” qualified-src-dn=”O=Novell\OU=groups\CN=test-manages” src-dn=”\VAULT\Novell\groups\test-manages” src-entry-id=”32931″/>
<status level=”success”></status>
</output>
</nds>
[...]
To loop through a nodeset (objects, attributes) one can use for-each.
To do this one first have to have a nodeset, in this case I’ll use a query to find a list of users:
<do-set-local-variable name=”lv_manages” scope=”policy”>
<arg-node-set>
<token-query class-name=”User” datastore=”src”>
<arg-dn>
<token-text xml:space=”preserve”>$dit.idv.user$</token-text>
</arg-dn>
<arg-match-attr name=”manager”>
<arg-value [...]
Some times one need to know if an object exist, that could be a group, container, or what ever. There is a very easy way to do this using XPath and the query processor:
<do-if>
<arg-conditions>
<and>
<if-xpath op=”true”>query:readObject($srcQueryProcessor,”,$lv_objectDN,”,”)</if-xpath>
</and>
</arg-conditions>
<arg-actions>
<do-set-local-variable name=”lv_objectExist” scope=”policy”>
<arg-string>
[...]
Just watched Horizon on BBC (Science under Attack), which was presented by Nobel Prize winner Sir Paul Nurse, who obviously must have done some remarkable work, otherwise he would probably not have received the Nobel Prize.
His argument for the whole thing is that Science is under attack, and that something must be changed [...]
I really think it’s great that Apple develop all these cool things to make the experience of using their software an really nice and relaxed experience.
But, as there is always a but in there, they absolutely silly and annoying way they chose which language one can use would be something someone should be @$!@#$!@$%@#$% [...]
There is a problem with the protocol Adium used to implement the Facebook Chat, which means that some people have problems seeing their contact (they are not there…).
As of Adium 1.4.2 this will be fixed as Adium is moving to the new protocol – or they say they are.
recent books
- Gary Gibson
- Nova War
- Adrian Tchaikovsky
- Heirs of the Blade
- Brian Herbert,Kevin J. Anderson
- Sisterhood of Dune
- Michael Cobley
- The Ascendant Stars
- Michael Cobley
- The Orphaned Worlds
- Markus Heitz
- The Revenge Of The Dwarves
- Christopher Paolini
- Inheritance
- Tom Holt
- The Better Mousetrap
- Frederick Forsyth
- The Afghan
- Terry Pratchett
- Snuff
charities
recent comments
- Balkan 2011 – Part 6 | Casper's Life on Balkan 2011 – Part 1
- Balkan 2011 – Part 5 | Casper's Life on Balkan 2011 – Part 1
- Balkan 2011 – Part 4 | Casper's Life on Balkan 2011 – Part 1
- Balkan 2011 – Part 2 | Casper's Life on Balkan 2011 – Part 3
- Balkan 2011 – Part 2 | Casper's Life on Balkan 2011 – Part 1
categories
- apple (61)
- books (5)
- chat (1)
- computers (32)
- driving (11)
- gps (7)
- graphics (1)
- hardware (18)
- howto (7)
- idm (6)
- internet (5)
- iphone (8)
- kvm (1)
- life in it's simplest form… (29)
- linux (11)
- motorbikes (20)
- music (3)
- networking (1)
- opinion (11)
- os (5)
- osx (26)
- photography (13)
- politics (8)
- programming (3)
- rant (18)
- rhel6 (1)
- science fiction (1)
- software (44)
- technology (7)
- trash (2)
- travel (20)
- tv (3)
- uncategorized (3)
- video (1)
- vmware (1)
- widget (1)
- wireless (1)
- wordpress (1)
- xen (1)
