Subject: Re: How to restore disk from NetBSD (i386)
To: Wojciech Puchar <wojtek@chylonia.3miasto.net>
From: Franck MAHE <Franck.MAHE@civis.net>
List: netbsd-users
Date: 08/07/2002 23:07:14
Re,
> > I made the first step. Here is the last daily report for the FS:
> > /dev/sd1a 1994641 1365918 528990 72% /home
>=20
> cool. how many partitions you had on that drive?
Only one...
> > 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
> ^^^^^^^
>=20
> this is size in kilobytes, disklabel uses sectors =3D 1/2 kB
>=20
> so your partition a size is 4124736
>=20
> if a starts at 0, next partition will start at 4124736
Yes, it is the full disk, but when I tried to mount the FS, I got an =
error message (:-()
mount_ffs: /dev/sd1a on /mnt: incorrect super block
I tried to make an fsck (I have a dd of sd1d partition) and the result =
of the mount is equivalent.
> 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!!
Sure, I'll buy one in a near future.
Franck