NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/56643: problem with restore(8)
The following reply was made to PR bin/56643; it has been noted by GNATS.
From: Christos Zoulas <christos%zoulas.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost,
paul%whooppee.com@localhost
Subject: Re: bin/56643: problem with restore(8)
Date: Mon, 24 Jan 2022 14:49:31 -0500
--Apple-Mail=_3A9FC0F2-4567-417A-921D-98A387CC99B4
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
It is still not reproducible for me:
[2:42pm] 2515#dd if=3D/dev/zero of=3Ddisk seek=3D1024k count=3D1
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:
>=20
> The following reply was made to PR bin/56643; it has been noted by =
GNATS.
>=20
> 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)
>=20
>> Attached!
>=20
> 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.
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 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 @@
>=20
> #define FS_MAGIC FS_UFS1_MAGIC
>=20
> -#if 0
> +#if 1 /*XXX-PRG 0 */
> #define FSMOD "wapbl/ufs/ffs"
> #endif
>=20
> Index: sys/lib/libsa/ffsv2.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 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 @@
>=20
> #define FS_MAGIC FS_UFS2_MAGIC
>=20
> -#if 0
> +#if 1 /*XXX-PRG 0 */
> #define FSMOD "wapbl/ufs/ffs"
> #endif
>=20
>=20
>=20
>=20
> =
+--------------------+--------------------------+----------------------+
> | 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 =
|
> =
+--------------------+--------------------------+----------------------+
>=20
--Apple-Mail=_3A9FC0F2-4567-417A-921D-98A387CC99B4
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=signature.asc
Content-Type: application/pgp-signature;
name=signature.asc
Content-Description: Message signed with OpenPGP
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
iF0EARECAB0WIQS+BJlbqPkO0MDBdsRxESqxbLM7OgUCYe8CzAAKCRBxESqxbLM7
Oh5SAJwJ3U6OBOQt3owbh7mMSQ9uTP1weACfQLxo8NeEvZObmadIB7IszPE4Wy0=
=m1cs
-----END PGP SIGNATURE-----
--Apple-Mail=_3A9FC0F2-4567-417A-921D-98A387CC99B4--
Home |
Main Index |
Thread Index |
Old Index