ganz unten gehts weiter
----- Original Message -----
From: "Bernd Walter" <ticso(at)cicely8.cicely.de>
To: "Uwe Appelt" <appelt(at)rainbow-it.de>
Cc: <ticso(at)cicely.de>; "BsdList" <de-bsd-questions(at)de.freebsd.org>
Sent: Wednesday, January 08, 2003 5:21 PM
Subject: Re: ReRe: platte mit bsd-partition wieder einbinden
On Wed, Jan 08, 2003 at 05:10:52PM +0100, Uwe Appelt wrote:
> tach nochmal,
>
> also mit fdisk (im sysinstall) sehe ich die (einzige)
> Partition auf der Platte. (die ganze Platte war nur ein FS).
>
> Offset 63
> Size 20044017
> End 20044079
> Name ad6s1
> PType 3
> Desc freebsd
> Subtype 165
> Flags C=
>
> Der Disklabel zeigt mir garkeine Labels an (weil die Platte
> nur aus einer Partition. bestand?).
Das wäre funktionsfähig aber unsauber und evtl später nicht mehr
funktionsfähig.
Du hast einen FreeBSD Slice über die gesammte Platte.
Der Slice sollte nun einen Label haben und disklabel ad6s1 sollte dir
diesen dann auch anzeigen.
> In /dev fehlt aber der ad6s1, da ist nur
> ad6, wie kann ich den entsprechenden
> devicenode anlegen ?, oder was muss
> ich sonst machen.
cd /dev && MAKDEV ad6s1
Wie hast du den disklabel ohne Devicenode ausführen können?
-- B.Walter COSMO-Project http://www.cosmo-project.de ticso(at)cicely.de Usergroup info(at)cosmo-project.de tach, den makdev hab ich jez gemacht und die fdisk und disklabel -abfragen unten mitgeschickt. SERVER# fdisk /dev/ad6 ******* Working on device /dev/ad6 ******* parameters extracted from in-core disklabel are: cylinders=19885 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=19885 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: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 20044017 (9787 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 15/ sector 63 The data for partition 2 is: <UNUSED> The data for partition 3 is: <UNUSED> The data for partition 4 is: <UNUSED> ############################################## SERVER# disklabel /dev/ad6 # /dev/ad6: type: unknown disk: amnesiac label: fictitious flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 19885 sectors/unit: 20044080 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: 20044080 0 unused 0 0 # (Cyl. 0 - 19884) ############################################## SERVER# fdisk /dev/ad6s1 fdisk: can't get disk parameters on /dev/ad6s1; supplying dummy ones ******* Working on device /dev/ad6s1 ******* parameters extracted from in-core disklabel are: cylinders=1 heads=1 sectors/track=1 (1 blks/cyl) parameters to be used for BIOS calculations are: cylinders=1 heads=1 sectors/track=1 (1 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,(FreeBSD/NetBSD/386BSD) start 0, size 50000 (24 Meg), flag 80 (active) beg: cyl 0/ head 0/ sector 1; end: cyl 1023/ head 255/ sector 63 ############################################## SERVER# disklabel /dev/ad6s1 disklabel: ioctl DIOCGDINFO: Invalid argument mfg Uwe Appelt To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Wed 08 Jan 2003 - 17:51:28 CET