NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/56643: problem with restore(8)



It is still not reproducible for me:

[2:42pm] 2515#dd if=/dev/zero of=disk seek=1024k count=1
1+0 records in
1+0 records out
512 bytes transferred in 0.002 secs (256000 bytes/sec)
[2:42pm] 2516#vnconfig -c vnd0 disk
[2:43pm] 2517#newfs -O 2 /dev/rvnd0a
/dev/rvnd0a: 512.0MB (1048576 sectors) block size 8192, fragment size 1024
        using 12 cylinder groups of 42.67MB, 5462 blks, 10304 inodes.
super-block backups (for fsck_ffs -b #) at:
144, 87536, 174928, 262320, 349712, 437104, 524496, 611888, 699280, 786672,
...............................................................................
[2:43pm] 2518#mount /dev/vnd0a /mnt
[2:43pm] 2519#cp -r /bin /mnt
[2:43pm] 2520#umount /mnt
[2:43pm] 2521#dump 0f - /dev/rvnd0a | restore -rf -
  DUMP: Date of this level 0 dump: Mon Jan 24 14:44:12 2022
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rvnd0a (an unlisted file system) to standard output
  DUMP: Label: none
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 2629 tape blocks.
  DUMP: Volume 1 started at: Mon Jan 24 14:44:12 2022
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: 2613 tape blocks
  DUMP: Volume 1 completed at: Mon Jan 24 14:44:12 2022
  DUMP: Date of this level 0 dump: Mon Jan 24 14:44:12 2022
  DUMP: Date this dump completed:  Mon Jan 24 14:44:12 2022
  DUMP: Average transfer rate: 0 KB/s
  DUMP: DUMP IS DONE
[2:44pm] 2522#modstat | grep boot
ffs              vfs      boot     -        0  101897 ufs,wapbl
ufs              misc     boot     a        1   84397 wapbl
wapbl            vfs      boot     -        2   22572 -
[2:44pm] 2523#modstat | grep filesys
bpf              driver   filesys  a        0   17596 bpf_filter
bpf_filter       misc     filesys  a        1    2483 -
crypto           driver   filesys  a        0   16313 opencrypto
exec_elf64       exec     filesys  a        0    5891 -
exec_script      exec     filesys  a        0    1013 -
kernfs           vfs      filesys  a        0    8545 -
opencrypto       misc     filesys  a        1   17031 -
procfs           vfs      filesys  a        0   26838 ptrace_common
ptrace_common    exec     filesys  a        1    7043 -
ptyfs            vfs      filesys  a        0    7390 -
tmpfs            vfs      filesys  a        0   43518 -
vnd              driver   filesys  a        0   12196 zlib
zlib             misc     filesys  a        1   24965 -
[2:44pm] 2524#uname -a
NetBSD mb1.astron.com 9.99.93 NetBSD 9.99.93 (SPEEDY 2022-01-08 03:00:28 UTC) #2: Mon Jan 24 14:36:02 EST 2022  christos%mb1.astron.com@localhost:/usr/src/sys/arch/amd64/compile/SPEEDY amd64
[2:48pm] 2525#

> On Jan 23, 2022, at 12:50 PM, Paul Goyette <paul%whooppee.com@localhost> wrote:
> 
> The following reply was made to PR bin/56643; it has been noted by GNATS.
> 
> From: Paul Goyette <paul%whooppee.com@localhost>
> To: Christos Zoulas <christos%zoulas.com@localhost>
> Cc: gnats-bugs%netbsd.org@localhost
> Subject: Re: bin/56643: problem with restore(8)
> Date: Sun, 23 Jan 2022 09:45:06 -0800 (PST)
> 
>> Attached!
> 
> And here are a couple of local changes that make the "push ffs"
> stuff work.  Please note that you also need to remove UFS_EXTATTR
> from the ufs and ffs Makefiles.
> 
> ===================================================================
> RCS file: /cvsroot/src/sys/lib/libsa/ffsv1.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 ffsv1.c
> --- sys/lib/libsa/ffsv1.c       27 May 2021 06:54:44 -0000      1.8
> +++ sys/lib/libsa/ffsv1.c       8 Jan 2022 21:10:18 -0000
> @@ -19,7 +19,7 @@
> 
>   #define FS_MAGIC FS_UFS1_MAGIC
> 
> -#if 0
> +#if 1	/*XXX-PRG 0 */
>   #define	FSMOD	"wapbl/ufs/ffs"
>   #endif
> 
> Index: sys/lib/libsa/ffsv2.c
> ===================================================================
> RCS file: /cvsroot/src/sys/lib/libsa/ffsv2.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 ffsv2.c
> --- sys/lib/libsa/ffsv2.c       27 May 2021 06:54:44 -0000      1.8
> +++ sys/lib/libsa/ffsv2.c       8 Jan 2022 21:10:20 -0000
> @@ -19,7 +19,7 @@
> 
>   #define FS_MAGIC FS_UFS2_MAGIC
> 
> -#if 0
> +#if 1	/*XXX-PRG 0 */
>   #define	FSMOD	"wapbl/ufs/ffs"
>   #endif
> 
> 
> 
> 
> +--------------------+--------------------------+----------------------+
> | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:    |
> | (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost    |
> | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost  |
> | & Network Engineer |                          | pgoyette99%gmail.com@localhost |
> +--------------------+--------------------------+----------------------+
> 

Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index