Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #195339 > unrolled thread
| Started by | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| First post | 2018-05-06 16:30 +0200 |
| Last post | 2018-05-11 17:30 +0200 |
| Articles | 7 on this page of 67 — 20 participants |
Back to article view | Back to linux.debian.user
Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-06 16:30 +0200
Re: Backup problem using "cp" "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-06 16:40 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-06 16:50 +0200
Re: Backup problem using "cp" "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-06 17:20 +0200
Re: Backup problem using "cp" Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-05-06 17:30 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-07 13:40 +0200
Re: Backup problem using "cp" "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-07 14:10 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-07 15:10 +0200
Re: Backup problem using "cp" "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-07 15:30 +0200
Re: Backup problem using "cp" Bob Weber <bobrweber@gmail.com> - 2018-05-07 16:00 +0200
Re: Backup problem using "cp" Dan Norton <dnorton@mindspring.com> - 2018-05-07 16:50 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-07 16:10 +0200
Re: Backup problem using "cp" David Wright <deblis@lionunicorn.co.uk> - 2018-05-08 03:10 +0200
Re: Backup problem using "cp" Kushal Kumaran <kushal@locationd.net> - 2018-05-07 19:20 +0200
Re: Backup problem using "cp" Jude DaShiell <jdashiel@panix.com> - 2018-05-07 20:00 +0200
Running of rrequested tests - [was Re: Backup problem using "cp"] Richard Owlett <rowlett@cloud85.net> - 2018-05-08 17:20 +0200
Re: Running of rrequested tests - [was Backup problem using "cp"] "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-08 17:50 +0200
Re: Running of rrequested tests - [was Backup problem using "cp"] Richard Owlett <rowlett@cloud85.net> - 2018-05-08 19:40 +0200
Re: Running of rrequested tests - [was Backup problem using "cp"] "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-08 22:30 +0200
Re: Running of rrequested tests - [was Backup problem using "cp"] Richard Owlett <rowlett@cloud85.net> - 2018-05-09 14:00 +0200
Re: Running of rrequested tests - [was Backup problem using "cp"] "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-09 15:00 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] The Wanderer <wanderer@fastmail.fm> - 2018-05-08 17:50 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] Richard Owlett <rowlett@cloud85.net> - 2018-05-08 19:50 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] The Wanderer <wanderer@fastmail.fm> - 2018-05-09 04:50 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] Richard Owlett <rowlett@cloud85.net> - 2018-05-09 14:30 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] The Wanderer <wanderer@fastmail.fm> - 2018-05-09 14:50 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] Richard Hector <richard@walnut.gen.nz> - 2018-05-09 15:00 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] David Wright <deblis@lionunicorn.co.uk> - 2018-05-09 22:30 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] Greg Wooledge <wooledg@eeg.ccf.org> - 2018-05-09 22:40 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] David Wright <deblis@lionunicorn.co.uk> - 2018-05-10 16:00 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] The Wanderer <wanderer@fastmail.fm> - 2018-05-10 05:00 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] David Wright <deblis@lionunicorn.co.uk> - 2018-05-10 16:20 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] David Wright <deblis@lionunicorn.co.uk> - 2018-05-08 21:50 +0200
Re: Backup problem using "cp" Dan Purgert <dan@djph.net> - 2018-05-07 14:10 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-07 15:00 +0200
Re: Backup problem using "cp" Dan Purgert <dan@djph.net> - 2018-05-07 15:20 +0200
Re: Backup problem using "cp" Andy Smith <andy@strugglers.net> - 2018-05-07 15:30 +0200
Re: Backup problem using "cp" "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-07 16:00 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-07 16:20 +0200
Re: Backup problem using "cp" David Wright <deblis@lionunicorn.co.uk> - 2018-05-08 03:20 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-07 16:10 +0200
Re: Backup problem using "cp" David Griffith <dave@661.org> - 2018-05-07 15:00 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-07 15:50 +0200
Re: Backup problem using "cp" Richard Hector <richard@walnut.gen.nz> - 2018-05-07 16:00 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-07 16:40 +0200
Re: Backup problem using "cp" Charlie Gibbs <cgibbs@surfnaked.ca> - 2018-05-07 20:30 +0200
Re: Backup problem using "cp" David Wright <deblis@lionunicorn.co.uk> - 2018-05-08 03:00 +0200
Re: Backup problem using "cp" Dan Purgert <dan@djph.net> - 2018-05-06 16:50 +0200
Re: Backup problem using "cp" Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-05-06 17:40 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-06 21:00 +0200
Re: Backup problem using "cp" David Wright <deblis@lionunicorn.co.uk> - 2018-05-07 00:00 +0200
Re: Backup problem using "cp" Jonathan Dowland <jmtd@debian.org> - 2018-05-10 10:30 +0200
Re: Running of rrequested tests - [was Backup problem using "cp"] "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-10 11:30 +0200
Re: Backup problem using "cp" David Wright <deblis@lionunicorn.co.uk> - 2018-05-10 15:40 +0200
SUCCESS!!!! - was {Re: Backup problem using "cp"} Richard Owlett <rowlett@cloud85.net> - 2018-05-11 15:10 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} <tomas@tuxteam.de> - 2018-05-11 15:20 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Richard Owlett <rowlett@cloud85.net> - 2018-05-11 15:30 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} <tomas@tuxteam.de> - 2018-05-11 17:30 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Curt <curty@free.fr> - 2018-05-11 17:40 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Richard Owlett <rowlett@cloud85.net> - 2018-05-11 19:30 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Gene Heskett <gheskett@shentel.net> - 2018-05-11 19:50 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Richard Owlett <rowlett@cloud85.net> - 2018-05-11 22:30 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-05-11 16:50 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Richard Owlett <rowlett@cloud85.net> - 2018-05-11 20:00 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-05-11 21:50 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Richard Owlett <rowlett@cloud85.net> - 2018-05-11 22:40 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} David Wright <deblis@lionunicorn.co.uk> - 2018-05-11 17:30 +0200
Page 4 of 4 — ← Prev page 1 2 3 [4]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2018-05-11 19:50 +0200 |
| Subject | Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} |
| Message-ID | <vOkl4-25e-9@gated-at.bofh.it> |
| In reply to | #195616 |
On Friday 11 May 2018 11:28:08 Curt wrote: > On 2018-05-11, Richard Owlett <rowlett@cloud85.net> wrote: > > On 05/11/2018 08:13 AM, tomas@tuxteam.de wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> > >> On Fri, May 11, 2018 at 07:59:30AM -0500, Richard Owlett wrote: > >>> On 05/06/2018 09:22 AM, Richard Owlett wrote: > >> > >> [...] > >> > >>> I've been introduced to many commands and some of the "logic" of > >>> the Linux way of doing things. > >>> > >>> Thanks everybody. > >> > >> Thanks for keeping things interesting & fun with your (sometimes > >> whimsical ;-) enquiries. > > > > I don't recall being whimsical. > > Weird. Possibly. Been told that for >70 years ;} > > Yeah. And one man's fun and interesting is another man's so narrow and > exiguous a corner case no one but Owlett himself could possibly fit > into it. But he is not quite alone in his corner. I was about 8 years old when I asked my uncle, who made his beer money fixing the "all American" 5 tube radios of the day (this was about 1942) what was wrong with the waxed paper sealed electrolytic capacitor he had just changed. He didn't know but pulled a cabinet door open that had a hand written menu on it titled; IF and one of the lines said "it hums, change the filter caps." But that didn't tell me why and I was full of why's. So on my mothers (she had the distinction of being the only girl in the 1929 class on aviation technology at Des Moines Tech High School, and if she didn't know the answer to my questions, she did know where the library was) next trip to town, she hit the library and brought home a couple books that were state of the art in 1942, about high school physics. One chapter was on capacitance and how it was made. So on our next Sunday trip to Des Moines, I blew my uncle away by telling him what was wrong with those capacitors. That of course got me introduced to his collection of sci-fi books. And generated a lifelong passion for things technical. With an 8th grade education, I have made my living in some field of electronics since I was 13, and retired from a tv station in June 2002 as the Chief Engineer, a chair I didn't spend a lot of time in but had it for 18 years. Nothing went out of the building to be repaired during my tenure unless the maker refused to supply parts or docs. Even Fuji had to learn they weren't the only magicians who could repair their $7800 tv zoom lenses. Now I'm 83, and still putzing with this stuff, with 4 metal carving machines that I converted to be cnc controlled. I suspect, if we could get Richard to talk, that he too was a nerd before the word was invented. Maybe, but he got a later start... -- Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2018-05-11 22:30 +0200 |
| Subject | Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} |
| Message-ID | <vOmPT-3Ek-1@gated-at.bofh.it> |
| In reply to | #195624 |
On 05/11/2018 12:35 PM, Gene Heskett wrote: > [rofl] > > I suspect, if we could get Richard to talk, that he too was a nerd before > the word was invented. Maybe, but he got a later start... ROFL My father was an EE, My mother an RN Married day before Pearl Harbor nuff said ;/
[toc] | [prev] | [next] | [standalone]
| From | Pascal Hambourg <pascal@plouf.fr.eu.org> |
|---|---|
| Date | 2018-05-11 16:50 +0200 |
| Subject | Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} |
| Message-ID | <vOhwR-oI-9@gated-at.bofh.it> |
| In reply to | #195604 |
Le 11/05/2018 à 14:59, Richard Owlett a écrit : > On 05/06/2018 09:22 AM, Richard Owlett wrote: >> I'm attempting to backup current partition to a USB connected 1 TB >> drive. >> >> I get: >> >>> root@debian-jan13:/home/richard# cp -ax / "/media/richard/MISC >>> backups/dev_sda14/" >>> cp: cannot stat '/media/richard/MISC >>> backups/dev_sda14/home/richard/.local/share/Trash/expunged/73080846/grub2 >>> problem-2018-02-13/grub2 problem-2018-02-13/grub2 >>> problem-2018-02-13/grub2 problem-2018-02-13/grub2 >>> problem-2....018-02-13/grub2 problem-2018-02-13': File name too long >> > > The problem turned out to be that > "....local/share/Trash/expunged/73080846/grub2..." appeared under *BOTH* > /home/richard and the root directory. Do you mean that there was a /.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13 or /root/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13 directory ? The former would be really odd. Also, I do not see how either would interfere with /media/richard/MISC backups/dev_sda14/home/richard/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13 or /home/richard/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13 > I successfully ran: > root@debian-jan13:/home/richard# updatedb > root@debian-jan13:/home/richard# locate TRASH > root@debian-jan13:/home/richard# cp -ax / /media/richard/MISC-backups/dev_sda14/ None of these commands removes any file or directory.
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2018-05-11 20:00 +0200 |
| Subject | Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} |
| Message-ID | <vOkuJ-28q-7@gated-at.bofh.it> |
| In reply to | #195609 |
On 05/11/2018 09:46 AM, Pascal Hambourg wrote:
> Le 11/05/2018 à 14:59, Richard Owlett a écrit :
>> On 05/06/2018 09:22 AM, Richard Owlett wrote:
>>> I'm attempting to backup current partition to a USB connected 1 TB
>>> drive.
>>>
>>> I get:
>>>
>>>> root@debian-jan13:/home/richard# cp -ax / "/media/richard/MISC
>>>> backups/dev_sda14/"
>>>> cp: cannot stat '/media/richard/MISC
>>>> backups/dev_sda14/home/richard/.local/share/Trash/expunged/73080846/grub2
>>>> problem-2018-02-13/grub2 problem-2018-02-13/grub2
>>>> problem-2018-02-13/grub2 problem-2018-02-13/grub2
>>>> problem-2....018-02-13/grub2 problem-2018-02-13': File name too long
>>>
>>
>> The problem turned out to be that
>> "....local/share/Trash/expunged/73080846/grub2..." appeared under *BOTH*
>> /home/richard and the root directory.
>
> Do you mean that there was a
>
> /.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13
>
> or
>
> /root/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13
>
> directory ? The former would be really odd. Also, I do not see how
> either would interfere with
>
> /media/richard/MISC
> backups/dev_sda14/home/richard/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13
>
>
> or
>
> /home/richard/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13
I posted after having purged my system of the offending ???? and was
writing from memory.
I believe there were two source directories
/home/richard/.local/share/Trash/expunged/73080846/grub2
problem-2018-02-13
and
/root/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13
or
/home/root/.local/share/Trash/expunged/73080846/grub2
problem-2018-02-13
The crud filled result was a "THING/glob/???" at:
/media/richard/MISC backups/dev_sda14/home/richard/.local/share
/Trash/expunged/73080846/grub2 problem-2018-02-13
>
>> I successfully ran:
>> root@debian-jan13:/home/richard# updatedb
>> root@debian-jan13:/home/richard# locate TRASH
>> root@debian-jan13:/home/richard# cp -ax /
>> /media/richard/MISC-backups/dev_sda14/
>
> None of these commands removes any file or directory.
>
Agreed ;/
There had been a mess of house keeping done.
What I was trying to document was that
cp -ax / /media/richard/MISC-backups/dev_sda14/root
should be have been expected to run to _intended result_.
In reality, there was a *PERVERSE* permutation of initial conditions.
Now can you understand why *I* am fascinated with "corner cases" ;/
[toc] | [prev] | [next] | [standalone]
| From | Pascal Hambourg <pascal@plouf.fr.eu.org> |
|---|---|
| Date | 2018-05-11 21:50 +0200 |
| Subject | Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} |
| Message-ID | <vOmdb-3cr-9@gated-at.bofh.it> |
| In reply to | #195626 |
Le 11/05/2018 à 19:54, Richard Owlett a écrit : > > I posted after having purged my system of the offending ???? and was > writing from memory. > > I believe there were two source directories > /home/richard/.local/share/Trash/expunged/73080846/grub2 > problem-2018-02-13 > and > /root/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13 > or > /home/root/.local/share/Trash/expunged/73080846/grub2 > problem-2018-02-13 Probably /root/... /home/root usually does not exist. > The crud filled result was a "THING/glob/???" at: > /media/richard/MISC backups/dev_sda14/home/richard/.local/share > /Trash/expunged/73080846/grub2 problem-2018-02-13 That is the result of the copy from /home/richard/. What makes you think that the directory tree in /root was involved ? > What I was trying to document was that > cp -ax / /media/richard/MISC-backups/dev_sda14/root > should be have been expected to run to _intended result_. > > In reality, there was a *PERVERSE* permutation of initial conditions. I do not understand what you mean. IIUC, the error was caused by a very long pathname in the source path which exceeded the maximum length in the target path. After you removed the overlong directory chain, cp proceeded without error as expected. Or did I miss something ?
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2018-05-11 22:40 +0200 |
| Subject | Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} |
| Message-ID | <vOmZz-3Hn-5@gated-at.bofh.it> |
| In reply to | #195632 |
On 05/11/2018 02:47 PM, Pascal Hambourg wrote: > Le 11/05/2018 à 19:54, Richard Owlett a écrit : >> >> I posted after having purged my system of the offending ???? and was >> writing from memory. >> >> I believe there were two source directories >> /home/richard/.local/share/Trash/expunged/73080846/grub2 >> problem-2018-02-13 >> and >> /root/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13 >> or >> /home/root/.local/share/Trash/expunged/73080846/grub2 >> problem-2018-02-13 > > Probably /root/... /home/root usually does not exist. Looked further just now Perhaps should have been: /home/root/... > >> The crud filled result was a "THING/glob/???" at: >> /media/richard/MISC backups/dev_sda14/home/richard/.local/share >> /Trash/expunged/73080846/grub2 problem-2018-02-13 > > That is the result of the copy from /home/richard/. What makes you think > that the directory tree in /root was involved ? Grasping at straws ???? ;/ > >> What I was trying to document was that >> cp -ax / /media/richard/MISC-backups/dev_sda14/root >> should be have been expected to run to _intended result_. >> >> In reality, there was a *PERVERSE* permutation of initial conditions. > > I do not understand what you mean. Makes two of us > > IIUC, the error was caused by a very long pathname in the source path > which exceeded the maximum length in the target path. After you removed > the overlong directory chain, cp proceeded without error as expected. > Or did I miss something ? Possibly. Just trying to explain things "After the Fact" [rofl] > >
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2018-05-11 17:30 +0200 |
| Subject | Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} |
| Message-ID | <vOi9A-Ra-7@gated-at.bofh.it> |
| In reply to | #195604 |
On Fri 11 May 2018 at 07:59:30 (-0500), Richard Owlett wrote: > On 05/06/2018 09:22 AM, Richard Owlett wrote: > >I'm attempting to backup current partition to a USB connected 1 TB drive. > > > >I get: > > > >>root@debian-jan13:/home/richard# cp -ax / "/media/richard/MISC > >>backups/dev_sda14/" > >>cp: cannot stat '/media/richard/MISC backups/dev_sda14/home/richard/.local/share/Trash/expunged/73080846/grub2 > >>problem-2018-02-13/grub2 problem-2018-02-13/grub2 > >>problem-2018-02-13/grub2 problem-2018-02-13/grub2 > >>problem-2....018-02-13/grub2 problem-2018-02-13': File name too > >>long > > > > The problem turned out to be that > "....local/share/Trash/expunged/73080846/grub2..." appeared under > *BOTH* > /home/richard and the root directory. Evidence of that? > I successfully ran: > >root@debian-jan13:/home/richard# updatedb > >root@debian-jan13:/home/richard# locate TRASH But locate TRASH only searches for TRASH, not Trash. You need to either locate -i or give the appropriate case. > >root@debian-jan13:/home/richard# cp -ax / /media/richard/MISC-backups/dev_sda14/ > >root@debian-jan13:/home/richard# Cheers, David.
[toc] | [prev] | [standalone]
Page 4 of 4 — ← Prev page 1 2 3 [4]
Back to top | Article view | linux.debian.user
csiph-web