[ Date Index ]
[ Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
Re: [LUG] Using mv command
- To: list@xxxxxxxxxxxx
- Subject: Re: [LUG] Using mv command
- From: "M. J. Everitt" <m.j.everitt@xxxxxxx>
- Date: Sun, 28 Oct 2018 19:57:24 +0000
- Autocrypt: addr=m.j.everitt@xxxxxxx; prefer-encrypt=mutual; keydata= xsFNBFngC8gBEAC8/nQZrVrr8v0kaD4OLw8UftKfPQFEMGY/rnFA81M9IvdyPP8/8u/+9AGc DEN3i/LRvW0KUBdKIngcUY/p1M/sJqBspMOBaoOLp6K53/2uxcGXw62TulQJU+7a37Jukv2r HNSyZzM6II0myConmJa8ja1HfsiVoqDrqNigBF+Sts1kqG4xg8YeyOl1Tk+LZwC+ukzzutE9 pbpIL2snu5I6a6RNi9DtbB9FZKzkbXx8TlpMXrcorNryOLQHPRw6tir5Z8kpetiJgoEpKGBX botDOWLVW+s9XnwPzAFmL03gH+3reY+LfrQWQTDphfZIp75caZQUicQHpc1NUr+8bLr3n79A FCPY3CfWriGn17aqaaXDFfeYPJIlH8UmOXI41JqR47C5eYFbocA8A4k7cGVAdKJFWLy51165 dt7qZyvUQc/olzrZOrvoiWXA8ELg7pqxxObM4kl0502IHz9kb6Lt712HvfjH5yAP8zTYpetn sCPR9aVVSQsRgluNrQFlKpVmUXbeBLjw05UBEunS6prDwXOyZdn7t03LSOlK2nBGM+gtxg8l /0Nb1saYMGGN8qtO4RLFRiRBc20kNz01cC89PKRIXYlW9dRZNH1zebIUCAg+S4hSmmV4uvaZ XRADb2G+ZZ2jj9cNTTnI+X1/a19S8XjBZ4z+9+Hty4nhoB6fawARAQABzSNNLiBKLiBFdmVy aXR0IDxtLmouZXZlcml0dEBpZWUub3JnPsLBgAQTAQgAKgIbAwUJA8JnAAULCQgHAwUVCgkI CwUWAgMBAAIeAQIXgAUCWeAgogIZAQAKCRBj58Z59NQx3awfD/4wMWDKcu0/s2KQhz5JUBfi v+PdY7xxJj77gP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=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dclug.org.uk; s=1538993161; h=Sender:Content-Type:Reply-To:List-Subscribe: List-Help:List-Post:List-Unsubscribe:List-Id:Subject:In-Reply-To:MIME-Version :Date:Message-ID:From:References:To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner:List-Archive; bh=pNZGjUXoR+dUAp/iI6VcRYOHgL2LTlk+BH/ncERbJxw=; b=lWf7f/ibcEY0Mf0y316lw05mNI u7nadZAA+QZpBfobJ4J/vreH6LCn/GD8gQB/b/MREgx0gWBA1Pnoup/BKRDiqbdVnPgkgqU3MKS0Q W3qSrjbEZGf1FASdDUtPYq3sDARluzpyEvBHhKKn0mcw7gJmf2Df9dKGrg5n4PRQCFyE=;
- Openpgp: id=BA266E0525CFAB101523351B4C30334F93C22371
On 28/10/18 19:41, mr meowski wrote:
> On 28/10/2018 18:52, M. J. Everitt wrote:
>> ^ Last para especially .. you can do some surprisingly silly things with
>> shell/parameter/bash expansions, and mis-chosen command options!
>>
>> Equally applicable to sed/awk scripts .. no harm whatsoever in making an
>> exact copy with a '.orig' or '.bak' extension, and if you make a mistake,
>> you can always get back to a 'known state'!!
>
> ZFS is genuinely changing the way I use computers now I'm fully immersed
> in it - it has answers to everything when you really start to understand
> it and integrate it into your workflow. For example, like Rich's
> original problem it's pretty common for all of us to need to do similar
> stuff, often frequently and sometimes on a _lot_ of data. Usually very
> important data, frequently not at rest. No more lengthy recursive copies
> or tedious testing on laboriously spun-up and snapshotted test VMs.
>
> Presume there is a massive directory of stuff at /export/private/pics
> that needs extensive potentially destructive transformations done on it
> - in my case /export/private/pics is a zfs dataset instead of a normal
> ext4 folder.
>
> zfs snapshot export/private/pics@reorganizationtesting
> zfs clone export/private/pics@reorganizationtesting export/TESTING
> * do anything you want to the data here *
> zfs promote export/TESTING
>
> ZFS will take care of everything else including mountpoints, endpoint
> re/creation, etc. Data is safe and atomically checkpointed all the way
> through and it's CoW on course so basically instant and nearly "free".
> Once you've checked your work is ok the zfs promote command
> transparently moves the new data versions over the originals (and then
> you can either keep or wipe any of the multiple snapshots and original
> datasets you went through). You can even do this with your root
> filesystem (although not the promote whilst it's live - yet).
>
> The coolest thing is that I zfs send/receive my main workstation and
> laptop continuously and incrementally to a backup server: I can SSH to
> the server, zfs clone my latest entire workstation filesystem to a test
> dataset and then systemd-nspawn it up like a supercharged chroot. You
> can test potentially catastrophic experiments, dist-upgrades and
> anything else effectively instantly and free :]
>
> Cheers
>
>
Yes, I met ZFS when I tried out a FreeNAS box for my last employer. Worked
pretty nice, and the regular snapshots made backups, and restore, a
complete breeze.
I've yet to implement on my Linux systems, but as support and maturity
grows, I shall have little hesitation to run with it again, and enjoy all
the benefits it has. I don't believe there is any other FS around with such
a feature-set as ZFS although various people rave about btrfs, xfs, etc etc...
MJE
Attachment:
signature.asc
Description: OpenPGP digital signature
--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq