Re: backups of SUPERBLOCK

2002-11-09 Thread Eugene Grosbein
> If you didn't do any custom tuning with newfs, it's likely that > > newfs -N -b 8192 -f 1024 # pre 4.6 > > or > > newfs -N -b 16384 -f 2048 # 4.6 and up > > will be sufficient. Yeah. But this system was set up in times when newfs did not optimize cyl/group ratio and I

Re: backups of SUPERBLOCK

2002-11-09 Thread Chris BeHanna
On Sun, 10 Nov 2002, Eugene Grosbein wrote: > 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 superbl

Re: backups of SUPERBLOCK

2002-11-09 Thread Eugene Grosbein
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 exa

Re: backups of SUPERBLOCK

2002-11-09 Thread Phil Kernick
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 lin

Re: backups of SUPERBLOCK

2002-11-09 Thread David Wolfskill
>Date: Sun, 10 Nov 2002 09:58:40 +0700 >From: Eugene Grosbein <[EMAIL PROTECTED]> >Recently I suffered from unstable power supply, after reboot >fsck said INCORRECT SUPER BLOCK, BAD MAGIC etc. etc. >I managed to revive filesystem using fsck -b 32 as I remember >that first copy of superblock is gen

backups of SUPERBLOCK

2002-11-09 Thread Eugene Grosbein
Hi! Recently I suffered from unstable power supply, after reboot fsck said INCORRECT SUPER BLOCK, BAD MAGIC etc. etc. I managed to revive filesystem using fsck -b 32 as I remember that first copy of superblock is generally located at block 32. I wonder, however, how can I know complete list of su