Re: recover deleted file
On Sat, 16 Apr 2022 at 09:33 Sami Halabi wrote: > how to do step 3 /? > > On Sat, Apr 16, 2022 at 2:59 PM Michael Gmelin wrote: > >> Depends on the kind of file. >> >> You can always: >> 1. reboot the system into single user mode, mount the fs readonly >> (important to not overwrite data you want to recover) >> 2. dd the partition and into a file >> 3. find the content of the deleted file in the dump >> >> I was able to recover a complete codebase i deleted accidentally that way >> a long time ago. >> >> Good luck >> Michael >> >> On 16. Apr 2022, at 13:52, Sami Halabi wrote: >> >> >> well.. thats the trivial answer.. the problem is backups is a day >> before... if i can undelete it would save me loss of 1 day offset.. >> >> anyone? >> >> On Sat, Apr 16, 2022 at 2:49 PM Matthias Apitz wrote: >> >>> El día sábado, abril 16, 2022 a las 02:23:25 +0300, Sami Halabi escribió: >>> >>> > Hi, >>> > is there anyway easy to restore deleted file by accident in UFS >>> >>> Yes, restore it from a backup media. >>> >>> matthias >>> >>> >>> -- >>> Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ >>> +49-176-38902045 >>> Public GnuPG key: http://www.unixarea.de/key.pub >>> >>> Peace instead of NATO! Мир вместо НАТО! Frieden statt NATO! ¡Paz en >>> vez de OTAN! >>> >>> >> >> -- >> Sami Halabi >> Information Systems Engineer >> NMS Projects Expert, FreeBSD SysAdmin Expert >> Asterisk Expert >> >> > > -- > Sami Halabi > Information Systems Engineer > NMS Projects Expert, FreeBSD SysAdmin Expert > Asterisk Expert > Look at autopsy/photorec https://www.cgsecurity.org/wiki/PhotoRec_Data_Carving
Re: Committing PEFS to CURRENT
On Tue, Oct 8, 2013 at 12:12 AM, Gleb Kurtsou gleb.kurt...@gmail.comwrote: On (07/10/2013 21:59), Outback Dingo wrote: On Mon, Oct 7, 2013 at 9:42 PM, Gleb Kurtsou gleb.kurt...@gmail.com wrote: On Mon, Oct 7, 2013 at 6:24 PM, John-Mark Gurney j...@funkthat.com wrote: But will the work get done to clean it up after the freeze is over? What happens if it doesn't, will it get removed before 10.1 or will we have to live w/ the code? I still hope not to get hit by bus any time soon.. on a side note, i applied the patch to stable/9 out of curiosity and the kernel failed to build the module however i could install fine from ports. Correct, there is no support for old kernels in the patch. Port will be maintained and will provide support for older versions in case PEFS finds its way to 10.0. Hi, Are there any news about PEFS commit ? Regards, ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: ML370 crash
Hi There, Following John Cagle instructions, I made an trace at db prompt, the result can be viewed at http://www.seudns.net/ftp/ale/Pictures/ml370/trace.jpg, the crash can be viewed at http://www.seudns.net/ftp/ale/Pictures/ml370/crash_boot.jpg As John told me, It looks like a bug that involves the ida driver. What can I do ?? Regards, Alexandre Biancalana Alexandre Biancalana wrote: Hi All, I have a Compaq ML370 that freezes during 5.1-RELEASE boot, I tryed the default boot, single user boot and disable ACPI boot. I installed 4.8-RELEASE and then upgraded to CURRENT, make buildworld and buildkernel was perfect, after make installkernel, I made a copy of /sys/i386/conf/GENERIC.hints to /boot/device.hints and the command ran ok too, but when booting with new kernel (/boot/kernel/kernel), the server freeze's at same point, after kernel display vga0 device, but now with an error message and a prompt to an debugger. Follow in attached an dmesg from 4.8-RELEASE that is working and a picture off machine's display at crash moment. Some Idea ?! Best Regards, Alexandre Biancalana Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz CPU: Intel Pentium III (731.02-MHz 686-class CPU) Origin = GenuineIntel Id = 0x683 Stepping = 3 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real memory = 1073725440 (1048560K bytes) avail memory = 1039876096 (1015504K bytes) Preloaded elf kernel kernel at 0xc051d000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: math processor on motherboard npx0: INT 16 interface pcib0: ServerWorks NB6635 3.0LE host to PCI bridge on motherboard pci0: PCI bus on pcib0 sym0: 1510d port 0x2000-0x20ff mem 0xc6efe000-0xc6efefff,0xc6effc00-0xc6ef irq 11 at device 1.0 on pci0 sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking sym1: 1510d port 0x2400-0x24ff mem 0xc6efc000-0xc6efcfff,0xc6efdc00-0xc6efdfff irq 15 at device 1.1 on pci0 sym1: No NVRAM, ID 7, Fast-40, LVD, parity checking fxp0: Intel Pro 10/100B/100+ Ethernet port 0x2800-0x283f mem 0xc6d0-0xc6df,0xc6efb000-0xc6efbfff irq 5 at device 2.0 on pci0 fxp0: Ethernet address 00:50:8b:de:72:26 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: ATI Mach64-GV graphics accelerator at 3.0 pci0: unknown card (vendor=0x0e11, dev=0xa0f0) at 4.0 xl0: 3Com 3c905B-TX Fast Etherlink XL port 0x3000-0x307f mem 0xc6cfee80-0xc6cfeeff irq 5 at device 5.0 on pci0 xl0: Ethernet address: 00:10:4b:c6:38:24 miibus1: MII bus on xl0 xlphy0: 3Com internal media interface on miibus1 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: ServerWorks IB6566 PCI to ISA bridge at device 15.0 on pci0 isa0: ISA bus on isab0 atapci0: ServerWorks ROSB4 ATA33 controller port 0x3080-0x308f at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pcib3: ServerWorks NB6635 3.0LE host to PCI bridge on motherboard pci3: PCI bus on pcib3 ida0: Compaq Smart Array 431 controller port 0x4000-0x40ff mem 0xc6fff000-0xc6ff irq 10 at device 3.0 on pci3 ida0: drives=2 firm_rev=1.02 idad0: Compaq Logical Drive on ida0 idad0: 17359MB (35553120 sectors), blocksize=512 idad1: Compaq Logical Drive on ida0 idad1: 17359MB (35553120 sectors), blocksize=512 eisa0: EISA bus on motherboard mainboard0: CPQ0690 (System Board) on eisa0 slot 0 orm0: Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xcbfff,0xe8000-0xedfff,0xee000-0xe on isa0 fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5 drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 ata0-slave: ATAPI identify retries exceeded acd0: CDROM COMPAQ CDR-8435 at ata0-master PIO4 Waiting 15 seconds for SCSI devices to settle Mounting root from ufs:/dev/idad0s2a ___ [EMAIL PROTECTED
ML370 crash
Hi All, I have a Compaq ML370 that freezes during 5.1-RELEASE boot, I tryed the default boot, single user boot and disable ACPI boot. I installed 4.8-RELEASE and then upgraded to CURRENT, make buildworld and buildkernel was perfect, after make installkernel, I made a copy of /sys/i386/conf/GENERIC.hints to /boot/device.hints and the command ran ok too, but when booting with new kernel (/boot/kernel/kernel), the server freeze's at same point, after kernel display vga0 device, but now with an error message and a prompt to an debugger. Follow in attached an dmesg from 4.8-RELEASE that is working and a picture off machine's display at crash moment. Some Idea ?! Best Regards, Alexandre Biancalana Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz CPU: Intel Pentium III (731.02-MHz 686-class CPU) Origin = GenuineIntel Id = 0x683 Stepping = 3 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real memory = 1073725440 (1048560K bytes) avail memory = 1039876096 (1015504K bytes) Preloaded elf kernel kernel at 0xc051d000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: math processor on motherboard npx0: INT 16 interface pcib0: ServerWorks NB6635 3.0LE host to PCI bridge on motherboard pci0: PCI bus on pcib0 sym0: 1510d port 0x2000-0x20ff mem 0xc6efe000-0xc6efefff,0xc6effc00-0xc6ef irq 11 at device 1.0 on pci0 sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking sym1: 1510d port 0x2400-0x24ff mem 0xc6efc000-0xc6efcfff,0xc6efdc00-0xc6efdfff irq 15 at device 1.1 on pci0 sym1: No NVRAM, ID 7, Fast-40, LVD, parity checking fxp0: Intel Pro 10/100B/100+ Ethernet port 0x2800-0x283f mem 0xc6d0-0xc6df,0xc6efb000-0xc6efbfff irq 5 at device 2.0 on pci0 fxp0: Ethernet address 00:50:8b:de:72:26 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: ATI Mach64-GV graphics accelerator at 3.0 pci0: unknown card (vendor=0x0e11, dev=0xa0f0) at 4.0 xl0: 3Com 3c905B-TX Fast Etherlink XL port 0x3000-0x307f mem 0xc6cfee80-0xc6cfeeff irq 5 at device 5.0 on pci0 xl0: Ethernet address: 00:10:4b:c6:38:24 miibus1: MII bus on xl0 xlphy0: 3Com internal media interface on miibus1 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: ServerWorks IB6566 PCI to ISA bridge at device 15.0 on pci0 isa0: ISA bus on isab0 atapci0: ServerWorks ROSB4 ATA33 controller port 0x3080-0x308f at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pcib3: ServerWorks NB6635 3.0LE host to PCI bridge on motherboard pci3: PCI bus on pcib3 ida0: Compaq Smart Array 431 controller port 0x4000-0x40ff mem 0xc6fff000-0xc6ff irq 10 at device 3.0 on pci3 ida0: drives=2 firm_rev=1.02 idad0: Compaq Logical Drive on ida0 idad0: 17359MB (35553120 sectors), blocksize=512 idad1: Compaq Logical Drive on ida0 idad1: 17359MB (35553120 sectors), blocksize=512 eisa0: EISA bus on motherboard mainboard0: CPQ0690 (System Board) on eisa0 slot 0 orm0: Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xcbfff,0xe8000-0xedfff,0xee000-0xe on isa0 fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5 drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 ata0-slave: ATAPI identify retries exceeded acd0: CDROM COMPAQ CDR-8435 at ata0-master PIO4 Waiting 15 seconds for SCSI devices to settle Mounting root from ufs:/dev/idad0s2a ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]