After playing with JFS for a while, I finally decided to bite the bullet and migrate my system over the holidays to a big new disk using JFS and LVM. In the process of doing this I encountered the following bizarre bug. As root, copy any directory tree with directories that have a uid/gid other than root (things in /home for example) into the new JFS filesystem. Things I've tried: "cp -a <dir> <jfs_dir>" and "tar cf - <dir> | (cd <jfs_dir> && tar xf - --preserve --same-owner)". Listing the JFS directory verifies that the ownership of the directories was correctly copied. Now unmount the fs and remount it. Now the uid/gid of all directories is root! Regular file ownership survives the unmount/remount. The bug is easily reproducible, and doesn't require use of LVM.
If you use chown to explicitly set ownership (to something other than root), this will be correctly preserved through the remounting. I'm curious if anyone else can reproduce this error, or if it's just a "personal problem". I've already reported it (#2535). Neil Carlson <[EMAIL PROTECTED]> _______________________________________________ Jfs-discussion mailing list [EMAIL PROTECTED] http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion
