Category: Background
Shell useful tricks (basic stuff)
Nice tricks with shell, I discovered in internet darkest corners :)Brace expansion takes a list of strings separated by commas and expands those strings into separate arguments for you. The list should be enclosed by braces.# echo {1,2,3,4,5}… more »
Nokia 5530 issues with Media Library
Post completely unrelated to Solaris :>>
I do have this baby - and it rock! Nice OS, 200$, mp3 playback at the mid-range PMP device level and nice design is giving me faith to Nokia.
But today I had first issues with music librar… more »
Solaris 10 container guide
Very nice and worth-to-read document about the containers in Solaris 10, best practices and how-to`s. Definatley worth to check it here. more »
MAC address from OBP prompt
When you are Jumpstarting/JET`ing server, the first info you`ll need is the MAC address of the interface you`ll be using as primary for client. To get MAC address of the primary interface from OBP use this command: {1} ok .enet-addr 0:3:ba:d… more »
Squid log rotation with timestamp
I had a task on implementing the Squid log rotation, but with timestamps. System was on Solaris - but logadm wasn`t the chosen weapon for this task, and we moved to the squid internal capabilities on logs rotation. Only task was to add the timestamp, whi… more »
How to migrate from dying system disk to new one in Solaris
If your HDD with system is dying, you have the same HDD (in matter of size), and you`re using UFS - you could do the next steps to completly recreate this disk to a new one:
1. Check the disks (with attached new one):
# format
2. Copy the VTOC from… more »
Change failed hdd in submirror in Solaris Volume Manager (SVM)
I had an hdd failed in SVM. Well, nothing special - everyone met this situation, when output like this on prod box scare you as hell: # iostat -En ... c1t0d0 Soft Errors: 607 Hard Errors: 122 Transport Errors: 130 Vend… more »