Re: Mount-Probleme zweite Platte (4.11 -> 6.1) : incorrect super block

From: Harald Schmalzbauer <h.schmalzbauer(at)omnisec.de>
Date: Wed, 27 Sep 2006 12:55:25 +0200

Am Mittwoch, 27. September 2006 09:17 schrieb Manfred Usselmann:
> Hallo,
>
> habe einen zweite Platte in meinen Server, der z.Zt. unter 4.11 laeuft,
> gehaengt und darauf 6.1 installiert. Versuche nun von 4.11 aus auf
> diese Platte zuzugreifen, um waehrend des laufenden Betriebs die neue
> Konfiguration anzupassen und Daten rueberzukopieren.
>
> Leider klappt das mounten der Partitionen nicht:
>
> # mount /dev/ad1s1a /mnt/ad1s1a
> mount: /dev/ad1s1a on /mnt/ad1s1a: incorrect super block
>
> Beim Booten werden beide Platten erkannt:
>
> ad0: 76319MB <WDC WD800BB-00DKA0> [155061/16/63] at ata0-master UDMA33
> ad1: 78167MB <Maxtor 6Y080P0> [158816/16/63] at ata0-slave UDMA33
>
> Was koennte die Ursache sein und wie koennte man das Problem beheben?

UFS2?

Seit 5.0 glaube ich ist UFS2 default. Um ein Filesystem mit 4.11 verwenden zu
können muss es mit UFS1 formatiert sein "newfs -O1".
Bin mir zwar nicht 100% sicher mit den Versionsnummern aber der Fehler legt
diese Zahlen nahe ;)

Grüße,

-Harry

>
> Danke,
> Manfred
>
> P.S.: Hier die Ausgaben von fdisk und disklabel fuer die beiden
> Platten. ad0 ist die mit 4.11 und ad1 die unter 6.1 installierte Platte:
>
> # disklabel -r ad0
> # /dev/ad0c:
> type: ESDI
> disk: ad0s1
> label:
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 9728
> sectors/unit: 156296322
> 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]
> a: 1048576 0 4.2BSD 2048 16384 89 # (Cyl. 0 - 65*)
> b: 1048576 1048576 swap # (Cyl. 65*-
> 130*) c: 156296322 0 unused 0 0 # (Cyl. 0 -
> 9728*) e: 8388608 2097152 4.2BSD 0 0 0 # (Cyl. 130*-
> 652*) f: 8388608 10485760 4.2BSD 0 0 0 # (Cyl. 652*-
> 1174*) g: 137421954 18874368 4.2BSD 0 0 0 # (Cyl. 1174*-
> 9728*)
>
> # disklabel -r ad1
> # /dev/ad1c:
> type: ESDI
> disk: ad1s1
> label:
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 9963
> sectors/unit: 160071597
> 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]
> a: 20971520 0 4.2BSD 2048 16384 28552 # (Cyl. 0 -
> 1305*) b: 4194304 20971520 swap # (Cyl. 1305*-
> 1566*) c: 160071597 0 unused 0 0 # (Cyl. 0 -
> 9963*) d: 20971520 25165824 4.2BSD 2048 16384 28552 # (Cyl. 1566*-
> 2871*) e: 20971520 46137344 4.2BSD 2048 16384 28552 # (Cyl. 2871*-
> 4177*) f: 92962733 67108864 4.2BSD 2048 16384 28536 # (Cyl. 4177*-
> 9963*) super block size 0
>
>
> # fdisk
> ******* Working on device /dev/ad0 *******
> parameters extracted from in-core disklabel are:
> cylinders=9729 heads=255 sectors/track=63 (16065 blks/cyl)
>
> Figures below won't work with BIOS for partitions not in cyl 1
> parameters to be used for BIOS calculations are:
> cylinders=9729 heads=255 sectors/track=63 (16065 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:
> sysid 165,(FreeBSD/NetBSD/386BSD)
> start 63, size 156296322 (76316 Meg), flag 80 (active)
> beg: cyl 0/ head 1/ sector 1;
> end: cyl 1023/ head 254/ sector 63
> The data for partition 2 is:
> <UNUSED>
> The data for partition 3 is:
> <UNUSED>
> The data for partition 4 is:
> <UNUSED>
>
>
> # fdisk ad1
> ******* Working on device /dev/ad1 *******
> parameters extracted from in-core disklabel are:
> cylinders=9964 heads=255 sectors/track=63 (16065 blks/cyl)
>
> Figures below won't work with BIOS for partitions not in cyl 1
> parameters to be used for BIOS calculations are:
> cylinders=9964 heads=255 sectors/track=63 (16065 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:
> sysid 165,(FreeBSD/NetBSD/386BSD)
> start 63, size 160071597 (78159 Meg), flag 0
> beg: cyl 0/ head 1/ sector 1;
> end: cyl 1023/ head 254/ sector 63
> The data for partition 2 is:
> <UNUSED>
> The data for partition 3 is:
> <UNUSED>
> The data for partition 4 is:
> <UNUSED>
>
>
> To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
> with "unsubscribe de-bsd-questions" in the body of the message

-- 
OmniSEC  -  UNIX und Windows Netzwerke - Sicher
Harald Schmalzbauer
Flintsbacher Str. 3
80686 München
+49 (0) 89 18947781
+49 (0) 173 9967781
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 27 Sep 2006 - 12:57:22 CEST

search this site