• Compartilhar
  • ?
  • Perfis ▼
  • Comunidades ▼
  • Aplicativos ▼

Blogs

  • Meus Blogs
  • Blogs Públicos
  • Minhas Atualizações

AIX Down Under

  • Efetue login para participar

SOBRE ESTE BLOG

Anthony English is an independent contractor who solves expensive problems for businesses running IBM Power Systems. He has written extensively about AIX and has been recognised for his contributions and thought leadership by being named an IBM Champion for Power Systems.
  • Facebook
  • Twitter
  • Google
  • LinkedIn
  • RSS

Archive

  • dezembro de 2016
  • abril de 2016
  • novembro de 2015
  • outubro de 2015
  • setembro de 2015
  • agosto de 2015
  • julho de 2015
  • dezembro de 2013
  • novembro de 2013
  • junho de 2013
  • março de 2013
  • fevereiro de 2013
  • janeiro de 2013
  • dezembro de 2012
  • novembro de 2012
  • outubro de 2012
  • setembro de 2012
  • agosto de 2012
  • julho de 2012
  • junho de 2012
  • abril de 2012
  • março de 2012
  • fevereiro de 2012
  • janeiro de 2012
  • dezembro de 2011
  • novembro de 2011
  • outubro de 2011
  • setembro de 2011
  • agosto de 2011
  • julho de 2011
  • junho de 2011
  • maio de 2011
  • abril de 2011
  • março de 2011
  • fevereiro de 2011
  • janeiro de 2011
  • dezembro de 2010
  • novembro de 2010
  • outubro de 2010
  • setembro de 2010
  • agosto de 2010
  • julho de 2010
  • junho de 2010
  • maio de 2010

Marcações

ENCONTRE-NOS NO FACEBOOK

TODAS AS PUBLICAÇÕES
  • Classificar por:
  • Data
  • Título
  • Curtir
  • Comentários
  • Visualizações ▼

Show disk size with getconf DISK_SIZE /dev/hdisk0

AnthonyEnglish 270000RKFN | | Comments (6) | Visits (123865)

Tweet
Give bootinfo the boot If you want to get the size of a disk (virtual or physical), you can use the AIX getconf command .   getconf DISK_SIZE /dev/hdisk0 140013     The size is reported in MB, so the disk above is a 140 GB disk. You could use the bootinfo -s, but that command is  deprecated!   so I'm not even going to give you a link to its man pages. Maybe you're not exactly sure what "deprecated" means, but it sounds bad, doesn't it? According to Wikipedia , "deprecated" derives from... [More]

Marcações:  mb size lsdev lspv volume_group getconf aix gb deprecated disk "lspv_size" vios bootinfo san physical lun

UPDATED: Load ISO images via VIO server and AIX

AnthonyEnglish 270000RKFN | | Comments (18) | Visits (71304)

Tweet
  Updated 28 January 2011 A few notes and clarifications :       What I call the Virtual Media Library is often also called the Virtual Media Repositor y (VMR). IBM documentation uses both terms. the syntax for creating the virtual optical device was incorrect. Details within the body of the post below. You may also be interested in an article of mine in the IBM Systems Magazine on the Virtual Media Library: Media Release - Keep software and OS backups handy with VIOS virtual media library       Using ISO... [More]

Marcações:  recovery dr mkdvd mkcd devices virtual vmlibrary mksysb mkvdev vio file-backed nim disaster mkrep loadopt media aix

How to remove empty directories (rmdir -r?)

AnthonyEnglish 270000RKFN | | Comments (3) | Visits (62558)

Tweet
Someone asked me to remove all empty directories in a particular path.   Option 1: rm -r You can remove ALL directories and all files using  rm -r You will end up with a nice clean system that way, and a new line on your resumé explaining why you left your job at short notice. DON'T TRY THIS AT WORK! For that matter, don't try any of these "solutions" until you've tried them somewhere which doesn't leave you wishing you'd never heard of AIX Down Under . Whenever I run any command to remove files or directories, I waste two seconds... [More]

Marcações:  mkdirhier mkdir cleanup remove empty_directory yuk rmdir directory

List file systems in a volume group: lsvgfs

AnthonyEnglish 270000RKFN | | Comment (1) | Visits (59841)

Tweet
If you've ever needed to list the file systems in a volume group, you've probably done something like this: <!-- @page { margin: 2cm } P { margin-bottom: 0.21cm } --> <!-- @page { margin: 2cm } P { margin-bottom: 0.21cm } --> lsvg -l rootvg | awk '{ print $NF }' You would then need to strip out the header line and any logical volumes not... [More]

