On Sat, 2004-11-20 at 20:40 +0100, Gilles Meier wrote: > Hi everybody, > > I've some problems with a JFS Partition. > Yesterday I have bought a new HDD (250 Go). > After the installation, I've created one partition, and then I have > formatted it with JFS. > Sadly, I've made a mistake : I've typed `mkfs.jfs /dev/hdd`. > Then I launch fdisk again, the partition were still here, so I think > there was no problem and formatted my hdd with the right commande > (`mkfs.jfs /dev/hdd1`). Everything goes fine, I moved my data on this > new drive. > But after the restart, the partition has disapeared.
You can mess up the partition table on disk, and the kernel won't be aware of the changes until the system is rebooted. > I've tried rescue mode with fdisk, but nothing. > Then, I try parted, and he says me : > > (parted) print > Disk geometry for /dev/hdd: 0.000-238475.179 megabytes > Disk label type: msdos > Minor Start End Type Filesystem Flags > (parted) rescue > Start? 0.000 > End? 238475.179 > Information: A jfs primary partition was found at 0.000Mb -> > 238433.211Mb. Do you want to add it to the partition table? > Yes/No/Cancel? N > Information: A jfs primary partition was found at 0.028Mb -> > 238433.238Mb. Do you want to add it to the partition table? > Yes/No/Cancel? N > (parted) > > But nor the first, nor the seconde gave results... > When I try to create them, and then run fsck.jfs, he complains : > > $ fsck.jfs /dev/hdd1 > fsck.jfs version 1.1.6, 28-Apr-2004 > processing started: 11/20/2004 14.47.52 > Using default parameter: -p > The current device is: /dev/hdd1 > Superblock is corrupt and cannot be repaired > since both primary and secondary copies are corrupt. > > CANNOT CONTINUE. > > I'm new to JFS and don't know what to try anymore, so if someone can > help me, many thanks :) As this is a new disk, it sounds like you don't have any data that needs to be preserved on this disk. I think you would do best by using fdisk or parted to completely remove any existing partitions and start over, rather than trying to preserve what is there. Reboot after creating any new partitions before trying to use them. > PS : sorry for my poor english... I understood you perfectly. :^) Good luck, Shaggy -- Dave Kleikamp IBM Linux Technology Center [EMAIL PROTECTED] _______________________________________________ Jfs-discussion mailing list [EMAIL PROTECTED] http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion
