Hi Richard, thanks for sharing your experience. I appreciate it.
If
there's no file system associated with the LV, then you can change the
LV type, without disruption, using chlv -t. If there is a file system
associated with the LV, then you must remove and recreate the FS and LV,
with the correct/desired FS type. Any data in the FS would need to be
backed up first and then restored into the new FS. This is, obviously,
disruptive and will require downtime for the FS.
Here's a couple of good links on supported methods for converting a file system from JFS to JFS2:
http://www-01.ibm.com/support/docview.wss?uid=isg3T1012988
https://www.ibm.com/developerworks/community/blogs/cgaix/entry/convert_rootvg_file_systems_to_jfs2_using_alt_disk_copy?lang=en
https://www.ibm.com/developerworks/community/blogs/cgaix/entry/convert_jfs_file_systems_to_jfs2_file_systems_with_alt_disk_copy1?lang=en
Chris,
I was dealing with the same issue, but with savevg.
The problem ended up being revealed by "lsvg -l". The data lv was listed as type "jsf2".
Since I was cloning an LPAR, it was easy enough for me to remove/create a lv with type "jfs2" and then rsync the data I needed.
Is it possible to change the type on the source LPAR from "jsf2" to "jfs2" without any downtime?
Hi
The
other day while helping some Junior admins to take an unmirrored mksysb
from a mirrored system, they were stuck with a quite similar problem,
following a procedure similar to the explained at
www-01.ibm.com/support/docview.wss?uid=isg3T1011782
The fun part it
was that modified /image.data looked right, but somehow it was breaking
the mksysb function and only backing a couple of files.
It was
not until I did a diff, that noticed, that the guy not willing to deal
with vi downloaded the file and edited on his own machine, and in the
process removed the tabs that delimeted the stanza format.