Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Dec 2003 00:45:33 +0200
From:      Ion-Mihai Tetcu <itetcu@apropo.ro>
To:        freebsd-questions@freebsd.org
Subject:   panic during dump (ufs_dirbad) and fsck dumping core after
Message-ID:  <20031207004533.4e77114f.itetcu@apropo.ro>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--Multipart=_Sun__7_Dec_2003_00_45_33_+0200_8lj_z73Si+WR5vep
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,


FreeBSD it.buh.cameradicommercio.ro 5.1-RELEASE-p10 FreeBSD
5.1-RELEASE-p10 #0: Wed Nov 19 00:01:27 EET 2003    
root@it.buh.cameradicommercio.ro:/usr/obj/usr/src/sys/IT1  i386


I was trying to dump/restore my data from my 40G HDD (ad3) on a bigger
120G HDD (ad0).

I've booted from the CD, used sysinstall to devide the disk, installed
the minimal distribution, boot up on the new install. Rebooted with the
old system (multiuser but in the console and with no activity beside
dump/restore, with all /usr/local/etc/rc.d stoped), mounted each new
slice and rm -rf * the content.

dump/restore ad3s2a to ad0s1a (/) 
dump/restore ad3s2d to ad0s3d (/tmp)
dump/restore ad3s2e to ad0s1e (/var)

Untill here everithing OK.

# mount /dev/ad0s3f /mnt
# mkdir /mnt/home
# mount /dev/ad0s3g /mnt/home
# cd /mnt
# dump 0aLf - / | restore xf -

Sometime after 1/3 got dumped I've fpund myself in the debbuger with:
/mnt: bad dirino 753722
panic: ufs_dirbad at offset 0: mangled entry

I've hit the wrong key so I do not have a core, but I'm confident I can
reproduce if needed.

Rebooted. After fsck-ing the current disk with good results on the new
disk I get the attached (fsck_ad0s3f.txt adnd fsck_a0s3g.txt) errors,
with fsck saying:
for ad0s3f
 cannot alloc xxxxxxxxxx bytes for inoinfo 
and ending with 
 fsck_4.2bsd: bad inode number 376832 to nextinode

for ad0s3g
 it# fsck -n ad0s3g
 ** /dev/ad0s3g (NO WRITE)
 ** Last Mounted on /mnt/home
 ** Phase 1 - Check Blocks and Sizes
 cannot alloc 4216257920 bytes for inoinfo

 UNEXPECTED SOFT UPDATE INCONSISTENCY
 UNKNOWN FILE TYPE I=47104
 UNEXPECTED SOFT UPDATE INCONSISTENCY
 fsck: /dev/ad0s3g: Segmentation fault

Attached are also fdisk and bsdlabel output.

Any help will be greatly appreciated.


-- 
IOnut
Unregistered ;) FreeBSD user

--Multipart=_Sun__7_Dec_2003_00_45_33_+0200_8lj_z73Si+WR5vep
Content-Type: application/octet-stream;
 name="fdisk.txt"
Content-Disposition: attachment;
 filename="fdisk.txt"
Content-Transfer-Encoding: base64

