fsck pada

Jozef Drahovsky (FreeBSDcz) freebsdcz3 at jozef.drahovsky.sk
Sat Dec 23 10:50:22 CET 2023


Ahojte

Stretol sa niekto s tym, ze na konkretnom disku
fsck padne a skonci s hlaskou "Segmentation fault"
Disk ide namontovat a data ide stiahnuť bez chyby, okrem jedneho suboru.
Ten subor (resample videa) bol vytvarani prave ked došlo k zákmitu 
napatia v seti a rebotu.
Rovnako fsck pada aj v 13.2 aj 14.0


# fsck /dev/ada1p1
** /dev/ada1p1
fsck: /dev/ada1p1: Segmentation fault

vytvori sa
-rw-------  1 root  jozef 189833216 Dec 23 10:21 fsck_ffs.core


Ostane veci nepadaju:

# gpart show /dev/ada1
=>        40  7814037088  ada1  GPT  (3.6T)
           40        2008        - free -  (1.0M)
         2048  7814033408     1  freebsd-ufs  (3.6T)
   7814035456        1672        - free -  (836K)


# fdisk /dev/ada1
******* Working on device /dev/ada1 *******
parameters extracted from in-core disklabel are:
cylinders=7752021 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=7752021 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 238 (0xee),(EFI GPT)
     start 1, size 4294967295 (2097151 Meg), flag 0
         beg: cyl 0/ head 0/ sector 2;
         end: cyl 1023/ head 255/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>



# fdisk /dev/ada1p1
******* Working on device /dev/ada1p1 *******
parameters extracted from in-core disklabel are:
cylinders=7752017 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=7752017 heads=16 sectors/track=63 (1008 blks/cyl)

fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
     start 63, size 4294966977 (2097151 Meg), flag 80 (active)
         beg: cyl 0/ head 1/ sector 1;
         end: cyl 15/ head 15/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>



Zatial som nasiel len informaciu z roku 2022
https://cgit.FreeBSD.org/src/commit/?id=904347a00c1f9a29f3b17e6e676805036d2494f1

Má niekto nápad ako disk opraviť, inak ako reinicializaciou?

Jozef


More information about the Users-l mailing list