Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2002 10:54:27 +0700
From:      Eugene Grosbein <eugen@kuzbass.ru>
To:        Phil Kernick <Phil@Kernick.org>
Cc:        stable@FreeBSD.ORG
Subject:   Re: backups of SUPERBLOCK
Message-ID:  <3DCDD873.F498DFC2@kuzbass.ru>
References:  <3DCDCB60.1D1A34C2@kuzbass.ru> <3DCDCD1D.6030506@Kernick.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Phil Kernick wrote:
> 
> Eugene Grosbein wrote:
> >
> > Is there an official way to get list of superblock backups for existing
> > filesystem, other than backup/newfs/restore ?
> >
> 
> Yes.  Use newfs -N which will print out the superblock locations.  My
> experience also tells me to also put exactly the same parameters on the newfs
> line that you used when you originally created the volume.
> 
>  From the newfs(8) manpage:
>       -N      Cause the file system parameters to be printed out without really
>               creating the file system.

Thank you. But how do I known parameters of existing filesystem?

disklabel ad0 shows, in partcular:

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   102400   524288    4.2BSD        0     0     0   # (Cyl.   32*- 39*)
  b:   524288        0      swap                        # (Cyl.    0 - 32*)
  c: 12594897        0    unused        0     0         # (Cyl.    0 - 783*)
  e:  3072000   626688    4.2BSD     1024  8192    22   # (Cyl.   39*- 230*)
  f:  1024000  3698688    4.2BSD        0     0     0   # (Cyl.  230*- 293*)
  g:  2048000  4722688    4.2BSD        0     0     0   # (Cyl.  293*- 421*)
  h:  5824209  6770688    4.2BSD     1024  8192    22   # (Cyl.  421*- 783*)

How do I know real parameters of 'f' and 'g' partitions
and why zeroes are there?

Eugene Grosbein

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DCDD873.F498DFC2>