How to stop the automatically resizing of LVM temporarily?

Moderator: mike

Post Reply
newabc
Posts: 8
Joined: Sun May 27, 2018 1:03 am

How to stop the automatically resizing of LVM temporarily?

Post by newabc » Mon May 27, 2019 11:09 pm

I did know the automatically resizing of LVM is extremely useful in adding storage to eve-ng.

But I have a plan to backup all the data running on SSD to a traditional hard drive by using cron and tar/rsync hourly and then manually from this hard drive to an external drive weekly.

But now the problem is that after added this hard drive and booted eve-ng, eve-ng automatically added it to LVM's root partition. How to stop the auto-resizing of LVM temporarily and start it after I added this hard drive as a normal mount point?

Thanks for any suggestion at first.

======
Update(5/27/2019 night):

I found the traditional hard drive was used by LVM as /dev/sdb without partitioning.
I back-uped all the data of labs, addons and tmp. Reinstalled eve-ng.
I partitioned the traditional hard drive and formatted the partition of it.
I found that I added this hard drive to the machine and booted eve-ng, then the LVM no longer automatically adds this drive into the virtual group.

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: How to stop the automatically resizing of LVM temporarily?

Post by Uldis (UD) » Tue May 28, 2019 6:39 am

another option is make a script which connects to your eve and download/making backup to your storage.
over sftp

newabc
Posts: 8
Joined: Sun May 27, 2018 1:03 am

Re: How to stop the automatically resizing of LVM temporarily?

Post by newabc » Tue May 28, 2019 6:20 pm

Thank you, UD.

Post Reply