Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JFS to JFS2 conversion

Status
Not open for further replies.

ranjit

Technical User
Apr 14, 2000
131
GB
Is it possible to convert a JFS filesystem to a JFS2 filesystem? If so, what is the best approach?

Thanks
 
No

You'll have to backup the filesystem contents remove the JFS filesystem and recreate it as JFS2.

Are you running a 32-bit Kernel, if so I'd give JFS2 a miss I've heard of a problem where metadata changes were registered, but data updates never hit disk so thousands of files had size=0 after reboot.

Check with IBM as this may now have been patched.

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
according to the AIX FAq

Create a mksysb and then restore rootvg with JFS2. The only requirement to use JFS2 on rootvg is that the machine be running the 64-bit kernel.
 
we are using AIX 5.2 ML06 on a H80 , 32 bit kernel , and JFS2 Filesystems.So I don't think that's a requirement...


regards,

R.
 
Hi Ranjit,

It depends on whether you are planning convert jfs of rootvg default filesystems or non-default filesystems.

For non-default filesystems.Its quite simple.
** Take the backup of the jfs filesystems.
** Create new jfs2 filesystems with new mountpoints.
** Restore and verify.
** Remove the old jfs filesystems.
** Rename mountpoints of jfs2 filesystems to original.

For rootvg default filesystems. its bit tricky. i tried on one of the test box some time one year back. However, you need to do the testing once again. Some guide lines are below.
** change kernel 32bit -->64bit
** reboot
** run mkszfile
** edit image.data file and change fstype: jfs to jfs2
** mksysb backup using existing image.data file
** finally restore mksysb


Hope its useful.

aixnag
IBM Certified Specialist - P-series AIX 5L Administration
IBM Certified Specialist - AIX V4 HACMP
IBM eServer Certified Specialist – p690 Technical Support
IBM Certified Solutions Expert - DB2 UDB V7.1 Database Administration for Unix, Linux, Windows and OS/2
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top