• Re: Where are my backup files?

    From Grant Taylor@3:770/3 to nelso...@gmail.com on Sun Jan 31 15:11:11 2021
    On 1/31/21 2:22 PM, nelso...@gmail.com wrote:
    Where are my missing 22591 files?
    They are probably in the lost+found directory.

    Their names may be gone, and now named by inode number.

    Some of the directory tree may be intact therein.

    You probably have a big puzzle ahead of you. Hopefully all the pieces
    (files) are there.

    File system corruption is no fun.

    Good luck.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From nelsonse48@gmail.com@3:770/3 to All on Sun Jan 31 13:22:37 2021
    I recently encounted an i/o error on my backup NAS drive, so I ran fsck. It indicated a bad superblock so I ran sudo fsck -b 8193 /dev/sdc1 and answered y to fixes. Now I get this:

    pi@rpi4b:~/Downloads/complete $ sudo fsck.ext4 /dev/sdc1
    e2fsck 1.44.5 (15-Dec-2018)
    NAS8: clean, 22591/244191232 files, 1356495135/1953506304 blocks pi@rpi4b:~/Downloads/complete $ sudo mount -t ext4 /dev/sdc1 /mnt/NAS pi@rpi4b:~/Downloads/complete $ ls /mnt/NAS
    lost+found
    pi@rpi4b:~/Downloads/complete $ sudo ls /mnt/NAS
    lost+found
    pi@rpi4b:~/Downloads/complete $ sudo ls -a /mnt/NAS
    . .. lost+found
    pi@rpi4b:~/Downloads/complete $


    Where are my missing 22591 files? Can I recover them? I am running updated buster on my raspberry pi 4b w/ 4Gig.
    Thanks.
    --Steven

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to nelso...@gmail.com on Sun Jan 31 23:12:59 2021
    On Sun, 31 Jan 2021 13:22:37 -0800, nelso...@gmail.com wrote:

    I recently encounted an i/o error on my backup NAS drive, so I ran fsck.
    It indicated a bad superblock so I ran sudo fsck -b 8193 /dev/sdc1 and answered y to fixes. Now I get this:

    pi@rpi4b:~/Downloads/complete $ sudo fsck.ext4 /dev/sdc1 e2fsck 1.44.5 (15-Dec-2018)
    NAS8: clean, 22591/244191232 files, 1356495135/1953506304 blocks pi@rpi4b:~/Downloads/complete $ sudo mount -t ext4 /dev/sdc1 /mnt/NAS pi@rpi4b:~/Downloads/complete $ ls /mnt/NAS lost+found pi@rpi4b:~/Downloads/complete $ sudo ls /mnt/NAS lost+found pi@rpi4b:~/Downloads/complete $ sudo ls -a /mnt/NAS . .. lost+found pi@rpi4b:~/Downloads/complete $


    Where are my missing 22591 files? Can I recover them? I am running
    updated buster on my raspberry pi 4b w/ 4Gig.
    Thanks.
    --Steven

    /lost+found is normally empty on a clean partition with no disk errors

    So, why do you think there are no files or directories on your NAS disk
    since you apparently haven't run "sudo ls /" or "sudo df -h"?

    How many files were you expecting to see?
    Occupying how many GB?
    Does "df -h" show anything like you expect?
    How long is it since your last backup of the NAS disk(s)?
    How many data/files/directories have you created or changed since your
    last backup?

    How how much irreplaceable stuff would you loose if you:
    - check the NAS disk partition(s) and replace any that are damaged.
    Use parted or gparted for this: use parted if you're running the NAS
    via a terminal console or gparted if you're using a graphical desktop.

    - reinstall the NAS OS from scratch

    - restore the contents of the /home directory from your last backup

    So, have a look at your RPi's filing system as I suggest above, work out
    how much important stuff stuff you've lost and then work out a recovery
    plan and execute it.

    This is what I do and, since I'm paranoid about making backups and
    keeping them offline in a firesafe:

    - My house server is backed up overnight every night to a permanently
    connected external USB drive for protection against finger-trouble.

    - All my computers and backed up weekly to two generations of USB drives
    which are kept offline in a firesafe.

    As a result I haven't lost any data I care about despite having had
    several disk drives fail permanently over the last 30 years or so.

    I hope this gives you some ideas about what to look at and determine
    whether the NAS drive is recoverable and, if it is, how to do a partial
    restore to it.


    --
    --
    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Mike@3:770/3 to nelso...@gmail.com on Sun Jan 31 22:42:02 2021
    In article <833f08e6-e3a6-4e08-9c8e-53a62cc5548dn@googlegroups.com>, nelso...@gmail.com <nelsonse48@gmail.com> wrote:

    NAS8: clean, 22591/244191232 files, 1356495135/1953506304 blocks

    ...

    pi@rpi4b:~/Downloads/complete $ sudo ls -a /mnt/NAS
    . .. lost+found

    Try "ls -la /mnt/NAS/lost+found"

    and pray you don't have 22591 files with stupid names (e.g.
    all just the inode number as a name) in one single very flat
    directory ...

    "Good news, I found your files"

    "Bad news ... you're going to be doing a lot of renaming ..."

    Please say you have a backup ... :(
    --
    --------------------------------------+------------------------------------ Mike Brown: mjb[-at-]signal11.org.uk | http://www.signal11.org.uk

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Mike@3:770/3 to martin@mydomain.invalid on Mon Feb 1 14:06:52 2021
    In article <rv7dhr$qhv$1@dont-email.me>,
    Martin Gregorie <martin@mydomain.invalid> wrote:

    /lost+found is normally empty on a clean partition with no disk errors

    Correct.

    So, why do you think there are no files or directories on your NAS disk
    since you apparently haven't run "sudo ls /"

    Because "ls /" would show the root filesystem of the machine (irrelevant)
    and the OP did mount the affected disk on /mnt/NAS, and then did

    ls /mnt/NAS

    which showed an empty disk has been mounted, save for lost+found (which I suggested they look *inside*, not just squint *at* as they've done so far!)

    How many files were you expecting to see?

    22591. As per fsck's claim that there are 22591 files in the fscked-up filesystem (hiding!)

    Tips about restoring /home etc. may be a red-herring here, as there is
    no indication there is anything *wrong* with /home, or the / filesystem, proceed
    with caution.

    Make very sure you know WHICH filesystem you are mounting/fscking/wiping/restoring
    before doing it.

    The best time to shoot yourself in the *other* foot, is when you are just recovering from shooting yourself in the first one!
    --
    --------------------------------------+------------------------------------ Mike Brown: mjb[-at-]signal11.org.uk | http://www.signal11.org.uk

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From nelsonse48@gmail.com@3:770/3 to Mike on Mon Feb 1 07:19:28 2021
    On Monday, February 1, 2021 at 8:20:07 AM UTC-6, Mike wrote:
    In article <rv7dhr$qhv$1...@dont-email.me>,
    Martin Gregorie <mar...@mydomain.invalid> wrote:

    /lost+found is normally empty on a clean partition with no disk errors Correct.
    So, why do you think there are no files or directories on your NAS disk >since you apparently haven't run "sudo ls /"
    Because "ls /" would show the root filesystem of the machine (irrelevant) and the OP did mount the affected disk on /mnt/NAS, and then did

    ls /mnt/NAS

    which showed an empty disk has been mounted, save for lost+found (which I suggested they look *inside*, not just squint *at* as they've done so far!) >How many files were you expecting to see?
    22591. As per fsck's claim that there are 22591 files in the fscked-up filesystem (hiding!)

    Tips about restoring /home etc. may be a red-herring here, as there is
    no indication there is anything *wrong* with /home, or the / filesystem, proceed
    with caution.

    Make very sure you know WHICH filesystem you are mounting/fscking/wiping/restoring
    before doing it.

    The best time to shoot yourself in the *other* foot, is when you are just recovering from shooting yourself in the first one!
    -- --------------------------------------+------------------------------------ Mike Brown: mjb[-at-]signal11.org.uk | http://www.signal11.org.uk


    Thanks to all. I found all the missing folders in lost+found with #inode-numbers. It was easy to move those folders into the main directory and rename to original names as best as I remember. All seems well now. I just got this 8TB drive for
    christmas and am hoping it is not dying already. I learned about lost+found in this adventure. I always wondered what it was used for. I found that fsck did a better job than gparted for resurrecting drive.

    --Steven

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Grant Taylor@3:770/3 to nelso...@gmail.com on Mon Feb 1 10:01:55 2021
    On 2/1/21 8:19 AM, nelso...@gmail.com wrote:
    I just got this 8TB drive for christmas and am hoping it is not
    dying already.

    File system corruption can be caused by a LOT of things. I highly doubt
    that a new drive is dying.

    I found that fsck did a better job than gparted for resurrecting drive.

    fsck (file system checking utility) and gparted (partition management
    utility) do completely different things.

    At least I'm not aware of gparted having any fsck capabilities.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Mike@3:770/3 to nelso...@gmail.com on Mon Feb 1 18:28:10 2021
    In article <7ef35b7f-9627-4c82-8dd6-c0ee6cb6fea2n@googlegroups.com>, nelso...@gmail.com <nelsonse48@gmail.com> wrote:

    Thanks to all. I found all the missing folders in lost+found with #inode-n= >umbers. It was easy to move those folders into the main directory and rena= >me to original names as best as I remember.

    Be thankful it was just a few folders -- you could have had 22,000+ *files*
    in that condition!

    learned about lost+found in this adventure. I always wondered what it was us= >ed for.

    The more sane equivalent of when DOS used to dump FILECHK.000 FILECHK.001
    etc. all over the root of your C:\ Drive.

    "Found 1783 lost clusters in 832 chains, convert to files? [Y/N?]"

    Bad times ... :(

    fsck can check (and repair). It can also sometimes check and destroy, in
    its attempt to repair. There are no guarantees, so make backups. Someday
    you'll need it.

    Now, go and learn about "smartmon tools" and "smartctl" just to check
    that the new drive isn't *actually* dying! :)
    --
    --------------------------------------+------------------------------------ Mike Brown: mjb[-at-]signal11.org.uk | http://www.signal11.org.uk

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to nelso...@gmail.com on Tue Feb 2 12:23:25 2021
    On 01/02/2021 15:19, nelso...@gmail.com wrote:
    I just got this 8TB drive for christmas and am hoping it is not dying already.

    use SMART to interrogate it. This really us a useful addition to drives.

    I think the linux package is 'smartmontools'


    --
    Microsoft : the best reason to go to Linux that ever existed.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Mike on Tue Feb 2 12:24:16 2021
    On 01/02/2021 18:28, Mike wrote:
    Now, go and learn about "smartmon tools" and "smartctl" just to check
    that the new drive isn't*actually* dying!:)

    +10001!!!

    --
    "Women actually are capable of being far more than the feminists will
    let them."

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From alister@3:770/3 to nelso...@gmail.com on Tue Feb 2 14:59:40 2021
    On Sun, 31 Jan 2021 13:22:37 -0800, nelso...@gmail.com wrote:

    I recently encounted an i/o error on my backup NAS drive, so I ran fsck.
    It indicated a bad superblock so I ran sudo fsck -b 8193 /dev/sdc1 and answered y to fixes. Now I get this:

    pi@rpi4b:~/Downloads/complete $ sudo fsck.ext4 /dev/sdc1 e2fsck 1.44.5 (15-Dec-2018)
    NAS8: clean, 22591/244191232 files, 1356495135/1953506304 blocks pi@rpi4b:~/Downloads/complete $ sudo mount -t ext4 /dev/sdc1 /mnt/NAS pi@rpi4b:~/Downloads/complete $ ls /mnt/NAS lost+found pi@rpi4b:~/Downloads/complete $ sudo ls /mnt/NAS lost+found pi@rpi4b:~/Downloads/complete $ sudo ls -a /mnt/NAS . .. lost+found pi@rpi4b:~/Downloads/complete $


    Where are my missing 22591 files? Can I recover them? I am running
    updated buster on my raspberry pi 4b w/ 4Gig.
    Thanks.
    --Steven

    Glad to see in the thread that you have located & recovered your files

    as a side topic another good recovery tool is photorec

    it will scan a drive (even if the partitions have been removed) & recover anything that looks like a datafile it recognises - you will unfortunatly
    loose the file names.

    also be very careful who you let have your disk, this app will also
    recover files you did not want recovering
    (as one young lady at work discovered when she asked for assistance
    recovering lost photos), fortunately the engineer who recovered the data
    for her was a gentleman & they did not go any further.




    --
    laser, n.:
    Failed death ray.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Richard Kettlewell@3:770/3 to alister on Tue Feb 2 15:01:47 2021
    alister <alister.ware@ntlworld.com> writes:
    Glad to see in the thread that you have located & recovered your files

    as a side topic another good recovery tool is photorec

    Better still, keep backups.

    (The thread is puzzlingly titled. If they are backup files then instead
    of trying to recover them, why not just make a new backup?)

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Richard Kettlewell on Tue Feb 2 15:46:07 2021
    On 02/02/2021 15:01, Richard Kettlewell wrote:
    alister <alister.ware@ntlworld.com> writes:
    Glad to see in the thread that you have located & recovered your files

    as a side topic another good recovery tool is photorec

    Better still, keep backups.

    (The thread is puzzlingly titled. If they are backup files then instead
    of trying to recover them, why not just make a new backup?)


    Pedant.


    --
    “The urge to save humanity is almost always only a false face for the
    urge to rule it.”
    – H. L. Mencken

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jim Jackson@3:770/3 to The Natural Philosopher on Tue Feb 2 17:10:59 2021
    On 2021-02-02, The Natural Philosopher <tnp@invalid.invalid> wrote:
    On 02/02/2021 15:01, Richard Kettlewell wrote:
    alister <alister.ware@ntlworld.com> writes:
    Glad to see in the thread that you have located & recovered your files

    as a side topic another good recovery tool is photorec

    Better still, keep backups.

    (The thread is puzzlingly titled. If they are backup files then instead
    of trying to recover them, why not just make a new backup?)


    Pedant.


    Richard was not on his own, I thought the same thing! But I was glad
    things turned out ok.

    A few years ago I lost backup files when my backup disk died. New disk -
    new backup and no problem.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to Jim Jackson on Tue Feb 2 18:48:01 2021
    On Tue, 02 Feb 2021 17:10:59 +0000, Jim Jackson wrote:

    On 2021-02-02, The Natural Philosopher <tnp@invalid.invalid> wrote:
    On 02/02/2021 15:01, Richard Kettlewell wrote:
    alister <alister.ware@ntlworld.com> writes:
    Glad to see in the thread that you have located & recovered your
    files

    as a side topic another good recovery tool is photorec

    Better still, keep backups.

    (The thread is puzzlingly titled. If they are backup files then
    instead of trying to recover them, why not just make a new backup?)


    Pedant.


    Richard was not on his own, I thought the same thing! But I was glad
    things turned out ok.

    A few years ago I lost backup files when my backup disk died. New disk -
    new backup and no problem.

    I assume you now always run fsck on the backup disk after the backup and
    that you use a cycle of at least two disks for each set of data that you
    back up.



    --
    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to Richard Kettlewell on Tue Feb 2 19:01:37 2021
    On Tue, 02 Feb 2021 15:01:47 +0000
    Richard Kettlewell <invalid@invalid.invalid> wrote:

    (The thread is puzzlingly titled. If they are backup files then instead
    of trying to recover them, why not just make a new backup?)

    Perhaps it is more of an archive than a backup.

    --
    Steve O'Hara-Smith | Directable Mirror Arrays C:\>WIN | A better way to focus the sun
    The computer obeys and wins. | licences available see
    You lose and Bill collects. | http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Dr Eberhard W Lisse@3:770/3 to Richard Kettlewell on Tue Feb 2 21:38:56 2021
    Exactly what I was thinking.

    If it is only a backup, reformat the NAS drive and run a full backup.

    el

    On 2021-02-02 17:01 , Richard Kettlewell wrote:
    alister <alister.ware@ntlworld.com> writes:
    Glad to see in the thread that you have located & recovered your files

    as a side topic another good recovery tool is photorec

    Better still, keep backups.

    (The thread is puzzlingly titled. If they are backup files then instead
    of trying to recover them, why not just make a new backup?)


    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Mike@3:770/3 to invalid@invalid.invalid on Tue Feb 2 20:46:22 2021
    In article <87sg6ems2s.fsf@LkoBDZeT.terraraq.uk>,
    Richard Kettlewell <invalid@invalid.invalid> wrote:

    (The thread is puzzlingly titled. If they are backup files then instead
    of trying to recover them, why not just make a new backup?)

    Hopefully, not the sort of "backup" as mis-used in the sentence :-

    "I moved all my critical work files off my main machine onto my
    external backup drive, which has now fallen off the desk and is
    making grinding noises. How do I recover my backup?"

    Key word that gives me chills: "moved". Uh oh.

    Did you mean copied?

    "No, moved, to make space" ...

    (Uh oh)^2 ...
    --
    --------------------------------------+------------------------------------ Mike Brown: mjb[-at-]signal11.org.uk | http://www.signal11.org.uk

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Mike@3:770/3 to tnp@invalid.invalid on Tue Feb 2 20:55:28 2021
    In article <rvbg9g$6qn$3@dont-email.me>,
    The Natural Philosopher <tnp@invalid.invalid> wrote:
    On 01/02/2021 18:28, Mike wrote:
    Now, go and learn about "smartmon tools" and "smartctl" just to check
    that the new drive isn't*actually* dying!:)

    +10001!!!

    :)

    You learn these things two ways.

    Other people's near misses and disasters, or your own.

    smartmon + RAID has saved my backside more than once when "Pending Sectors" have become "Uncorrectable Sectors" and in one case "Drive? What Drive?"

    smartmon (without RAID) has flagged up problems with a disk with loss of two (2) files, both easily recovered from a backup after cloning the failing
    disk (as a first, fastest-recovery strategy).

    smartmon, however, has been utterly unable to prevent or warn about
    SD cards in a R-Pi dying without warning (once) or Pi USB memory sticks
    (twice) because that's not in its remit :(

    So, back to the backups it is.

    --
    --------------------------------------+------------------------------------ Mike Brown: mjb[-at-]signal11.org.uk | http://www.signal11.org.uk

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Green@3:770/3 to Mike on Tue Feb 2 21:39:40 2021
    Mike <mjb@signal11.invalid> wrote:

    smartmon, however, has been utterly unable to prevent or warn about
    SD cards in a R-Pi dying without warning (once) or Pi USB memory sticks (twice) because that's not in its remit :(

    I have to say that I regard SD cards in Pis (or anywhere else for that
    matter) as 'throw away when they break' devices. The whole thing (Pi
    + SD card) costs so little. On the other hand I've not managed to
    actually break either a Pi or an SD card yet! :-)

    --
    Chris Green
    ·

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Mike@3:770/3 to cl@isbd.net on Tue Feb 2 23:41:03 2021
    In article <sdtoeh-ong1.ln1@esprimo.zbmc.eu>, Chris Green <cl@isbd.net> wrote:

    smartmon, however, has been utterly unable to prevent or warn about
    SD cards in a R-Pi dying without warning (once) or Pi USB memory sticks
    (twice) because that's not in its remit :(

    I have to say that I regard SD cards in Pis (or anywhere else for that >matter) as 'throw away when they break' devices.

    Sadly yes. They *are* cheap enough to replace, however, some *warning*
    that we are about to transition from working system to "Can't write
    to file system, extfs struggling..." to "whole thing has locked up"
    to "and no it doesn't boot any more" would be nice.
    --
    --------------------------------------+------------------------------------ Mike Brown: mjb[-at-]signal11.org.uk | http://www.signal11.org.uk

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Richard Kettlewell@3:770/3 to The Natural Philosopher on Wed Feb 3 11:44:21 2021
    The Natural Philosopher <tnp@invalid.invalid> writes:
    On 02/02/2021 15:01, Richard Kettlewell wrote:
    alister <alister.ware@ntlworld.com> writes:
    Glad to see in the thread that you have located & recovered your files

    as a side topic another good recovery tool is photorec

    Better still, keep backups.

    (The thread is puzzlingly titled. If they are backup files then instead
    of trying to recover them, why not just make a new backup?)

    Pedant.

    Specifically, a pedant who didn’t lose anything when his Pi’s SD card failed without warning the other day.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Pancho@3:770/3 to Richard Kettlewell on Wed Feb 3 12:03:55 2021
    On 03/02/2021 11:44, Richard Kettlewell wrote:

    Pedant.

    Specifically, a pedant who didn’t lose anything when his Pi’s SD card failed without warning the other day.


    Surely you lost the SD card?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Pancho on Wed Feb 3 12:27:44 2021
    On 03/02/2021 12:03, Pancho wrote:
    On 03/02/2021 11:44, Richard Kettlewell wrote:

    Pedant.

    Specifically, a pedant who didn’t lose anything when his Pi’s SD card
    failed without warning the other day.


    Surely you lost the SD card?

    Pedant :-)


    --
    Gun Control: The law that ensures that only criminals have guns.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Richard Kettlewell on Wed Feb 3 12:27:15 2021
    On 03/02/2021 11:44, Richard Kettlewell wrote:
    The Natural Philosopher <tnp@invalid.invalid> writes:
    On 02/02/2021 15:01, Richard Kettlewell wrote:
    alister <alister.ware@ntlworld.com> writes:
    Glad to see in the thread that you have located & recovered your files >>>>
    as a side topic another good recovery tool is photorec

    Better still, keep backups.

    (The thread is puzzlingly titled. If they are backup files then instead
    of trying to recover them, why not just make a new backup?)

    Pedant.

    Specifically, a pedant who didn’t lose anything when his Pi’s SD card failed without warning the other day.

    I should hope not.

    But the pedantry was the strict 'one true stick' interpretation of what
    is meant by 'backup'.



    --
    When plunder becomes a way of life for a group of men in a society, over
    the course of time they create for themselves a legal system that
    authorizes it and a moral code that glorifies it.

    Frédéric Bastiat

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From NY@3:770/3 to Pancho on Wed Feb 3 14:08:34 2021
    "Pancho" <Pancho.Dontmaileme@outlook.com> wrote in message news:rve3fb$vsl$1@dont-email.me...
    On 03/02/2021 11:44, Richard Kettlewell wrote:

    Pedant.

    Specifically, a pedant who didn’t lose anything when his Pi’s SD card
    failed without warning the other day.


    Surely you lost the SD card?

    Not necessarily. It may have been that the boot files on the SD card became corrupted but the card was still capable of storing data once the card was restored from a disk image.

    This happened to me once with my Pi3. It had rebooted many times. There
    hadn't been a power cut since the last time it had successfully booted (ie unlikely to have failed to flush buffers). I hadn't installed any software updates since the last successful boot. But a normal "Reboot", like I'd done many times before, failed very early on in the boot process. I couldn't find any workaround for the error message that I got, so I had to reinstall everything - from NOOBS onwards. It was after this that I wrote a crib sheet
    of all the customisations I'd made and software I'd installed, and I make a fresh disk image (shutdown, moved SD card to Windows PC, run
    Win32DiskImager, move card back to PI and reboot) every few months. I didn't lose any user data (apart from the configurations of channels in the
    TVHeadend PVR software) because all the data (TV recordings) are stored on a separate spinning HDD rather than on the SD card. I also back up those recordings using SyncToy on Windows, accessing them via SMB share.

    It's the only time I've had a failure like this. I've carried on using the
    same SD card for several years since and it's never gone wrong again.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Oscar@3:770/3 to tnp@invalid.invalid on Wed Feb 3 14:18:29 2021
    In article <rve4r3$cg4$1@dont-email.me>,
    The Natural Philosopher <tnp@invalid.invalid> wrote:
    But the pedantry was the strict 'one true stick' interpretation of what
    is meant by 'backup'.

    Saw a cartoon the other day along the lines of:


    Tech Support:
    Did you back up?

    Scared customer:
    Why? Is it going to explode?


    Yes, it's an ambiguous word.
    --
    [J|O|R] <- .signature.gz

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Richard Kettlewell@3:770/3 to Pancho on Wed Feb 3 14:34:44 2021
    Pancho <Pancho.Dontmaileme@outlook.com> writes:
    On 03/02/2021 11:44, Richard Kettlewell wrote:
    Pedant.

    Specifically, a pedant who didn’t lose anything when his Pi’s SD card
    failed without warning the other day.

    Surely you lost the SD card?

    l-) yes, it’s a very small coaster now. Also an hour or so figuring out
    how to turn my backup back into a bootable system.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Dennis Lee Bieber@3:770/3 to All on Wed Feb 3 12:58:32 2021
    On Tue, 2 Feb 2021 21:39:40 +0000, Chris Green <cl@isbd.net> declaimed the following:

    I have to say that I regard SD cards in Pis (or anywhere else for that >matter) as 'throw away when they break' devices. The whole thing (Pi
    + SD card) costs so little. On the other hand I've not managed to
    actually break either a Pi or an SD card yet! :-)

    I did kill an SD card... I had managed to compile and run the HINT benchmark suite (had to tweak the parameters a lot -- the examples were
    listed from back in the days of 233MHz Pentiums, and a 1+GHz processor just overran the benchmark) -- using free space on the SD card for swap. After
    that I configured a USB hard drive for swap...


    --
    Wulfraed Dennis Lee Bieber AF6VN
    wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Charlie Gibbs@3:770/3 to Mike on Wed Feb 3 18:30:24 2021
    On 2021-02-02, Mike <mjb@signal11.invalid> wrote:

    You learn these things two ways.

    Other people's near misses and disasters, or your own.

    The Aviation Safety Letters issued by Transport Canada
    are headed by an appropriate saying:

    Learn from others' mistakes; you won't
    live long enough to make them all yourself.

    --
    /~\ Charlie Gibbs | "Some of you may die,
    \ / <cgibbs@kltpzyxm.invalid> | but it's a sacrifice
    X I'm really at ac.dekanfrus | I'm willing to make."
    / \ if you read it the right way. | -- Lord Farquaad (Shrek)

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From David Higton@3:770/3 to Oscar on Wed Feb 3 19:01:51 2021
    In message <601ab0b5$0$11321$e4fe514c@news.xs4all.nl>
    jornws200602@xs4all.nl (Oscar) wrote:

    Saw a cartoon the other day along the lines of:


    Tech Support:
    Did you back up?

    Scared customer:
    Why? Is it going to explode?


    Yes, it's an ambiguous word.

    "Have you put the cat out?"

    "I didn't realise it was on fire."

    David

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Mike@3:770/3 to cgibbs@kltpzyxm.invalid on Wed Feb 3 22:08:41 2021
    In article <rveq4001s5h@news3.newsguy.com>,
    Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote:
    On 2021-02-02, Mike <mjb@signal11.invalid> wrote:

    You learn these things two ways.

    Other people's near misses and disasters, or your own.

    The Aviation Safety Letters issued by Transport Canada
    are headed by an appropriate saying:

    Learn from others' mistakes; you won't
    live long enough to make them all yourself.

    I was not aware of that motto, but it's very apt!
    --
    --------------------------------------+------------------------------------ Mike Brown: mjb[-at-]signal11.org.uk | http://www.signal11.org.uk

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Dr Eberhard Lisse@3:770/3 to Dennis Lee Bieber on Thu Feb 4 12:03:45 2021
    I also have a (small form factor) USB stick in the Pi4.

    You can also connect an (external) USB SSD and rsync to it, and rsync
    (at least $HOME) to an external box.

    It's also helpful to clone the SD card and put it in save place, maybe
    even tape it to the box.

    el

    On 03/02/2021 19:58, Dennis Lee Bieber wrote:
    On Tue, 2 Feb 2021 21:39:40 +0000, Chris Green <cl@isbd.net> declaimed the following:

    I have to say that I regard SD cards in Pis (or anywhere else for that
    matter) as 'throw away when they break' devices. The whole thing (Pi
    + SD card) costs so little. On the other hand I've not managed to
    actually break either a Pi or an SD card yet! :-)

    I did kill an SD card... I had managed to compile and run the HINT benchmark suite (had to tweak the parameters a lot -- the examples were listed from back in the days of 233MHz Pentiums, and a 1+GHz processor just overran the benchmark) -- using free space on the SD card for swap. After that I configured a USB hard drive for swap...




    --
    To email me replace 'nospam' with 'el'

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Dr Eberhard W Lisse@3:770/3 to Richard Kettlewell on Fri Feb 5 07:14:42 2021
    WOuld you mind posting the steps?

    el


    On 2021-02-03 16:34 , Richard Kettlewell wrote:
    [...]
    l-) yes, it’s a very small coaster now. Also an hour or so figuring out
    how to turn my backup back into a bootable system.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Dr Eberhard W Lisse@3:770/3 to David Higton on Fri Feb 5 07:15:31 2021
    Backup is for sissies :-)-O

    el

    On 2021-02-03 21:01 , David Higton wrote:
    In message <601ab0b5$0$11321$e4fe514c@news.xs4all.nl>
    jornws200602@xs4all.nl (Oscar) wrote:

    Saw a cartoon the other day along the lines of:


    Tech Support:
    Did you back up?

    Scared customer:
    Why? Is it going to explode?


    Yes, it's an ambiguous word.

    "Have you put the cat out?"

    "I didn't realise it was on fire."

    David


    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Richard Kettlewell@3:770/3 to Dr Eberhard W Lisse on Fri Feb 5 14:55:35 2021
    Dr Eberhard W Lisse <nospam@lisse.NA> writes:
    On 2021-02-03 16:34 , Richard Kettlewell wrote:
    l-) yes, it’s a very small coaster now. Also an hour or so figuring out
    how to turn my backup back into a bootable system.
    WOuld you mind posting the steps?

    https://github.com/ewxrjk/pinotes/blob/main/restore.md

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Dr Eberhard W Lisse@3:770/3 to Richard Kettlewell on Sat Feb 6 15:48:23 2021
    Thank you,

    el

    On 2021-02-05 16:55 , Richard Kettlewell wrote:
    Dr Eberhard W Lisse <nospam@lisse.NA> writes:
    On 2021-02-03 16:34 , Richard Kettlewell wrote:
    l-) yes, it’s a very small coaster now. Also an hour or so figuring out >>> how to turn my backup back into a bootable system.
    WOuld you mind posting the steps?

    https://github.com/ewxrjk/pinotes/blob/main/restore.md


    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From A. Dumas@3:770/3 to All on Sat Feb 6 17:16:13 2021
    Op 06-02-2021 om 14:48 schreef Dr Eberhard W Lisse:
    Thank you,

    Please don't top-post, "Dr."

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)