KioqKioqKiBXb3JraW5nIG9uIGRldmljZSAvZGV2L2FkMCAqKioqKioqCnBhcmFtZXRlcnMgZXh0
cmFjdGVkIGZyb20gaW4tY29yZSBkaXNrbGFiZWwgYXJlOgpjeWxpbmRlcnM9MjMyNTc4IGhlYWRz
PTE2IHNlY3RvcnMvdHJhY2s9NjMgKDEwMDggYmxrcy9jeWwpCgpGaWd1cmVzIGJlbG93IHdvbid0
IHdvcmsgd2l0aCBCSU9TIGZvciBwYXJ0aXRpb25zIG5vdCBpbiBjeWwgMQpwYXJhbWV0ZXJzIHRv
IGJlIHVzZWQgZm9yIEJJT1MgY2FsY3VsYXRpb25zIGFyZToKY3lsaW5kZXJzPTIzMjU3OCBoZWFk
cz0xNiBzZWN0b3JzL3RyYWNrPTYzICgxMDA4IGJsa3MvY3lsKQoKTWVkaWEgc2VjdG9yIHNpemUg
aXMgNTEyCldhcm5pbmc6IEJJT1Mgc2VjdG9yIG51bWJlcmluZyBzdGFydHMgd2l0aCBzZWN0b3Ig
MQpJbmZvcm1hdGlvbiBmcm9tIERPUyBib290YmxvY2sgaXM6ClRoZSBkYXRhIGZvciBwYXJ0aXRp
b24gMSBpczoKc3lzaWQgMTY1ICgweGE1KSwoRnJlZUJTRC9OZXRCU0QvMzg2QlNEKQogICAgc3Rh
cnQgNjMsIHNpemUgNTE0MDE3ICgyNTAgTWVnKSwgZmxhZyAwCgliZWc6IGN5bCAwLyBoZWFkIDEv
IHNlY3RvciAxOwoJZW5kOiBjeWwgMzEvIGhlYWQgMjU0LyBzZWN0b3IgNjMKVGhlIGRhdGEgZm9y
IHBhcnRpdGlvbiAyIGlzOgpzeXNpZCA2ICgweDA2KSwoUHJpbWFyeSAnYmlnJyBET1MgKD49IDMy
TUIpKQogICAgc3RhcnQgNTE0MDgwLCBzaXplIDQxOTI5NjUwICgyMDQ3MyBNZWcpLCBmbGFnIDAK
CWJlZzogY3lsIDMyLyBoZWFkIDAvIHNlY3RvciAxOwoJZW5kOiBjeWwgMTAyMy8gaGVhZCAyNTQv
IHNlY3RvciA2MwpUaGUgZGF0YSBmb3IgcGFydGl0aW9uIDMgaXM6CnN5c2lkIDE2NSAoMHhhNSks
KEZyZWVCU0QvTmV0QlNELzM4NkJTRCkKICAgIHN0YXJ0IDQyNDQzNzMwLCBzaXplIDE5MTk5Mjgx
NSAoOTM3NDYgTWVnKSwgZmxhZyAwCgliZWc6IGN5bCAxMDIzLyBoZWFkIDI1NS8gc2VjdG9yIDYz
OwoJZW5kOiBjeWwgMTAyMy8gaGVhZCAyNTQvIHNlY3RvciA2MwpUaGUgZGF0YSBmb3IgcGFydGl0
aW9uIDQgaXM6CjxVTlVTRUQ+Cg==

--Multipart=_Sun__7_Dec_2003_00_45_33_+0200_8lj_z73Si+WR5vep
Content-Type: application/octet-stream;
 name="fsck_ad0s3f.txt"
Content-Disposition: attachment;
 filename="fsck_ad0s3f.txt"
Content-Transfer-Encoding: base64

KiogL2Rldi9hZDBzM2YgKE5PIFdSSVRFKQoqKiBMYXN0IE1vdW50ZWQgb24gL21udAoqKiBQaGFz
ZSAxIC0gQ2hlY2sgQmxvY2tzIGFuZCBTaXplcwpjYW5ub3QgYWxsb2MgNjg4ODQ3OTQ0IGJ5dGVz
IGZvciBpbm9pbmZvCgpVTkVYUEVDVEVEIFNPRlQgVVBEQVRFIElOQ09OU0lTVEVOQ1kKVU5LTk9X
TiBGSUxFIFRZUEUgST0zNTMyODAKVU5FWFBFQ1RFRCBTT0ZUIFVQREFURSBJTkNPTlNJU1RFTkNZ
CgpDTEVBUj8gbm8KClVOS05PV04gRklMRSBUWVBFIEk9MzUzMjgxClVORVhQRUNURUQgU09GVCBV
UERBVEUgSU5DT05TSVNURU5DWQoKQ0xFQVI/IG5vCgpVTktOT1dOIEZJTEUgVFlQRSBJPTM1MzI4
MgpVTkVYUEVDVEVEIFNPRlQgVVBEQVRFIElOQ09OU0lTVEVOQ1kKCkNMRUFSPyBubwoKClsuLl0K
ClVOS05PV04gRklMRSBUWVBFIEk9Mzc2ODI3ClVORVhQRUNURUQgU09GVCBVUERBVEUgSU5DT05T
SVNURU5DWQoKQ0xFQVI/IG5vCgpVTktOT1dOIEZJTEUgVFlQRSBJPTM3NjgyOApVTkVYUEVDVEVE
IFNPRlQgVVBEQVRFIElOQ09OU0lTVEVOQ1kKCkNMRUFSPyBubwoKVU5LTk9XTiBGSUxFIFRZUEUg
ST0zNzY4MjkKVU5FWFBFQ1RFRCBTT0ZUIFVQREFURSBJTkNPTlNJU1RFTkNZCgpDTEVBUj8gbm8K
ClBBUlRJQUxMWSBBTExPQ0FURUQgSU5PREUgST0zNzY4MzAKVU5FWFBFQ1RFRCBTT0ZUIFVQREFU
RSBJTkNPTlNJU1RFTkNZCgpDTEVBUj8gbm8KClVOS05PV04gRklMRSBUWVBFIEk9Mzc2ODMxClVO
RVhQRUNURUQgU09GVCBVUERBVEUgSU5DT05TSVNURU5DWQoKQ0xFQVI/IG5vCgpmc2NrXzQuMmJz
ZDogYmFkIGlub2RlIG51bWJlciAzNzY4MzIgdG8gbmV4dGlub2RlCgo=

