It looks like you wrote the disklabel for the slice to the disk or vice-versa. If you check /dev there probably isn't a /dev/ad5s* there. Try mounting /dev/ad5e instead of /dev/ad5s1e. To verify, do a bsdlabel ad5s1 to see if you have a disklabel for the slice. Otherwise you could : 1.backup you disklabel #bsdlabel /dev/ad5e > <PATH>disklabel.BAK 2. write a correct disklabel for /dev/ad5s1 #bsdlabel -w -B ad5s1 3. Edit your disklabel to be correct : a. note the size values of #bsdlabel ad5s1 b. make another backup of your saved disklabel c. edit one of the backups and change the size value to the value you got from #bsdlabel ad5s1 d. write your edited disklabel to ad5s1 #bsdlabel -R ad5s1 <PATH>disklabel.BAK This *should* return no errors. 4. try to mount ad5s1 Now this is all based on them hope that you don't have to erase the bad/sliceless disklabel on da5.
Good luck, Ruben -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Sent: Monday, June 28, 2004 11:08 AM To: [EMAIL PROTECTED] Subject: help please? corrupted hard disc - invalid super block. Hi! I have a hard disc that I think must have been set up wrong initially... It was however working fine, but at some point filled up to capacity, wherapon the next reboot it failed to mount. System is 4.8-RELEASE, Generic Kernel. Currently the disc shows: luggage# mount -r /dev/ad5s1e /mnt mount: /dev/ad5s1e on /mnt: incorrect super block luggage# disklabel -r ad5 # /dev/ad5c: type: ESDI disk: ad5s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 14593 sectors/unit: 234441585 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 234436482 0 unused 0 0 # (Cyl. 0 - 14592*) e: 234436482 0 4.2BSD 16384 16384 300 # (Cyl. 0 - 14592*) Warning, partition c doesn't cover the whole unit! Warning, An incorrect partition c may cause problems for standard system utilities luggage# fsck /dev/ad5s1e Can't open /dev/ad5s1e: Invalid argument luggage# fsck -b 32 /dev/ad5s1e Alternate super block location: 32 Can't open /dev/ad5s1e: Invalid argument luggage# file -s /dev/ad5s1e /dev/ad5s1e: can't read `/dev/ad5s1e' (Invalid argument). At this point I am stuck ... most of the "Invalid Super Block" messages I can find when searching relate to cd-roms. If I could mount the disc even read-only, I could copy the data off. Can anybody give me any clues on where to go from here? Thanks in advance, Rob _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"