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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert jfs to jfs2 and kernel 32bit to 64bit 1

Status
Not open for further replies.

Surfeur

Technical User
Oct 12, 2001
14
CZ
Hi to all.
I have only a short - hope not totally dummy - guestion. There is a productive system on p630 in cluster with AIX 5.2 with 32bit kernel and jfs file systems there. I need to convert this setting to the 64bit kernel and jfs2. There is a still running system of production - the break is possible only on Sunday. Has somebody some expiriencies with the shortiest and the easiest way to convert kernel and file systems?

Greetings, Vladimir
 
There is no procedure to convert JFS to JFS2. But you can upgrade the kernel from 32 to 64 bit.
Here is the procedure.
You must have bos.64bit fileset installed on the system. Run,

# lslpp -l bos.64bit
Fileset Level State Type Description (Uninstaller)
----------------------------------------------------------------------------
bos.64bit 5.1.0.50 C F Base Operating System 64 bit Runtime


Hardware required

You must have 64-bit hardware to run 64-bit applications. As root run,

# bootinfo -y
64

If you get a output of 64 than the machine's hardware architecture is 64-bit.

Changing Kernel to 64-bit

# ln -sf /usr/lib/boot/unix_64 /unix
# ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
# lslv -m hd5
hd5:N/A
LP PP1 PV1 PP2 PV2 PP3 PV3
0001 0001 hdisk0

# bosboot -ad /dev/<ipldevice>
# shutdown -Fr

When the system is up, run,

# bootinfo -K
64
-------------------------------------------------------------
One way to convert the JFS files to JFS2 is 1.Backup the specific jfs file system by using any backup utility
2.create jfs2 type file systems correspondingly
3.restore the data to jfs2 file systems by using backups taken earlier

Bye


 
:) test your backups then...

Mike

"Deliver me from the bane of civilised life; teddy bear envy."

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

 
as adm... wisely said, there's no converter procedure for JFS to JFS2 but a backup from a JFS to a JFS2 filesystem.
Keep in mind JFS2 will be very convenient if you have filesystems with bunch of files, continuely searched and changed in number and dimensions.
There's a debate about the use of concurrent I/O mount option if you use a DB like Oracle, some tests say it's very useful some other say not ....
Keep in mind JFS2 works better with a 64 bit kernel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top