Max Bruning’s course in Berlin, Germany

I’m bursting with envy… I do wish that one day we could have similar classes in my country.

Posted on August 12, 2009 at 12:00 pm by sergeyt · Permalink · Leave a comment
In: Solaris

Faster ::memstat

A new updated ::memstat mdb command is coming to Solaris. Read more details here. In short, the expected speedup ranges from 13X up to 500X in the best cases, so if you’re sitting behind M9000 you’ll certainly praise it.

Posted on August 12, 2009 at 11:25 am by sergeyt · Permalink · Leave a comment
In: Solaris

Two weeks under the sun and the crystal clear sea

It’s now just a one week before my holidays and I returned back to Moscow to avoid last minute preparation hassle and to pack my stuff neatly and in accurate manner. Since I’ll be traveling with my wife, she is in her fifth month, and a 3 years-old son, there won’t be as many as usual sightseeing trips around the country. But still we’re panning a few:

We spent two weeks last summer in South Dalmatia region of Croatia and were endlessly charmed with its virginal beauty and the spirit of the ages so we decided to return and to enjoy this lovely country once again.

Posted on August 10, 2009 at 1:54 pm by sergeyt · Permalink · Leave a comment
In: Life

Is 6320 array ready disabled?

If you like me have to deal with Sun StorEdge 6320 array, I bet that at least once in your life you’ve seen it reporting that some of its disk are in “ready disabled” state. When I saw it for the very fist time I scratched my head extensively and the only remedy reported on sunsolve was to recreate the whole volume from the ground with .vol init fast command. Note, that the dot commands are only available to the authorized personnel and could be activated by issuing “sun” command from the cli. It asks for a password, so if you know nothing about it, obviously you’re not allowed to use it.
So lets take a look at how it looks like from the console:

T4:/:<231>fru stat d
DISK    STATUS   STATE       ROLE        PORT1      PORT2      TEMP  VOLUME
------  -------  ----------  ----------  ---------  ---------  ----  ------
u1d01   ready    disabled    data disk   ready      ready      23    T4_pool_0
u1d02   ready    disabled    data disk   ready      ready      26    T4_pool_0
u1d03   ready    disabled    data disk   ready      ready      23    T4_pool_0
u1d04   ready    disabled    data disk   ready      ready      27    T4_pool_0
u1d05   ready    disabled    data disk   ready      ready      23    T4_pool_0
u1d06   ready    disabled    data disk   ready      ready      23    T4_pool_0

I found that the only way to cure it is by unmounting the volume, deleting all slices followed by volume abolition. But just before that, don’t forget to save the geometry of your slices to recreate them lately using the same size/offset and hence keep your data intact. Saving the output from “lun map list” is also a good idea.

T4:/:<232> volslice list -v T4_pool_0
Slice         Slice Num     Start Blk     Size Blks     Capacity      Volume
T4_L00       0             0             536883200      256.005 GB   T4_pool_0
T4_L01       2             536883200     536883200      256.005 GB   T4_pool_0
T4_L02       3             1073766400    268451840      128.007 GB   T4_pool_0
T4_L03       4             1342218240    89415680        42.636 GB   T4_pool_0
-             -             1431633920    6400             3.125 MB  T4_pool_0

T4:/:<233>vol unmount T4_pool_0
T4:/:<234>volslice remove -v T4_pool_0
T4:/:<235>vol remove T4_pool_0
WARNING - The volume and any slices on it will be deleted.
Continue ? [N]: Y

Lets take a look at our disks now:

T4:/:<236>fru stat d
DISK    STATUS   STATE       ROLE        PORT1      PORT2      TEMP  VOLUME
------  -------  ----------  ----------  ---------  ---------  ----  ------
u1d01   ready    enabled     unassigned  ready      ready      22    -
u1d02   ready    enabled     unassigned  ready      ready      25    -
u1d03   ready    enabled     unassigned  ready      ready      22    -
u1d04   ready    enabled     unassigned  ready      ready      25    -
u1d05   ready    enabled     unassigned  ready      ready      22    -
u1d06   ready    enabled     unassigned  ready      ready      21    -

See, they’re all “ready enabled” but unassigned. All we have to do now is to build our volume again using the information we smartly backed up beforehand:

T4:/:<237>vol add T4_pool_0 data u1d01-6 raid 5
T4:/:<238>volslice create T4_00 -s 0 -z 256GB T4_pool_0
T4:/:<239>volslice create T4_01 -s 536883200 -z 256GB T4_pool_0
T4:/:<240>volslice create T4_02 -s 1073766400 -z 128GB T4_pool_0
T4:/:<241>volslice create T4_03 -s 1342218240 -z 42.639GB T4_pool_0

