Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #202933

Re: [OT?] home partition vs. home directory

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: [OT?] home partition vs. home directory
Date 2018-12-01 03:50 +0100
Message-ID <x03vX-7HG-5@gated-at.bofh.it> (permalink)
References <wZUCl-28m-7@gated-at.bofh.it> <wZUM1-2bJ-7@gated-at.bofh.it> <wZXTA-43Y-3@gated-at.bofh.it> <wZYFY-4AX-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri 30 Nov 2018 at 11:23:57 (-1000), Joel Roth wrote:
> On Fri, Nov 30, 2018 Cindy-Sue Causey wrote:
> > Cliff's Notes Version Part I: Flaky USB connections are an important
> > factor! An accidentally disconnected USB connection can cause data to
> > become *unknowingly* redirected back to the original directory on the
> > primary partition. That situation can then potentially lead to loss of
> > e.g. downloaded data if a user is not always 100% aware of where data
> > is actually residing at all times.....
> 
> I've had problems with flakey connections with external USB
> drives for years. These problems have occurred with various
> drives and on two different laptops. The usual result is a
> disk operation such as 'ls' fails with the message
> "input/output error". This usually happens after
> the drive has been idle for some hours. 

Hm, with poor connections, I find that it's usually the laptop
moving about which disturbs the cable and causes the problem.
After idle periods, I just get the message, when it wakes up:
 usb 4-5: reset high-speed USB device number 4 using ehci-pci
which I assume may be because the USB was in some sort of
powersaving mode.

> In my experience, the only case where writes went into
> directory of the mount point (and not the intended
> partition) was when the partition was not mounted. Once an
> I/O error occurs, at least in my system, no further read or
> write operations to the mount point will succeed. 

I've never had the mount points overwritten, perhaps because
of how I set their permissions:
drwx------ 2 root root 4096 Apr 11  2018 cdrom0/
and I
# touch -r cdrom0   all the mount points ...
so it's easy to see when they're in use as the differing
permission/ownership/timestamp sticks out.

It also sounds as if you have   ,errors=remount-ro,
set as an option in your /etc/fstab entries so that any
error immediately write-protects the partition; though
I didn't know that prevents reading as well. Does it?

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[OT?] home partition vs. home directory Default User <hunguponcontent@gmail.com> - 2018-11-30 18:20 +0100
  Re: [OT?] home partition vs. home directory Roberto C. Sánchez <roberto@debian.org> - 2018-11-30 18:30 +0100
    Re: [OT?] home partition vs. home directory Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-11-30 21:50 +0100
      Re: [OT?] home partition vs. home directory Joel Roth <joelz@pobox.com> - 2018-11-30 22:40 +0100
        Re: [OT?] home partition vs. home directory David Wright <deblis@lionunicorn.co.uk> - 2018-12-01 03:50 +0100
          Re: [OT?] home partition vs. home directory Joel Roth <joelz@pobox.com> - 2018-12-01 21:10 +0100
      Re: [OT?] home partition vs. home directory Ric Moore <wayward4now@gmail.com> - 2018-12-01 02:40 +0100
        Re: [OT?] home partition vs. home directory rhkramer@gmail.com - 2018-12-01 02:50 +0100
          Re: [OT?] home partition vs. home directory Ric Moore <wayward4now@gmail.com> - 2018-12-01 03:30 +0100
            Re: [OT?] home partition vs. home directory David Wright <deblis@lionunicorn.co.uk> - 2018-12-01 04:20 +0100
            Re: [OT?] home partition vs. home directory Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-12-01 09:00 +0100
              Re: [OT?] home partition vs. home directory rhkramer@gmail.com - 2018-12-01 16:10 +0100
    Re: [OT?] home partition vs. home directory David Wright <deblis@lionunicorn.co.uk> - 2018-12-01 03:20 +0100
    Re: [OT?] home partition vs. home directory Richard Hector <richard@walnut.gen.nz> - 2018-12-02 21:10 +0100
  Re: [OT?] home partition vs. home directory Hans <hans.ullrich@loop.de> - 2018-11-30 18:30 +0100
    Re: [OT?] home partition vs. home directory Jimmy Johnson <field.engineer@gmail.com> - 2018-12-01 10:30 +0100
      Re: [OT?] home partition vs. home directory Curt <curty@free.fr> - 2018-12-01 15:20 +0100
  Re: [OT?] home partition vs. home directory Michael Thompson <michaelw.thompson@icloud.com> - 2018-11-30 18:40 +0100
    Re: [OT?] home partition vs. home directory Michael Stone <mstone@debian.org> - 2018-11-30 20:00 +0100
      Re: [OT?] home partition vs. home directory Felix Miata <mrmazda@earthlink.net> - 2018-11-30 20:20 +0100
        Re: [OT?] home partition vs. home directory Michael Stone <mstone@debian.org> - 2018-11-30 22:30 +0100
      Re: [OT?] home partition vs. home directory Gene Heskett <gheskett@shentel.net> - 2018-12-01 01:30 +0100
        Re: [OT?] home partition vs. home directory Andy Smith <andy@strugglers.net> - 2018-12-01 03:40 +0100
        Re: [OT?] home partition vs. home directory rhkramer@gmail.com - 2018-12-01 16:10 +0100
          Re: [OT?] home partition vs. home directory David Wright <deblis@lionunicorn.co.uk> - 2018-12-01 17:30 +0100
          Re: [OT?] home partition vs. home directory Gene Heskett <gheskett@shentel.net> - 2018-12-01 18:30 +0100
            Re: [OT?] home partition vs. home directory Brian <ad44@cityscape.co.uk> - 2018-12-01 21:10 +0100

csiph-web