IC SunsetThe developerWorks Connections platform will be sunset on December 31, 2019. On January 1, 2020, this blog will no longer be available. More details available on our FAQ.

Comments (9)
  • Add a Comment
  • Edit
  • More Actions v
  • Quarantine this Entry

Comments (9)

josephdizon commented Mar 9 2017 Conversation Permalink

Hi Mr Gibson, thanks for these notes. One thing I want to ask if there is a way to force the block size to change when the alt_disk_copy -T command recreates the filesystems. I ran the command and found three filesystems which kept its block size as 512 instead of converting to 4096. I had to manually recreate these filesystems so I could restore the mksysb onto a Power8 server.

cggibbo commented Mar 9 2017 Conversation Permalink

Yes, use a custom image.data file and specify with -i. Similar to what I did here, http://www.ibmsystemsmag.com/aix/tipstechniques/Migration/nimadm_mksysb/, with nimadm.

NagendraNaidu commented July 31 2015 Comment Permalink

Hi Chris,

I have servers with JFS file systems with 6.1.9.4, Can i convert JFS to JFS2 and also perform upgrade at the same time. I mean can i include -T in the same command which i use for SP upgrade.
Or
Can i upgrade current rootvg then take altinst_rootvg by converting JFS to JFS2 then boot from altinst_rootvg. Will this have any issue.

I'm basically trying to avoid taking down time twice or two boot process.

Thanks in Advance.

cggibbo commented Oct 30 2012 Comment Permalink

Hi Mike, You are correct. AIX 5.3 doesn't have the tools to convert to JFS2. The approach you mention is exactly what this chap did: http://aixblogs.blogspot.com.au/2009/03/jfs-to-jfs2-conversion-for-rootvg.html Seemed to work for him. However, I'm not endorsing it. As far as I know that method is not supported by IBM. I recommend the steps I included in this recent article: http://www.ibm.com/developerworks/aix/library/au-aix-nimadm/index.html Under this section "Considerations when migrating to AIX 7.1 (or 6.1)" - Do you have JFS file systems in rootvg?. It's a longer process but one that employs known & supported methods. Cheers. Chris

MikeScheerer commented Oct 30 2012 Comment Permalink

Hi Chris, As you state that the -T switch for the alt_disk_copy was only introduced in AIX 6100-04, would I be correct that this method cannot be used to convert an AIX 5.3 jfs rootvg filesystem to an AIX 5.3 jfs2 filesystem? Presumably my best option to convert an AIX 5.3 rootvg will be to modify the files bosinst.data, image.data and /etc/filesystems manually to reflect JFS2 filesystems with the modified and additional JFS2 stanza's and then perform a mksysb with the -i option (to suppress the mkszfile) which could then be restored and SHOULD create the required JFS2 version of the rootvg? Thanks in anticipation Mike

cggibbo commented Aug 15 2012 Comment Permalink

Hi, are sure it's still running. Do you see disk I/O activity on the system and/or processes associated with alt_disk_copy still running? Just out curiosity, what are your disk queue depths set to? Can you please send me a screen shot from topas/nmon while the process is running. Anything in the AIX error report. Can you send me an email with the output from the command please? You can reach me at cg@gibsonnet.net. Cheers. Chris

Gobinath commented Aug 13 2012 Comment Permalink

Dear Chris, Sorry for the delay.... That day i have cancelled the task...I am doing the same today....Its still running more than a hour. Please find the below output. # alt_disk_copy -d "hdisk2 hdisk3" -T ; date Source boot disk is: hdisk0 jfs2j2: Current data file /image.data moved to /image.data.jfs2j2.save.7471610. jfs2j2: Creating new data file (/image.data). jfs2j2: Converting filesystems in data file (/image.data) from jfs to jfs2. jfs2j2: Converted data file (/image.data) moved to /tmp/image.data.conv.8716468. jfs2j2: Cleaning up. jfs2j2: Moving previous data file /image.data.jfs2j2.save.7471610 to IDFILE. jfs2j2: Successfully completed converting image.data to jfs2. Checking disk sizes. Creating cloned rootvg volume group and associated logical volumes. Creating logical volume alt_hd5 Creating logical volume alt_hd6 Creating logical volume alt_hd8 Creating logical volume alt_hd4 Creating logical volume alt_hd2 Creating logical volume alt_hd9var Creating logical volume alt_hd3 Creating logical volume alt_hd1 Creating logical volume alt_locallv Creating logical volume alt_hd7 Creating logical volume alt_hd10opt Creating logical volume alt_lv00 Creating logical volume alt_hd11admin Creating logical volume alt_livedump Creating /alt_inst/ file system. /alt_inst filesystem not converted. Small inode extents are already enabled. Creating /alt_inst/admin file system. /alt_inst/admin filesystem not converted. Small inode extents are already enabled. Creating /alt_inst/home file system. /alt_inst/home filesystem not converted. Small inode extents are already enabled. Creating /alt_inst/local file system. /alt_inst/local filesystem not converted. Small inode extents are already enabled. Creating /alt_inst/opt file system. /alt_inst/opt filesystem not converted. Small inode extents are already enabled. Creating /alt_inst/tmp file system. /alt_inst/tmp filesystem not converted. Small inode extents are already enabled. Creating /alt_inst/usr file system. /alt_inst/usr filesystem not converted. Small inode extents are already enabled. Creating /alt_inst/var file system. /alt_inst/var filesystem not converted. Small inode extents are already enabled. Creating /alt_inst/var/adm/ras/livedump file system. /alt_inst/var/adm/ras/livedump filesystem not converted. Small inode extents are already enabled. Generating a list of files for backup and restore into the alternate file system...

cggibbo commented July 16 2012 Comment Permalink

Hi Gobinath, 3 hours! Something is wrong. It should not take that long. A few minutes at most (based on my experience). Can you send me an email with the output from the command please? You can reach me at cg@gibsonnet.net. Cheers. Chris

Gobinath commented July 16 2012 Comment Permalink

Dear chris_gibson, The notes is very useful. But One doubt. How long it will take for jfs to jfs2 conversion? I tested in one of my test machine. Its running more than 3 hrs. Please let me know. FYI: I have migrated from 5.3 TL11 to 6.1 TL07 using media. then trying to convert jfs to jfs2. which is running more than 3 hrs. Thanks in Advance.