Hello Stripes,

On 8/24/20, stripes theotoky via luv-main <[email protected]> wrote:
> Thank you all for the very helpful advice:-
>
> If I understand you all the problems are ZFS is choking because I don't
> have enough disk space. The reason I don't have enough disk space is
> because the files I deleted are still in the old snapshots, plus it was
> already pretty full.
>
> This seems like a good way forward but is it really and if so how do I do
> it?

Question, do you really need to recover files from the snapshots on a
routine basis? I would suggest that you consider the frequency of the
snapshots, and of backups. If you truly understand, and take care with
your actions, how much do you need to recover and undelete as the
snapshots enable? If you do not need quite so frequent, nor so many
snapshots, then you will have more usable space when you transfer to a
new drive.

The other matter is that the snapshots are not a backup strategy, they
too are lost along with the current copies if you have a hard drive
crash. I would suggest looking at something like a Network Attached
Storage device, with multiple drives in a suitable RAID array. There
are others on the LUV lists who can better advise on which strategies
will actually provide a reasonable measure of security of data.
Remember that there are repositories from which you can restore the OS
and applications, but that your data, including particular
configuration, can only be recovered from a suitable backup on another
device, and best often stored on a separate site.

These are pointers to think about as to what is important, and what
can you afford to loose, possibly because you can regenerate, possibly
because it is not really that critical. As to life, yes the data has
meaning to each of us, but it is not food and water even if it can be
used in exchange for such.

> First things first ZFS is choking due to lack of disk space. However, I
> have a lot of totally unused diskspace on a windows partition so how can I
> reduce the windows partition and increase the ZFS to stop it choking. It
> has 560GB of which I do not need more than 200max to leave for Windoze.

>From this I gather that you find a need to have the Microsoft malware
available. I have problems now and then when I have to deal
interactively with a Microsoft Word document in the newest format. I
usually point out that Word may well be widespread, but that is not
universal, and a PDF can be locked to prevent being tampered with.

> Gparted apparently doesn't like ZFS but does this matter? I can I assume
> use it to shrink the Windows partition and free up about 360GB, then how do
> I expand the ZFS to use that free space?
> Second, I have checked /etc/cron and find auto snap shot commands for
> hourly, daily, weekly & monthly
> hourly = 24, daily = 31, weekly = 8, monthly = 6. It seems I could change
> that to hourly = 24, daily = 7, weekly = 4, monthly = 6 and get pretty much
> the same coverage with a lot less snapshots.
>
> Listing snapshots shows some from 2019, where are they coming from as with
> monthly only storing 6 months there shouldn't be anything newer than
> February 2020 or am I not understanding something here?

I would think that if the computer was not in use at the critical
time, the snapshots could remain. Cron cannot do things while the
computer is off. I know that there is an alternative, anacron, that is
coded to cope with doing the actions that fell while the computer was
off, when it is next booted. It would be worth checking which is
installed and used.


> The computer is a Lenovo W541 laptop, the longer term plan is to double the
> memory to 32GB and put a 2TB SSD in this box. Does that sound sensible?
>
> In the meantime, a thorough backup is running in at least two external
> drives (one incremental and one fresh).

Again, consider backups on a separate device. Again, look to your use
patterns and practices so that you have less need for the snapshots
and recovering deleted files, and as such can use less snapshots. Look
at what you are trying to achieve, and ask how to be reasonably
effective. Try to make the most of the resources you can afford,
rather than spending too much to compensate for suboptimal habits and
practices.

> Stripes.

Regards,

Mark Trickett
_______________________________________________
luv-main mailing list
[email protected]
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main

Reply via email to