Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Hi, I am running a Minecraft server on a fork of TinyCoreLinux, called MineOS+, on a dedicated machine. Recently I have noticed that I am missing 30+ plugin .jar's (mods ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2011
    Posts
    7

    Exclamation Files randomly and without warning disappearing?


    Hi,

    I am running a Minecraft server on a fork of TinyCoreLinux, called MineOS+, on a dedicated machine. Recently I have noticed that I am missing 30+ plugin .jar's (mods for Minecraft), and their respective configuration folders (40+ separate files). These seem to be disappearing completely randomly as I still have around 11 plugins and their configs on my server, and there is no pattern to which files have disappeared. I would prefer to be able to recover rather than replace these files as it took MONTHS to set them up. No, I do not have backups of them.

    The problem is, I have absolutely no idea as to what is causing these files to vanish. I have ruled out an attack on my server, as I uploaded a few files to the directory Friday night, and Saturday night they were gone; during this time, the server had no access to the internet due to issues with Static IP.

    I have been struggling with this problem all day yesterday to no avail. Has anybody seen this type of issue before, or have any theories on what has happened to these files? And remember, I want to recover these files, if possible, so please do not blow me off and tell me to get a new HDD.

    Thank you.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,387
    Check the output of
    Code:
    dmesg
    for possible disc errors.
    Additionally raid controller logs, if available.

    Then you could do:
    Code:
    updatedb
    locate <FILENAME_THAT_YOU_REMEMBER>
    If you can rule out a harddisc error or intrusion:
    Files do not just disappear.
    Someone or something deleted them.
    What processes and cronjobs are running?


    Other than that:
    You probably dont want to hear this, but backup and automization are a good idea,
    once/if you have your server running again.
    My favourite tools for that are bacula and Documentation | Puppet Labs - Learning Puppet
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Dec 2011
    Posts
    7
    Quote Originally Posted by Irithori View Post
    Check the output of
    Code:
    dmesg
    for possible disc errors.
    Additionally raid controller logs, if available.

    Then you could do:
    Code:
    updatedb
    locate <FILENAME_THAT_YOU_REMEMBER>
    If you can rule out a harddisc error or intrusion:
    Files do not just disappear.
    Someone or something deleted them.
    What processes and cronjobs are running?


    Other than that:
    You probably dont want to hear this, but backup and automization are a good idea,
    once/if you have your server running again.
    Ok, I am not really good with Linux or with reading logs, but here is the log from dmesg:
    Code:
    fuse init (API version 7.13)
    msgmni has been set to 1732
    alg: No test for stdrng (krng)
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
    io scheduler noop registered
    io scheduler deadline registered (default)
    pcieport 0000:00:1c.0: setting latency timer to 64
    pcieport 0000:00:1c.0: irq 24 for MSI/MSI-X
    pcieport 0000:00:1c.1: setting latency timer to 64
    pcieport 0000:00:1c.1: irq 25 for MSI/MSI-X
    pcieport 0000:00:1c.2: setting latency timer to 64
    pcieport 0000:00:1c.2: irq 26 for MSI/MSI-X
    pcieport 0000:00:1c.3: setting latency timer to 64
    pcieport 0000:00:1c.3: irq 27 for MSI/MSI-X
    input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
    ACPI: Lid Switch [LID]
    input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
    ACPI: Power Button [PBTN]
    input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2
    ACPI: Sleep Button [SBTN]
    ACPI: SSDT 7f6921f5 001AF (v01  PmRef  Cpu0Ist 00003000 INTL 20050624)
    ACPI: SSDT 7f691faa 001C6 (v01  PmRef  Cpu0Cst 00003001 INTL 20050624)
    ACPI: SSDT 7f6923a4 00090 (v01  PmRef  Cpu1Ist 00003000 INTL 20050624)
    ACPI: SSDT 7f692170 00085 (v01  PmRef  Cpu1Cst 00003000 INTL 20050624)
    thermal LNXTHERM:01: registered as thermal_zone0
    ACPI: Thermal Zone [THM] (44 C)
    isapnp: Scanning for PnP cards...
    isapnp: No Plug & Play device found
    Real Time Clock Driver v1.12b
    Non-volatile memory driver v1.3
    Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    Floppy drive(s): fd0 is 1.44M
    floppy0: no floppy controllers found
    brd: module loaded
    input: Macintosh mouse button emulation as /devices/virtual/input/input3
    Uniform Multi-Platform E-IDE driver
    ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
    ide-gd driver 1.18
    ide-cd driver 5.00
    ata_piix 0000:00:1f.2: version 2.13
    ata_piix 0000:00:1f.2: PCI INT B -> GSI 17 (level, low) -> IRQ 17
    ata_piix 0000:00:1f.2: MAP [ P0 P2 IDE IDE ]
    ata_piix 0000:00:1f.2: setting latency timer to 64
    scsi0 : ata_piix
    scsi1 : ata_piix
    ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xbfa0 irq 14
    ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xbfa8 irq 15
    PPP generic driver version 2.4.2
    PPP Deflate Compression module registered
    NET: Registered protocol family 24
    tun: Universal TUN/TAP device driver, 1.6
    tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 20 (level, low) -> IRQ 20
    ehci_hcd 0000:00:1d.7: setting latency timer to 64
    ehci_hcd 0000:00:1d.7: EHCI Host Controller
    ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
    ehci_hcd 0000:00:1d.7: using broken periodic workaround
    ehci_hcd 0000:00:1d.7: debug port 1
    ehci_hcd 0000:00:1d.7: cache line size of 64 is not supported
    ehci_hcd 0000:00:1d.7: irq 20, io mem 0xffa80000
    ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 8 ports detected
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    uhci_hcd: USB Universal Host Controller Interface driver
    uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
    uhci_hcd 0000:00:1d.0: setting latency timer to 64
    uhci_hcd 0000:00:1d.0: UHCI Host Controller
    uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
    uhci_hcd 0000:00:1d.0: irq 20, io base 0x0000bf80
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 2 ports detected
    uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21
    uhci_hcd 0000:00:1d.1: setting latency timer to 64
    uhci_hcd 0000:00:1d.1: UHCI Host Controller
    uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
    uhci_hcd 0000:00:1d.1: irq 21, io base 0x0000bf60
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 2 ports detected
    uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 22 (level, low) -> IRQ 22
    uhci_hcd 0000:00:1d.2: setting latency timer to 64
    uhci_hcd 0000:00:1d.2: UHCI Host Controller
    uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
    uhci_hcd 0000:00:1d.2: irq 22, io base 0x0000bf40
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 2 ports detected
    uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 23 (level, low) -> IRQ 23
    uhci_hcd 0000:00:1d.3: setting latency timer to 64
    uhci_hcd 0000:00:1d.3: UHCI Host Controller
    uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
    uhci_hcd 0000:00:1d.3: irq 23, io base 0x0000bf20
    hub 5-0:1.0: USB hub found
    hub 5-0:1.0: 2 ports detected
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new interface driver ums-alauda
    usbcore: registered new interface driver ums-cypress
    usbcore: registered new interface driver ums-freecom
    usbcore: registered new interface driver ums-isd200
    usbcore: registered new interface driver ums-jumpshot
    usbcore: registered new interface driver ums-karma
    usbcore: registered new interface driver ums-onetouch
    usbcore: registered new interface driver ums-sddr09
    usbcore: registered new interface driver ums-sddr55
    usbcore: registered new interface driver ums-usbat
    usbcore: registered new interface driver berry_charge
    PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
    serio: i8042 KBD port at 0x60,0x64 irq 1
    serio: i8042 AUX port at 0x60,0x64 irq 12
    mice: PS/2 mouse device common for all mice
    usbcore: registered new interface driver appletouch
    usbcore: registered new interface driver bcm5974
    cpuidle: using governor ladder
    cpuidle: using governor menu
    padlock: VIA PadLock not detected.
    padlock: VIA PadLock Hash Engine not detected.
    usbcore: registered new interface driver hiddev
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP cubic registered
    NET: Registered protocol family 17
    NET: Registered protocol family 15
    Using IPI No-Shortcut mode
    input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
    ata2.00: ATAPI: PHILIPS DVD+/-RW SDVD8820, AD15, max UDMA/33
    ata1.00: ATA-7: Hitachi HTS721010G9SA00, MCZOC10H, max UDMA/100
    ata1.00: 195371568 sectors, multi 8: LBA48 NCQ (depth 0/32)
    ata2.00: configured for UDMA/33
    ata1.00: configured for UDMA/100
    scsi 0:0:0:0: Direct-Access     ATA      Hitachi HTS72101 MCZO PQ: 0 ANSI: 5
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    sd 0:0:0:0: [sda] 195371568 512-byte logical blocks: (100 GB/93.1 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
     sda:
    scsi 1:0:0:0: CD-ROM            PHILIPS  DVD+-RW SDVD8820 AD15 PQ: 0 ANSI: 5
     sda1 sda2 sda3
    sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
    Uniform CD-ROM driver Revision: 3.20
    sr 1:0:0:0: Attached scsi CD-ROM sr0
    sr 1:0:0:0: Attached scsi generic sg1 type 5
    sd 0:0:0:0: [sda] Attached SCSI disk
    Freeing unused kernel memory: 404k freed
    usb 1-2: new high speed USB device using ehci_hcd and address 2
    hub 1-2:1.0: USB hub found
    hub 1-2:1.0: 4 ports detected
    ACPI: AC Adapter [AC] (on-line)
    ACPI: Battery Slot [BAT0] (battery absent)
    ACPI: Battery Slot [BAT1] (battery absent)
    input: DualPoint Stick as /devices/platform/i8042/serio1/input/input5
    input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input6
    intel_rng: FWH not detected
    input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:01/input/input7
    ACPI: Video Device [VID1] (multi-head: yes  rom: no  post: no)
    [Firmware Bug]: Duplicate ACPI video bus devices for the same VGA controller, please try module parameter "video.allow_duplicates=1"if the current driver doesn't work.
    usb 1-2.3: new full speed USB device using ehci_hcd and address 4
    loop: module loaded
    tg3.c:v3.106 (January 12, 2010)
    tg3 0000:09:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
    tg3 0000:09:00.0: setting latency timer to 64
    eth0: Tigon3 [partno(BCM5752KFBG) rev 6002] (PCI Express) MAC address 00:15:c5:09:c7:ce
    eth0: attached PHY is 5752 (10/100/1000Base-T Ethernet) (WireSpeed[1])
    eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
    eth0: dma_rwctrl[76180000] dma_mask[64-bit]
    yenta_cardbus 0000:03:01.0: CardBus bridge found [1028:01cc]
    yenta_cardbus 0000:03:01.0: O2: res at 0x94/0xD4: 00/ea
    yenta_cardbus 0000:03:01.0: O2: enabling read prefetch/write burst
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    yenta_cardbus 0000:03:01.0: ISA IRQ mask 0x0cb8, PCI irq 19
    yenta_cardbus 0000:03:01.0: Socket status: 30000006
    pci_bus 0000:03: Raising subordinate bus# of parent bus (#03) from #04 to #07
    yenta_cardbus 0000:03:01.0: pcmcia: parent PCI bridge I/O window: 0x5000 - 0x5fff
    pcmcia_socket pcmcia_socket0: cs: IO port probe 0x5000-0x5fff: clean.
    yenta_cardbus 0000:03:01.0: pcmcia: parent PCI bridge Memory window: 0xdf900000 - 0xdf9fffff
    yenta_cardbus 0000:03:01.0: pcmcia: parent PCI bridge Memory window: 0x80000000 - 0x83ffffff
    pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af: clean.
    pcmcia_socket pcmcia_socket0: cs: IO port probe 0x3e0-0x4ff: clean.
    pcmcia_socket pcmcia_socket0: cs: IO port probe 0x820-0x8ff: clean.
    pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc00-0xcf7: excluding 0xc80-0xc87 0xc90-0xc97
    pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff: clean.
    usb 3-1: new full speed USB device using uhci_hcd and address 2
    hub 3-1:1.0: USB hub found
    hub 3-1:1.0: 3 ports detected
    Adding 28346684k swap on /dev/sda3.  Priority:-1 extents:1 across:28346684k
    EXT4-fs (sda1): warning: maximal mount count reached, running e2fsck is recommended
    EXT4-fs (sda1): mounted filesystem with ordered data mode
    EXT4-fs (sda1): warning: maximal mount count reached, running e2fsck is recommended
    EXT4-fs (sda1): mounted filesystem with ordered data mode
    usb 3-1.2: new full speed USB device using uhci_hcd and address 3
    intel_rng: FWH not detected
    tg3 0000:09:00.0: irq 28 for MSI/MSI-X
    nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
    CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
    nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
    sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
    REISERFS (device sda2): found reiserfs format "3.6" with standard journal
    REISERFS (device sda2): using ordered data mode
    REISERFS (device sda2): journal params: device sda2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
    REISERFS (device sda2): checking transaction log (sda2)
    REISERFS (device sda2): Using r5 hash to sort names
    tg3: eth0: Link is up at 100 Mbps, full duplex.
    tg3: eth0: Flow control is on for TX and on for RX.
    The directory containing all of my plugins is /mnt/sda2/minecraft/plugins. The partitions I have are sda1, sda2, and sr0.

    Result of updatedb:
    Code:
    tc@box:~$ updatedb
    /usr/local/bin/updatedb: line 363: can't create /var/lib/locate/locatedb.n: nonexistent directory
    I tried locating one of the missing .jar's:
    Code:
    locate /mnt/sda2/minecraft/plugins/spout.jar
    Which came back with nothing. Tried the same with the -L flag, and again nothing.

  4. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,387
    It seems, there is no sign of a hardware error.

    Is sda2 mounted?
    Code:
    fdisk -l
    cat /etc/fstab
    mount
    You must always face the curtain with a bow.

  5. #5
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,387
    P.S.: It is also strange, that s/th basic like updatedb/locate throws errors.
    This usually works out of the box.
    Do you remember working on that?
    Or maybe with the /var partition?
    You must always face the curtain with a bow.

  6. #6
    Just Joined!
    Join Date
    Dec 2011
    Posts
    7
    It should be, as I can access the files on there.

    fdisk -l:
    Code:
    Disk /dev/sda: 100.0 GB, 100030242816 bytes
    255 heads, 63 sectors/track, 12161 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks  Id System
    /dev/sda1   *           1         122      979933+ 83 Linux
    /dev/sda2             123        8632    68356575  83 Linux
    /dev/sda3            8633       12161    28346692+ 82 Linux swap
    cat /etc/fstab
    Code:
    # /etc/fstab
    proc            /proc        proc    defaults          0       0
    sysfs           /sys         sysfs   defaults          0       0
    devpts          /dev/pts     devpts  defaults          0       0
    tmpfs           /dev/shm     tmpfs   defaults          0       0
    /dev/sda1       /mnt/sda1       ext4     noauto,users,exec    0 0 # Added by TC
    /dev/sda2       /mnt/sda2       reiserfs noauto,users,exec    0 0 # Added by TC
    /dev/sda3       none            swap     defaults             0 0 # Added by TC
    /dev/sr0        /mnt/sr0        auto     noauto,users,exec    0 0 # Added by TC
    mount
    Code:
    rootfs on / type rootfs (rw,relatime,size=1858884k,nr_inodes=220640)
    proc on /proc type proc (rw,relatime)
    sysfs on /sys type sysfs (rw,relatime)
    devpts on /dev/pts type devpts (rw,relatime,mode=600)
    tmpfs on /dev/shm type tmpfs (rw,relatime)
    /dev/sda1 on /mnt/sda1 type ext4 (rw,relatime,barrier=1,data=ordered)
    /dev/loop0 on /tmp/tcloop/mineos+ type squashfs (ro,relatime)
    /dev/loop1 on /tmp/tcloop/gcc_libs type squashfs (ro,relatime)
    /dev/loop2 on /tmp/tcloop/openssl-0.9.8 type squashfs (ro,relatime)
    /dev/loop3 on /tmp/tcloop/openssh type squashfs (ro,relatime)
    /dev/loop4 on /tmp/tcloop/squashfs-tools-4.x type squashfs (ro,relatime)
    /dev/loop5 on /tmp/tcloop/ncurses-common type squashfs (ro,relatime)
    /dev/loop6 on /tmp/tcloop/ncurses type squashfs (ro,relatime)
    /dev/loop7 on /tmp/tcloop/screen type squashfs (ro,relatime)
    /dev/loop8 on /tmp/tcloop/netfilter-2.6.33.3-tinycore type squashfs (ro,relatime)
    /dev/loop9 on /tmp/tcloop/iptables type squashfs (ro,relatime)
    /dev/loop10 on /tmp/tcloop/readline type squashfs (ro,relatime)
    /dev/loop11 on /tmp/tcloop/pcre type squashfs (ro,relatime)
    /dev/loop12 on /tmp/tcloop/python type squashfs (ro,relatime)
    /dev/loop13 on /tmp/tcloop/rdiff type squashfs (ro,relatime)
    /dev/loop14 on /tmp/tcloop/openjdk-7-jre type squashfs (ro,relatime)
    /dev/loop15 on /tmp/tcloop/grub-0.97-splash type squashfs (ro,relatime)
    /dev/loop16 on /tmp/tcloop/sqlite3 type squashfs (ro,relatime)
    /dev/loop17 on /tmp/tcloop/mkisofs-tools type squashfs (ro,relatime)
    /dev/loop18 on /tmp/tcloop/mtd-2.6.33.3-tinycore type squashfs (ro,relatime)
    /dev/loop19 on /tmp/tcloop/filesystems-2.6.33.3-tinycore type squashfs (ro,relatime)
    /dev/loop20 on /tmp/tcloop/reiserfsprogs type squashfs (ro,relatime)
    /dev/loop21 on /tmp/tcloop/findutils type squashfs (ro,relatime)
    /dev/loop22 on /tmp/tcloop/cfdisk type squashfs (ro,relatime)
    /dev/loop23 on /tmp/tcloop/libpng type squashfs (ro,relatime)
    /dev/loop24 on /tmp/tcloop/libpng-dev type squashfs (ro,relatime)
    /dev/loop25 on /tmp/tcloop/lighttpd-lite type squashfs (ro,relatime)
    /dev/loop26 on /tmp/tcloop/openssl-0.9.8-dev type squashfs (ro,relatime)
    /dev/loop27 on /tmp/tcloop/fuse type squashfs (ro,relatime)
    /dev/loop28 on /tmp/tcloop/glib2 type squashfs (ro,relatime)
    /dev/loop29 on /tmp/tcloop/sshfs-fuse type squashfs (ro,relatime)
    /dev/loop30 on /tmp/tcloop/tcp_wrappers type squashfs (ro,relatime)
    /dev/loop31 on /tmp/tcloop/portmap type squashfs (ro,relatime)
    /dev/loop32 on /tmp/tcloop/nfs-utils type squashfs (ro,relatime)
    /dev/loop33 on /tmp/tcloop/expat2 type squashfs (ro,relatime)
    /dev/loop34 on /tmp/tcloop/apr type squashfs (ro,relatime)
    /dev/loop35 on /tmp/tcloop/apr-util type squashfs (ro,relatime)
    /dev/loop36 on /tmp/tcloop/nano type squashfs (ro,relatime)
    /dev/loop37 on /tmp/tcloop/busybox-httpd type squashfs (ro,relatime)
    /dev/loop38 on /tmp/tcloop/syslinux type squashfs (ro,relatime)
    /dev/loop39 on /tmp/tcloop/libiconv type squashfs (ro,relatime)
    /dev/loop40 on /tmp/tcloop/libidn type squashfs (ro,relatime)
    /dev/loop41 on /tmp/tcloop/wget type squashfs (ro,relatime)
    /dev/loop42 on /tmp/tcloop/bzip2-lib type squashfs (ro,relatime)
    /dev/loop43 on /tmp/tcloop/libltdl type squashfs (ro,relatime)
    /dev/loop44 on /tmp/tcloop/curl type squashfs (ro,relatime)
    /dev/loop45 on /tmp/tcloop/libgdbm type squashfs (ro,relatime)
    /dev/loop46 on /tmp/tcloop/bsddb type squashfs (ro,relatime)
    /dev/loop47 on /tmp/tcloop/gmp type squashfs (ro,relatime)
    /dev/loop48 on /tmp/tcloop/libmcrypt type squashfs (ro,relatime)
    /dev/loop49 on /tmp/tcloop/libxml2 type squashfs (ro,relatime)
    /dev/loop50 on /tmp/tcloop/libxslt type squashfs (ro,relatime)
    /dev/loop51 on /tmp/tcloop/perl5 type squashfs (ro,relatime)
    /dev/loop52 on /tmp/tcloop/mysql type squashfs (ro,relatime)
    /dev/loop53 on /tmp/tcloop/php5 type squashfs (ro,relatime)
    /dev/loop54 on /tmp/tcloop/vm-scsi-2.6.33.3-tinycore type squashfs (ro,relatime)
    /dev/loop55 on /tmp/tcloop/scsi-2.6.33.3-tinycore type squashfs (ro,relatime)
    /dev/loop56 on /tmp/tcloop/libmemcache type squashfs (ro,relatime)
    /dev/loop57 on /tmp/tcloop/gamin type squashfs (ro,relatime)
    /dev/loop58 on /tmp/tcloop/lighttpd type squashfs (ro,relatime)
    /dev/loop59 on /tmp/tcloop/lighttpd-mysql type squashfs (ro,relatime)
    /dev/loop60 on /tmp/tcloop/chrony type squashfs (ro,relatime)
    /dev/loop61 on /tmp/tcloop/Xlibs type squashfs (ro,relatime)
    /dev/loop62 on /tmp/tcloop/Xprogs type squashfs (ro,relatime)
    /dev/loop63 on /tmp/tcloop/Xvesa type squashfs (ro,relatime)
    /dev/loop64 on /tmp/tcloop/flwm_topside type squashfs (ro,relatime)
    /dev/loop65 on /tmp/tcloop/wbar type squashfs (ro,relatime)
    /dev/loop66 on /tmp/tcloop/fluff type squashfs (ro,relatime)
    /dev/loop67 on /tmp/tcloop/perl_DBI type squashfs (ro,relatime)
    /dev/loop68 on /tmp/tcloop/perl_DBD_mysql type squashfs (ro,relatime)
    /dev/loop69 on /tmp/tcloop/perl_Digest_SHA1 type squashfs (ro,relatime)
    /dev/loop70 on /tmp/tcloop/perl_Net_MySQL type squashfs (ro,relatime)
    /dev/loop71 on /tmp/tcloop/dbus type squashfs (ro,relatime)
    /dev/loop72 on /tmp/tcloop/libasound type squashfs (ro,relatime)
    /dev/loop73 on /tmp/tcloop/shared-mime-info type squashfs (ro,relatime)
    /dev/loop74 on /tmp/tcloop/Xorg-7.5-lib type squashfs (ro,relatime)
    /dev/loop75 on /tmp/tcloop/graphics-libs-1 type squashfs (ro,relatime)
    /dev/loop76 on /tmp/tcloop/gdk-pixbuf2 type squashfs (ro,relatime)
    /dev/loop77 on /tmp/tcloop/fontconfig type squashfs (ro,relatime)
    /dev/loop78 on /tmp/tcloop/libxft type squashfs (ro,relatime)
    /dev/loop79 on /tmp/tcloop/pango type squashfs (ro,relatime)
    /dev/loop80 on /tmp/tcloop/pixman type squashfs (ro,relatime)
    /dev/loop81 on /tmp/tcloop/cairo type squashfs (ro,relatime)
    /dev/loop82 on /tmp/tcloop/atk type squashfs (ro,relatime)
    /dev/loop83 on /tmp/tcloop/gtk2 type squashfs (ro,relatime)
    /dev/loop84 on /tmp/tcloop/bluegriffon type squashfs (ro,relatime)
    /dev/loop85 on /tmp/tcloop/bluegriffon-cn type squashfs (ro,relatime)
    /dev/loop86 on /tmp/tcloop/smartmontools type squashfs (ro,relatime)
    /dev/loop87 on /tmp/tcloop/testdisk-6.11.3 type squashfs (ro,relatime)
    /dev/loop88 on /tmp/tcloop/foremost type squashfs (ro,relatime)
    /dev/sda2 on /mnt/sda2 type reiserfs (rw,relatime)
    Also, this is my crontab that I have set up for backups, archiving, and shutting down the server at night, although nothing in there affects /plugins.
    Code:
    5 0 * * * cd /usr/games/minecraft; python /usr/games/minecraft/admin_console.py say one Generating new map of server, expect lag.....; /usr/games/minecraft/admin_console.py map one; /usr/games/minecraft/admin_console.py say one Map generation complete;
    
    0,15,30,45 0-2,4-23 * * * cd /usr/games/minecraft; python /usr/games/minecraft/admin_console.py say one Server Backing Up, May Lag...; python /usr/games/minecraft/admin_console.py backup one; python /usr/games/minecraft/admin_console.py say one Backup Complete;
    
    0 3 * * * cd /usr/games/minecraft; python /usr/games/minecraft/admin_console.py say one Server Shutting Down...; python /usr/games/minecraft/admin_console.py stop one; python /usr/games/minecraft/admin_console.py backup one; python /usr/games/minecraft/admin_console.py backup one; python /usr/games/minecraft/admin_console.py archive one; sudo poweroff
    
    58 2 * * * cd /usr/games/minecraft; python /usr/games/minecraft/admin_console.py backup one; python /usr/games/minecraft/admin_console.py say one Server Shutting Down in 2 Minutes, finish up whatever you are doing...; python /usr/games/minecraft/admin_console.py backup two; python /usr/games/minecraft/admin_console.py say two Server Shutting Down in 2 Minutes, finish up what you are doing...

  7. #7
    Just Joined!
    Join Date
    Dec 2011
    Posts
    7
    Quote Originally Posted by Irithori View Post
    P.S.: It is also strange, that s/th basic like updatedb/locate throws errors.
    This usually works out of the box.
    Do you remember working on that?
    Or maybe with the /var partition?
    Not really, the only thing I have ever touched in /var is the /var/www/httpdoc directory to add in webpages so users can look at maps of the server or for Moderators to view game history.

  8. #8
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,387
    Hmm,
    there are no hardware errors,
    the filesystem is mounted,
    no obvious errors in the crons you showed.

    I am not familiar with minecraft.
    What does that backup include?
    Only game data or also the installation files?

    You can also try this:
    Code:
    find /mnt/sda2 -iname "*spout.jar*"
    find /mnt/sda2 -iname "*minecraft*"
    If that doesnt find anything, I can only assume, that the files/directories have been deleted by accident.
    Last edited by Irithori; 12-18-2011 at 09:45 PM.
    You must always face the curtain with a bow.

  9. #9
    Just Joined!
    Join Date
    Dec 2011
    Posts
    7
    Oooh,
    Code:
    find /mnt/sda2 -iname "*spout.jar*"
    seems to have hit something!

    Code:
    tc@box:~$ find /mnt/sda2 -iname "*spout.jar*"
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/bukkit_update/plugins/Spout.jar.2011-11-19T17:15:01-05:00.snapshot.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-22T03:00:13-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-11-01T03:00:15-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-23T21:30:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-08T19:30:02-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-05T03:00:05-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-21T03:00:13-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-23T03:00:14-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-09-11T03:00:05-04:00.missing
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-11-02T03:00:16-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-11-12T03:00:26-05:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-09-29T03:00:05-04:00.snapshot.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-09-23T03:00:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-23T22:00:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-18T23:45:02-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-05T19:30:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-18T21:45:02-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-16T02:00:02-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-24T03:00:15-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-08T18:00:02-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-09T16:45:03-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-16T03:00:17-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-03T23:45:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-15T20:30:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-17T20:30:02-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-09-25T19:45:02-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-15T03:00:11-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-17T03:00:12-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-19T03:00:13-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-20T03:00:14-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-15T19:15:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-05T20:15:02-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-31T03:00:14-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-09-29T00:45:01-04:00.missing
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-03T03:00:04-04:00.missing
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-18T03:00:13-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-10T19:00:02-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-09-22T16:30:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-09-25T03:00:04-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-18T23:30:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-13T03:00:11-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-09T13:00:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-18T21:30:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-09T12:15:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-11-10T03:00:16-05:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-11-14T03:00:18-05:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-10T03:00:16-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-09T16:30:02-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-08T17:00:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-09-26T15:00:01-04:00.missing
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-08T19:45:02-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-12T03:00:11-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-14T03:00:12-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-29T03:00:14-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-30T03:00:15-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-12T21:45:02-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-11T03:00:11-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-09-25T19:30:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-09-24T03:00:05-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-05T22:00:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-24T09:00:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-15T23:30:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-11-19T17:00:02-05:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-03T23:30:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-11-06T03:00:15-05:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-11-08T03:00:16-05:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-09T03:00:05-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-03T23:15:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-06T03:00:04-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-28T03:00:15-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-11-03T03:00:15-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-05T20:00:02-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-09-27T03:00:05-04:00.snapshot.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-09T13:30:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-11-04T03:00:16-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-09-25T20:45:02-04:00.snapshot.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-11-19T17:15:01-05:00.snapshot.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-08T20:15:01-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/temp/Spout.jar.2011-10-04T03:00:04-04:00.diff.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/Spout.jar.2011-09-26T14:45:01-04:00.snapshot.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/Spout.jar.2011-09-30T03:00:04-04:00.missing
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/Spout.jar.2011-09-28T22:45:01-04:00.snapshot.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/Spout.jar.2011-09-29T03:00:05-04:00.missing
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/Spout.jar.2011-09-25T20:45:02-04:00.missing
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/Spout.jar.2011-09-30T02:58:01-04:00.snapshot.gz
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/Spout.jar.2011-09-27T03:00:05-04:00.missing
    /mnt/sda2/minecraft/backup/one/rdiff-backup-data/increments/update/Spout.jar.2011-10-02T18:00:01-04:00.snapshot.gz
    /mnt/sda2/minecraft/backup/oneOLD/bukkit_update/plugins/Spout.jar
    This is strange to me, as the plugins are NOT supposed to be backed-up. Alas, I don't know the contents of the backup python script. If my files ARE saved in one of these areas, I might be able to recover them, it's just a matter of how....

    And about how Minecraft is setup to run in this distro:

    The server files that actually run Minecraft are in /usr/games/minecraft/ram-worlds, and /ram-worlds/[one, two, or three] contains the world data, the server logs, the information for OP's (moderators), and a symlink to the /plugins directory (which is why I find it strange that the plugins get backed up at all). /mnt/sda2/minecraft contains 4 directories: /plugins, /backups (holds the rdiff data), /archives (takes the entire world ~/ram-worlds/[one/two/three] directory and tarballs it), and /snapshots, which contains basic, static maps of the Minecraft world.

    I will take a look at the backups directory and see if I can recover any of my data from there.


    EDIT: Nevermind, there is no plugin data in the backup folder, and I originally suspected. It was just some data that the plugin itself saved in the ~/ram-worlds/one directory, which is of no use to me. IF this data WAS deleted somehow, would you know of any ways that I could get it back? I know the data isn't completely destroyed until overwritten.

  10. #10
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,387
    This is a reiserfs, which I have little experience with.
    I used it only for gentoo ebuilds for performance reasons.
    These are redundant.


    Unfortunately, the usual suspects for this kind of recovery only work for ext3/4
    PhotoRec - CGSecurity
    gET iT i sAY, giis - ext3 File Undelete Tool

    I only found this very old, and somewhat unconfirmed howto:
    ReiserFS undelete/data recovery HOWTO :: antrix.net

    Warning: If you want to be sure to not cause additional damage/data loss, then a partition image of sda2 should be made with dd beforehand.


    But tbh:
    The find confirmed, that your files are gone.
    I would probably start from scratch instead of carving for previously deleted bits and pieces.
    You must always face the curtain with a bow.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •