Subject: Re: How to restore disk from NetBSD (i386)
To: Franck MAHE <Franck.MAHE@civis.net>
From: Wojciech Puchar <wojtek@chylonia.3miasto.net>
List: netbsd-users
Date: 08/07/2002 22:50:18
>
> Hello,
>
> I made the first step. Here is the last daily report for the FS:
> /dev/sd1a 1994641 1365918 528990 72% /home
cool. how many partitions you had on that drive?
>
> Now, the result of dumpfs /dev/sd1a
>
> [root@azrael root]$ dumpfs /dev/sd1a | more
> endian big-endian
> magic 11954 time Wed Jul 31 10:19:33 2002
> cylgrp dynamic inodes 4.4BSD fslevel 3 softdep disabled
> nbfree 156159 ndir 2334 nifree 475699 nffree 4068
> ncg 403 ncyl 6445 size 2062368 blocks 1994641
^^^^^^^
this is size in kilobytes, disklabel uses sectors = 1/2 kB
so your partition a size is 4124736
if a starts at 0, next partition will start at 4124736
BTW if you have your data here think about buying some backup device.
used SCSI DDS-1 drives cost no more than 150PLN in poland (about 35$).
avoid HP, sony, wangdat works fine. don't forget to get cleaning tape
too!!