incorrect superblock error when mounting partition

2006-02-19 Thread Dave

Hello,
   I've got a 10 gb ide drive that has critical data on one of it's 
partitions /dev/ad1e. This drive was originally gmirrored in another box it 
worked fine, it was the master drive. Now i've installed this drive as a 
slave in another 6.0 box, and now it shows up as ad1 with the partition i 
want being ad1e. I did a mount -o ro /dev/ad1e /mnt and i'm getting an error 
Incorrect superblock from mount. I then tried fsck /dev/ad1e and got the 
same error msg. These partitions were formatted with ufs2 as their 
filesystem. I then ran bsdlabel ad1 and got a printout of my label, this 
showed up which gives me hope that this data can be retrieved. An error i'm 
getting says that the c: partition does not cover the entire disk and that 
may result in utilities not working. Any help appreciated.

   Some urgency!
Thanks.
Dave.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: incorrect superblock error when mounting partition

2006-02-19 Thread Glenn Dawson

At 01:45 AM 2/19/2006, Dave wrote:

Hello,
   I've got a 10 gb ide drive that has critical data on one of it's 
partitions /dev/ad1e. This drive was originally gmirrored in 
another box it worked fine, it was the master drive. Now i've 
installed this drive as a slave in another 6.0 box, and now it 
shows up as ad1 with the partition i want being ad1e. I did a mount 
-o ro /dev/ad1e /mnt and i'm getting an error Incorrect 
superblock from mount. I then tried fsck /dev/ad1e and got the 
same error msg. These partitions were formatted with ufs2 as their 
filesystem. I then ran bsdlabel ad1 and got a printout of my label, 
this showed up which gives me hope that this data can be retrieved. 
An error i'm getting says that the c: partition does not cover the 
entire disk and that may result in utilities not working. Any help appreciated.

   Some urgency!


Are you sure you don't want ad1s1e?

Also, posting the output from the following commands would go a long 
way in helping you figure out what to do:


fdisk /dev/ad1
bsdlabel /dev/ad1
bsdlabel /dev/ad1s1

And possibly:
bsdlabel /dev/ad1s2
bsdlabel /dev/ad1s3
bsdlabel /dev/ad1s4
depending on what fdisk shows.

-Glenn


Thanks.
Dave.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: incorrect superblock error when mounting partition

2006-02-19 Thread Dave

Hello,
Thanks for your reply. Below is the requested information, and no it is 
showing ad1e not ad1s1e.

Dave.

Script started on Sun Feb 19 07:56:47 2006
[EMAIL PROTECTED]:/dev#ls ad1*
ad1 ad1a ad1b ad1c ad1d ad1e ad1f ad1g
[EMAIL PROTECTED]:/dev#fdisk /dev/ad1
*** Working on device /dev/ad1 ***
parameters extracted from in-core disklabel are:
cylinders=19386 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=19386 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
UNUSED
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
   start 0, size 5 (24 Meg), flag 80 (active)
beg: cyl 0/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63
[EMAIL PROTECTED]:/dev#bsdlabel /dev/ad1
# /dev/ad1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 a:   266240   164.2BSD 2048 16384 16648
 b:   524288   266256  swap
 c: 195410240unused0 0 # raw part, don't 
edit

 d:  7340032   7905444.2BSD 2048 16384 28552
 e:  8388608  81305764.2BSD 2048 16384 28552
 f:  2097152 165191844.2BSD 2048 16384 28552
 g:   921600 186163364.2BSD 2048 16384 57608
bsdlabel: partition c doesn't cover the whole unit!
bsdlabel: An incorrect partition c may cause problems for standard system 
utilities

[EMAIL PROTECTED]:/dev#bsdlabl el /dev/ad1s1
bsdlabel: /dev/ad1s1: No such file or directory
[EMAIL PROTECTED]:/dev#bsdlabel /dev/ad1s2
bsdlabel: /dev/ad1s2: No such file or directory
[EMAIL PROTECTED]:/dev#bsdlabel /dev/ad1s3
bsdlabel: /dev/ad1s3: No such file or directory
[EMAIL PROTECTED]:/dev#bsdlabel /dev/ad1s4
bsdlabel: /dev/ad1s4: No such file or directory
[EMAIL PROTECTED]:/dev#exit
exit

Script done on Sun Feb 19 08:02:34 2006

- Original Message - 
From: Glenn Dawson [EMAIL PROTECTED]

To: Dave [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Sent: Sunday, February 19, 2006 5:01 AM
Subject: Re: incorrect superblock error when mounting partition



At 01:45 AM 2/19/2006, Dave wrote:

Hello,
   I've got a 10 gb ide drive that has critical data on one of it's 
partitions /dev/ad1e. This drive was originally gmirrored in another box 
it worked fine, it was the master drive. Now i've installed this drive as 
a slave in another 6.0 box, and now it shows up as ad1 with the partition 
i want being ad1e. I did a mount -o ro /dev/ad1e /mnt and i'm getting an 
error Incorrect superblock from mount. I then tried fsck /dev/ad1e and 
got the same error msg. These partitions were formatted with ufs2 as 
their filesystem. I then ran bsdlabel ad1 and got a printout of my label, 
this showed up which gives me hope that this data can be retrieved. An 
error i'm getting says that the c: partition does not cover the entire 
disk and that may result in utilities not working. Any help appreciated.

   Some urgency!


Are you sure you don't want ad1s1e?

Also, posting the output from the following commands would go a long way 
in helping you figure out what to do:


fdisk /dev/ad1
bsdlabel /dev/ad1
bsdlabel /dev/ad1s1

And possibly:
bsdlabel /dev/ad1s2
bsdlabel /dev/ad1s3
bsdlabel /dev/ad1s4
depending on what fdisk shows.

-Glenn


Thanks.
Dave.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED] 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]