T4:/:<242>volslice list -v T4_pool_0
Slice         Slice Num     Start Blk     Size Blks     Capacity      Volume
T4_00        0             0             536883200      256.005 GB   T4_pool_0
T4_01        2             536883200     536883200      256.005 GB   T4_pool_0
T4_02        3             1073766400    268451840      128.007 GB   T4_pool_0
T4_03        4             1342218240    89415680        42.636 GB   T4_pool_0
-             -             1431633920    6400             3.125 MB  T4_pool_0

Everything looks good and we could proceed with the final step:

T4:/:<243>sun
Password: 
sun: commands enabled
T4:/:<244>.vol init T4_pool_0 fast
WARNING - Existing volume data won't be changed.
Continue ? [N]: Y

At this stage we’re ready to configure lun mappings, permissions and mount the volume.

Posted on August 5, 2009 at 11:21 am by sergeyt · Permalink · 2 Comments
In: Sun

MPxIO and DMP

It’s highly recommended to set dmp_fast_recovery to off if you use DMP over MPxIO.

# vxdmpadm settune dmp_fast_recovery=off

For more details refer to the official document

Posted on August 4, 2009 at 3:27 pm by sergeyt · Permalink · Leave a comment
In: Veritas

Why bother, Amazon?!

Two days ago I, as many out there, received an email from Amazon with an offer inside to make a pre-order for upcoming Snow Leopard. Gee whiz, I’d love to do that, thank you Amazon! But… Hey… Stop… I live in a country you don’t ship CDs/DVDs to. With a faint hope they’d changed something I double checked and found, to no surprise, a usual warning saying no luck for me. I can accept and understand that you don’t deliver to some countries but what I totally refuse to size up is the purpose of such emails when it’s well known in advance they will be futile.

Posted on August 4, 2009 at 2:13 pm by sergeyt · Permalink · Leave a comment
In: Life

Vyazemy on Sunday

It has become a good tradition to visit a new place on Saturday/Sunday and the last weekend wasn’t an exception from this pleasant rule. Instead of driving for hours this time we went to a place that was just around the corner – country estate Vyazemy. I’m not going to retell the history of this beautiful place since there are a lot of more coherent information in the Internet. Just a general info that Vyazemy has been known since 16th century as the last stop before Moscow and in 1584 it was presented by Fedor I Ioanovich to his brother in law Boris Godunov. In 1694 Peter I granted it to Boris Golitsyn but it was almost 100 years later, in 1784, when Nikolay Golitsyn finished the main building and the park. In 1812 Kutuzov and later Napoleon also stayed there.
During the last 10 or even more years it was under a reconstruction but recently the refurbishment had been completed and the place again appeared in its renovated beauty. The cathedral, the belfry and the main building with two outhouses look just glorious. There is a nice park and a boat-house with generous prices for those who want to enjoy the lake. But, in my opinion, the main point of interest, is the exhibition that is held inside the main building. I could hardly pick up the right words to express how truly it captivating is with its creaking parquet whilst you move from one room to another, the ancient decorations and the furniture and what was the most exciting is the feeling that the master of the house was somewhere around and just left his property for a second. So if you’re passing by Vyazemy on your way home to Moscow or in the opposite direction to Kubinka or Zvenigorod I encourage you to stop for a while and experience it by yourself. I assure you that you won’t regret!

Posted on August 4, 2009 at 12:25 pm by sergeyt · Permalink · Leave a comment
In: Life

Few photos from Nizhniy Novgorod

Finally I had a chance to sit behind my laptop to upload several photos I took during a short trip to Nizhniy Novgorod.

Posted on August 2, 2009 at 11:26 pm by sergeyt · Permalink · Leave a comment
In: Life

RLE and SL500

As I predicted in my previous post, you could never be 100% sure about this library, and unfortunately I was right. This time I had a weird issue when two of four tape drives (0,2,2,9 and 0,2,3,9) in the DEM were reported as inoperable whilst the other two were fine. But when I swapped the faulty and the healthy, they just changed their roles, so the problem persisted with the slots and the drives were actually fine. So replacing RLE card was in fact a logical decision because the drives in DEM are plugged into it. The truth is, with SL500 even the most obvious solution could be only the very first step towards a complete resolution. In my situation the ramification is the following:
– RLM;
– RLC;
– Cables that connects RLE and RLM;

Pick one and make a bet!

Posted on July 28, 2009 at 8:49 pm by sergeyt · Permalink · Leave a comment
In: Sun

Volokolamsk and Yaropolets

Just a few photos from the exciting trip we did last saturday to Vlokolamsk and Yaropolets. I always loved old, small but very magnetic places like these two where you could just forget about bustling life’s current we’re going with rapidly into nowhere.

Posted on July 27, 2009 at 4:28 pm by sergeyt · Permalink · Leave a comment
In: Life