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


Groups > linux.debian.user > #188821

Re: Sync two disks and hot swap

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: Sync two disks and hot swap
Date 2017-11-09 20:00 +0100
Message-ID <uK0dr-Df-5@gated-at.bofh.it> (permalink)
References (1 earlier) <uJC1r-1vO-1@gated-at.bofh.it> <uJDJT-2o5-5@gated-at.bofh.it> <uJE3f-2JK-1@gated-at.bofh.it> <uJRa9-35b-7@gated-at.bofh.it> <uJUhI-55p-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/09/17 04:35, Michael Stone wrote:
> On Thu, Nov 09, 2017 at 10:13:17AM +0100, Dominik George wrote:
>>> what is the goal in having an identical copy of the disk?
>>
>> It's not even so much that.
>>
>> It's that the person who will be changing the disks will be hardly
>> capable of just that, and will not get anything close to root access to
>> the machine.
>>
>> And I am afraid that all that complexity around automounting the
>> different filesystems, autounmounting, and automatically ensuring the
>> filesystem is clean and unmounted at the time the disk is to be swapped
>> could be quite unreliable.
> 
> Honestly, it's an easier problem than ensuring that a raid element is 
> cleanly unmounted. Historically there have been external drives with 
> buttons that could be mapped to events (but I have no idea what's on the 
> market right now that might have an addressable button). Otherwise maybe 
> allow the user to run "eject /whatever" with sudo, or wrap that in a 
> single-function console login or somesuch. Another possibility is to 
> wrap the rsync functionality in a mount/unmount cycle, so that the disk 
> is always unmounted and ready to go except when actively transferring data.

There are many choices for software:

https://en.wikipedia.org/wiki/List_of_backup_software

https://en.wikipedia.org/wiki/Comparison_of_backup_software


STFW for others that aren't listed by WikiPedia.  For example, backup 
software with ZFS back end:

http://www.freenas.org/

http://www.znapzend.org/


Beware of falling into the "roll your own" trap.


David

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


Thread

Sync two disks and hot swap Dominik George <nik@naturalnet.de> - 2017-11-08 12:00 +0100
  Re: Sync two disks and hot swap Michael Stone <mstone@debian.org> - 2017-11-08 18:10 +0100
    Re: Sync two disks and hot swap Dominik George <nik@naturalnet.de> - 2017-11-08 20:00 +0100
      Re: Sync two disks and hot swap Michael Stone <mstone@debian.org> - 2017-11-08 20:20 +0100
        Re: Sync two disks and hot swap Dominik George <nik@naturalnet.de> - 2017-11-09 10:20 +0100
          Re: Sync two disks and hot swap Michael Stone <mstone@debian.org> - 2017-11-09 13:40 +0100
            Re: Sync two disks and hot swap David Christensen <dpchrist@holgerdanske.com> - 2017-11-09 20:00 +0100
              Re: Sync two disks and hot swap Michael Stone <mstone@debian.org> - 2017-11-09 20:40 +0100
                Re: Sync two disks and hot swap Curt <curty@free.fr> - 2017-11-10 11:00 +0100
                Re: Sync two disks and hot swap Curt <curty@free.fr> - 2017-11-10 11:10 +0100
  Re: Sync two disks and hot swap David Christensen <dpchrist@holgerdanske.com> - 2017-11-09 00:10 +0100
    Re: Sync two disks and hot swap Bob Weber <bobrweber@gmail.com> - 2017-11-09 02:50 +0100
      Re: Sync two disks and hot swap David Christensen <dpchrist@holgerdanske.com> - 2017-11-09 08:10 +0100
        Re: Sync two disks and hot swap Bob Weber <bobrweber@gmail.com> - 2017-11-09 23:50 +0100
          Re: Sync two disks and hot swap David Christensen <dpchrist@holgerdanske.com> - 2017-11-10 00:10 +0100

csiph-web