--Multipart=_Sun__7_Dec_2003_00_45_33_+0200_8lj_z73Si+WR5vep
Content-Type: application/octet-stream;
 name="fsck_ad0s3g.txt"
Content-Disposition: attachment;
 filename="fsck_ad0s3g.txt"
Content-Transfer-Encoding: base64

aXQjIGZzY2sgLW4gYWQwczNnCioqIC9kZXYvYWQwczNnIChOTyBXUklURSkKKiogTGFzdCBNb3Vu
dGVkIG9uIC9tbnQvaG9tZQoqKiBQaGFzZSAxIC0gQ2hlY2sgQmxvY2tzIGFuZCBTaXplcwpjYW5u
b3QgYWxsb2MgNDIxNjI1NzkyMCBieXRlcyBmb3IgaW5vaW5mbwoKVU5FWFBFQ1RFRCBTT0ZUIFVQ
REFURSBJTkNPTlNJU1RFTkNZClVOS05PV04gRklMRSBUWVBFIEk9NDcxMDQKVU5FWFBFQ1RFRCBT
T0ZUIFVQREFURSBJTkNPTlNJU1RFTkNZCmZzY2s6IC9kZXYvYWQwczNnOiBTZWdtZW50YXRpb24g
ZmF1bHQKCg==

--Multipart=_Sun__7_Dec_2003_00_45_33_+0200_8lj_z73Si+WR5vep
Content-Type: application/octet-stream;
 name="bsdlabel.txt"
Content-Disposition: attachment;
 filename="bsdlabel.txt"
Content-Transfer-Encoding: base64

IyAvZGV2L2FkMHMzYzoKdHlwZTogRVNESQpkaXNrOiBhZDBzMwpsYWJlbDogCmZsYWdzOgpieXRl
cy9zZWN0b3I6IDUxMgpzZWN0b3JzL3RyYWNrOiA2Mwp0cmFja3MvY3lsaW5kZXI6IDI1NQpzZWN0
b3JzL2N5bGluZGVyOiAxNjA2NQpjeWxpbmRlcnM6IDE0NTkzCnNlY3RvcnMvdW5pdDogMjM0NDM5
NTM1CnJwbTogMzYwMAppbnRlcmxlYXZlOiAxCnRyYWNrc2tldzogMApjeWxpbmRlcnNrZXc6IDAK
aGVhZHN3aXRjaDogMAkJIyBtaWxsaXNlY29uZHMKdHJhY2stdG8tdHJhY2sgc2VlazogMAkjIG1p
bGxpc2Vjb25kcwpkcml2ZWRhdGE6IDAgCgo4IHBhcnRpdGlvbnM6CiMgICAgICAgIHNpemUgICBv
ZmZzZXQgICAgZnN0eXBlICAgW2ZzaXplIGJzaXplIGJwcy9jcGddCiAgYjogIDIwNTM1NTIgNDI0
NDM3MzAgICAgICBzd2FwICAgICAgICAgICAgICAgICAgICAKICBjOiAxOTE5OTI4MTUgNDI0NDM3
MzAgICAgdW51c2VkICAgICAgICAwICAgICAwICAgICAgICAgIyAicmF3IiBwYXJ0LCBkb24ndCBl
ZGl0CiAgZDogICA1MjQyODggNDQ0OTcyODIgICAgNC4yQlNEICAgICAyMDQ4IDE2Mzg0IDMyNzc2
IAogIGU6ICAgNTI0Mjg4IDQ1MDIxNTcwICAgIDQuMkJTRCAgICAgMjA0OCAxNjM4NCAzMjc3NiAK
ICBmOiA1MjQyODgwMCA0NTU0NTg1OCAgICA0LjJCU0QgICAgIDIwNDggMTYzODQgMjg1NTIgCiAg
ZzogMTM2NDYxODg3IDk3OTc0NjU4ICAgIDQuMkJTRCAgICAgMjA0OCAxNjM4NCAyODU1MiAKYnNk
bGFiZWw6IHBhcnRpdGlvbiBjIGRvZXNuJ3Qgc3RhcnQgYXQgMCEKYnNkbGFiZWw6IHBhcnRpdGlv
biBjIGRvZXNuJ3QgY292ZXIgdGhlIHdob2xlIHVuaXQhCmJzZGxhYmVsOiBBbiBpbmNvcnJlY3Qg
cGFydGl0aW9uIGMgbWF5IGNhdXNlIHByb2JsZW1zIGZvciBzdGFuZGFyZCBzeXN0ZW0gdXRpbGl0
aWVzCg==

--Multipart=_Sun__7_Dec_2003_00_45_33_+0200_8lj_z73Si+WR5vep--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031207004533.4e77114f.itetcu>