Re: platte mit bsd-partition wieder einbinden

From: Jens Rehsack <rehsack(at)liwing.de>
Date: Wed, 08 Jan 2003 17:08:35 +0100

Uwe Appelt wrote:
> Tach,
>
> ich hab ne kleine Frage:
>
> ich hab in meiner Bsd-Kiste zwei Platten:
> 1. fürs OS
> 2. fürs Smb
>
> Die OS pLatte is heute morgen verreckt.
> jetzt hab ich neuinstalliert (neue Platte)
> und muss nun die alte Smb-Platte wieder
> ans Laufen kriegen. Angeschlossen ist
> sie und erkannt hat er sie als "ad6".
> ich hab freebsd4.7 ;
>
> Wie mach ich das (mit FDisk ?); im Handbuch
> hab ich nur "neue Platten" hinzufügen gefunden.
>
> mfg Uwe Appelt

Vermutlich dürfte der Slice ad6s1e heissen, so dass ein
echo "/dev/ad1s1e /export/smb ufs rw 0 0" \
>>/etc/fstab
genügen sollte. fdisk(8) kann man mit dem Plattendevice als Parameter
aufrufen, was einigen Aufschluss geben sollte, z.B.:
fdisk /dev/ad1
******* Working on device /dev/ad1 *******
parameters extracted from in-core disklabel are:
cylinders=494 heads=30 sectors/track=56 (1680 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=494 heads=30 sectors/track=56 (1680 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
sysid 165,(FreeBSD/NetBSD/386BSD)
     start 56, size 829864 (405 Meg), flag 80 (active)
         beg: cyl 0/ head 1/ sector 1;
         end: cyl 493/ head 29/ sector 56
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
-bash-2.05b# fdisk /dev/ad1s1
******* Working on device /dev/ad1s1 *******
parameters extracted from in-core disklabel are:
cylinders=493 heads=30 sectors/track=56 (1680 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=493 heads=30 sectors/track=56 (1680 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

Jens

-- 
L     i  W     W     W  i                 Jens Rehsack
L        W     W     W
L     i   W   W W   W   i  nnn    gggg    LiWing IT-Services
L     i    W W   W W    i  n  n  g   g
LLLL  i     W     W     i  n  n  g   g    Friesenstraße 2
                                   gggg    06112 Halle
                                      g
                                  g   g
Tel.:  +49 - 3 45 - 5 17 05 91    ggg     e-Mail: <rehsack(at)liwing.de>
Fax:   +49 - 3 45 - 5 17 05 92            http://www.liwing.de/
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 08 Jan 2003 - 17:08:10 CET

search this site