On Wed, 2008-09-10 at 17:36 -0400, Daniel Savard wrote: > I am having a strange problem. I am running my Linux on the Gentoo > LiveCD 2008.0 and after creating a Logical Volume (LVM2) and making the > JFS filesystem on it, I ran a fsck and it failed. Here is my terminal > session: > > ------------------------------------------------------------------------ > > livecd ~ # lvcreate --autobackup y --size 20G --name vicepa rootvg > Logical volume "vicepa" created > livecd ~ # mkfs.jfs /dev/rootvg/vicepa > mkfs.jfs version 1.1.8, 03-May-2005 > Warning! All data on device /dev/rootvg/vicepa will be lost! > > Continue? (Y/N) y > \ > > Format completed successfully. > > 20971520 kilobytes total disk space. > livecd ~ # df > Filesystem 1K-blocks Used Available Use% Mounted on > tmpfs 1037544 25108 1012436 3% / > /dev/hda 81442 81442 0 100% /mnt/cdrom > /dev/loop0 55424 55424 0 100% /mnt/livecd > udev 10240 216 10024 3% /dev > tmpfs 1037544 1852 1035692 > 1% /mnt/livecd/lib/firmware > tmpfs 1037544 0 1037544 > 0% /mnt/livecd/usr/portage > livecd ~ # fsck.jfs /dev/rootvg/vicepa > fsck.jfs version 1.1.8, 03-May-2005
Ouch. I need to get gentoo to unmask a newer version. Can you emerge a more recent jfsutils and see if it helps? (I don't use the livecd, but I assume you can update a package.) That said, I'm not aware of a particular bug that was fixed, but version 1.1.8 is pretty old. > processing started: 9/10/2008 21.41.5 > Using default parameter: -p > The current device is: /dev/rootvg/vicepa > ujfs_rw_diskblocks: Input/output error > ujfs_rw_diskblocks: Input/output error > Superblock is corrupt and cannot be repaired > since both primary and secondary copies are corrupt. > > CANNOT CONTINUE. > livecd ~ # > --------------------------------------------------------------------------------- > > Someone is having an idea of what is going wrong. I am running this on > an old IBM Netfinity server with RAID adapter and 5 drives in the > physical volume viewed as a single drive. There is no amber drive light > on indicating a problem. So, I assume the hardware is properly working > here. I'm assuming that the hardware is okay, since mkfs.jfs worked. If a newer jfsutils doesn't work, could you run fsck.jfs under strace so I can see what it's trying to do? strace -o strace.out fsck.jfs /dev/rootvg/vicepa Thanks, Shaggy -- David Kleikamp IBM Linux Technology Center ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Jfs-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jfs-discussion