Marcações:  systems list aix awk paste cut volumes lvm lsvgfs putty logical edit lv file

Understanding AIX levels

AnthonyEnglish 270000RKFN | | Visits (59043)

Tweet
What do all those numbers mean on oslevel -s? If you're looking for some guidance on understanding exactly what level of AIX you're running, you may like to read my article in the IBM Systems Magazine on  Understanding AIX versions . It answers questions such as: What's a TL? What's a Service Pack? When you run oslevel -s , what do all the numbers mean? Should you run a migration or a smitty update_all? What's the difference between applying and committing updates? Why does my oslevel go backwards after installing new software? Here's an... [More]

Marcações:  sp tl release commit upgrade aix technology_level migration fileset reject service_pack oslevel apply patch update

UPDATED: Migration to AIX 7.1 in 35 minutes

AnthonyEnglish 270000RKFN | | Comments (5) | Visits (48730)

Tweet
Virtually converted to AIX 7 I just did my first migration of an LPAR to AIX 7.1. I chose to migrate my AIX 6.1 NIM server. I first downloaded AIX 7.1 from the Entitled Software Support web site . I copied the two ISO images to the Virtual Media Library on the VIO server, and I broadly followed the procedure outlined by my compatriot Chris Gibson in his article AIX Migration with File-Backed VIOS Devices . I gave the two ISO images shorter names when I copied them into /var/vio/VMLibrary. You can also rename them using the VIO server mkvopt or... [More]

Marcações:  vios virtual_media installation upgrade file_backed power aix download vmlibrary migration vio_server iso

Remove a single failed path (without spitting the dummy)

AnthonyEnglish 270000RKFN | | Comment (1) | Visits (47044)

Tweet
I noticed that the VIO server (VIOS) error log was reporting some failed paths for LUNs connecting to the SAN. The VIOS command errlog -ls (the equivalent of the AIX command errpt -a ) showed errors on the Fibre Channel adapter fscsi2: Diagnostic Analysis Diagnostic Log sequence number: 1126130 Resource tested:        fscsi2 Menu Number:            2603902 Description: Error Log Analysis has detected multiple communication errors.  These errors can be caused by attached devices, a switch, a hub, or a SCSI-to-FC convertor. If connected to... [More]

Marcações:  pdev parent device rmpath lspath cfgmgr vios aix cfgdev dev connection odm

UPDATED: Grow your rootvg on the fly (from 6.1 TL 4)

AnthonyEnglish 270000RKFN | | Comments (13) | Visits (44182)

Tweet
There are lots of good reasons for having spare disk for rootvg, as I looked at in the post make way for rootvg . With virtual disks you can resize your volume group on the fly: Increase rootvg dynamically If your rootvg “disk” is actually virtual, such as a SAN LUN or a logical volume on the VIO server, then it usually can be expanded on the SAN (or using   extendlv   on the VIOS) and then recognised on the AIX LPAR using the   -g   flag of the   chvg command : chvg -g rootvg Note: this is supported for rootvg and... [More]

Marcações:  disk growth chvg resize aix spare volume_group backend lun 7.1 extendlv 6.1 5.3 rootvg san

Sizing up your file system space (and your worth)

AnthonyEnglish 270000RKFN | | Comments (8) | Visits (43409)

Tweet
YOUR TIME IS PRECIOUS! When you need to increase a file system, you can use our old friend smitty. But stepping through the SMIT menus could take a good 3 seconds (at least!) And as a good AIX guru, your time is precious. In a perfect world AIX gurus like you should charge your time by the nanosecond! (Just go tell your boss that the bloke who writes AIX Down Under said so.) Alas, the world is not perfect, as you may have discovered after that friendly chat with the boss. Even so, you can save a few seconds when you have to increase a file... [More]

Marcações:  system decrease jfs2 disk nanoseconds guru chfs gigabyte lv space logical_volume increase aix jfs precious block_size file

UPDATED: Long user names in AIX

AnthonyEnglish 270000RKFN | | Comments (3) | Visits (42177)

Tweet
  User names on AIX used to be restricted to eight characters. That's still the default setting but since AIX 5.3 you can increase the length up to an amazing 256 characters, if users really want to spend the morning logging in.   You can view the current maximum login name using: lsattr –El sys0 | grep max_logname Update: I incorrectly had listed the parameter as max_login. The correct parameter is max_logname. Thanks to jabber44 for the correction. or via smit System Environments -> Change / Show Characteristics of... [More]

Marcações:  login long names user max_logname find cut aix permission login_name_max paste truncate chown who tar putty
  • Mostrar:
  • 10
  • 20
  • 30
  • Anterior
  • Avançar
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19