[Leap 15.3] Reinstallation question
This machine has Leap 15.3 installed on a 250GB M2 NVME drive. This is very wasteful of space, and I'd like to repartition the drive and then reinstall Leap 15.3 in a smaller partition. I plan to use BTRFS with snapshotting enabled. I'm thinking 50GB would be ample. /home is on a separate rotating rust device. I'd like to get the system back to its current state as quickly as possible, so my work plan is: 1) Reinstall Leap 15.3 from appropriate media (I have a DVD), reformatting the M2 NVME drive at this stage. 2) Upgrade the new installation (I believe this happens concurrently during installation nowadays?) 3) Reinstall all my current applications. To do step 3) what do I need to copy from the current installation? something in /etc/zypp I believe? TIA Bob -- Bob Williams System: Linux 5.3.18-lp152.50-default Desktop: KDE Frameworks: 5.71.0, Qt: 5.12.7 and Plasma: 5.18.5 https://useplaintext.email/
Hello Bob, Am Montag, 14. März 2022, 18:16:11 CET schrieb Bob Williams:
This machine has Leap 15.3 installed on a 250GB M2 NVME drive. This is very wasteful of space, and I'd like to repartition the drive and then reinstall Leap 15.3 in a smaller partition. I plan to use BTRFS with snapshotting enabled. I'm thinking 50GB would be ample.
It depends on what you do, the usage on the system partiton can be quite demanding (databases, build environemnts, etc), so it is not only snapshots that you need to consider. So one can be OK with 40G, one other may need 60-80GB.
/home is on a separate rotating rust device.
Good
I'd like to get the system back to its current state as quickly as possible, so my work plan is:
1) Reinstall Leap 15.3 from appropriate media (I have a DVD), reformatting the M2 NVME drive at this stage.
2) Upgrade the new installation (I believe this happens concurrently during installation nowadays?)
If you have enbled online-repositories, yes.
3) Reinstall all my current applications.
To do step 3) what do I need to copy from the current installation? something in /etc/zypp I believe?
If you save a copy of /etc you should have all relevant stuff. using opi (OBS package installer) for reinstallation might be the most convenient way (as it adds the repsoitories by itself ) Cheers Axel
Thanks Axel, On Mon, 14 Mar 2022 18:42:40 +0100 Axel Braun wrote:
Hello Bob,
Am Montag, 14. März 2022, 18:16:11 CET schrieb Bob Williams:
This machine has Leap 15.3 installed on a 250GB M2 NVME drive. This is very wasteful of space, and I'd like to repartition the drive and then reinstall Leap 15.3 in a smaller partition. I plan to use BTRFS with snapshotting enabled. I'm thinking 50GB would be ample.
It depends on what you do, the usage on the system partiton can be quite demanding (databases, build environemnts, etc), so it is not only snapshots that you need to consider. So one can be OK with 40G, one other may need 60-80GB.
The current system is using ~37GB. No big databases etc.
/home is on a separate rotating rust device.
Good
I'd like to get the system back to its current state as quickly as possible, so my work plan is:
1) Reinstall Leap 15.3 from appropriate media (I have a DVD), reformatting the M2 NVME drive at this stage.
2) Upgrade the new installation (I believe this happens concurrently during installation nowadays?)
If you have enbled online-repositories, yes.
3) Reinstall all my current applications.
To do step 3) what do I need to copy from the current installation? something in /etc/zypp I believe?
If you save a copy of /etc you should have all relevant stuff. using opi (OBS package installer) for reinstallation might be the most convenient way (as it adds the repsoitories by itself )
So I'd copy back /etc then install opi? -- Bob Williams
Am Montag, 14. März 2022, 19:04:26 CET schrieb Bob Williams:
If you save a copy of /etc you should have all relevant stuff. using opi (OBS package installer) for reinstallation might be the most convenient way (as it adds the repsoitories by itself )
So I'd copy back /etc then install opi?
I would do ta treally selective, for example /etc/cups to recover your printers. Most parts of /etc dont need to be touched, but in case you need to look something up, the backup of /etc may help Cheers Axel
On 2022-03-14 19:04, Bob Williams wrote:
On Mon, 14 Mar 2022 18:42:40 +0100 Axel Braun wrote:
It depends on what you do, the usage on the system partiton can be quite demanding (databases, build environemnts, etc), so it is not only snapshots that you need to consider. So one can be OK with 40G, one other may need 60-80GB.
The current system is using ~37GB. No big databases etc.
Then make btrfs 150 gigs. My rule of thumb is make it 3 times bigger than you would use with ext4. -- Cheers / Saludos, Carlos E. R. (from 15.3 x86_64 at Telcontar)
The current system is using ~37GB. No big databases etc. I'd create a 320MB partition for use as ESP, then make three equal size
Bob Williams composed on 2022-03-14 18:04 (UTC): partitions from the rest, so 80GB+ each. Put 15.3 on second partition now. Then put 15.4 on third partition, either now as beta or after release. When you're ready for full time use of 15.4, just boot it instead of 15.3, and 15.3 remains as a fallback. Either the last partition or the second could be used for 15.5 at some future date, or used for TW, experimentation, or alpha/beta testing. A fifth partition might be created to use as swap. With 32GB RAM, I'm not using swap. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
Carlos E. R. composed on 2022-03-14 21:38 (UTC+0100):
On 2022-03-14 21:25, Felix Miata wrote:
With 32GB RAM, I'm not using swap
I am :-)
When I see apps RAM shrinking disk cache I restart the offending apps (web browsers, this means y'all). I try to keep apps RAM use under half the total, and assume an excess point has been reached when I see more in use. When uptime is more than a week and this happens, I may take the opportunity to update, and reboot if there's a new kernel, or log out and back in if not. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On 2022-03-14 21:54, Felix Miata wrote:
Carlos E. R. composed on 2022-03-14 21:38 (UTC+0100):
On 2022-03-14 21:25, Felix Miata wrote:
With 32GB RAM, I'm not using swap
I am :-)
When I see apps RAM shrinking disk cache I restart the offending apps (web browsers, this means y'all). I try to keep apps RAM use under half the total, and assume an excess point has been reached when I see more in use. When uptime is more than a week and this happens, I may take the opportunity to update, and reboot if there's a new kernel, or log out and back in if not.
No problem with disk cache. "top" says it is 21gig at the moment, and 16 are free. 9 gig in swap. Not a problem :-) -- Cheers / Saludos, Carlos E. R. (from 15.3 x86_64 at Telcontar)
On Mon, 14 Mar 2022 16:25:49 -0400 Felix Miata wrote:
Bob Williams composed on 2022-03-14 18:04 (UTC):
The current system is using ~37GB. No big databases etc. I'd create a 320MB partition for use as ESP, then make three equal size partitions from the rest, so 80GB+ each.
ESP? -- Bob Williams
Bob Williams composed on 2022-03-14 21:05 (UTC):
On Mon, 14 Mar 2022 16:25:49 -0400 Felix Miata wrote:
Bob Williams composed on 2022-03-14 18:04 (UTC):
The current system is using ~37GB. No big databases etc.
I'd create a 320MB partition for use as ESP, then make three equal size partitions from the rest, so 80GB+ each.
ESP?
https://en.wikipedia.org/wiki/EFI_system_partition -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On Mon, 14 Mar 2022 17:24:02 -0400 Felix Miata <mrmazda@earthlink.net> wrote:
Bob Williams composed on 2022-03-14 21:05 (UTC):
On Mon, 14 Mar 2022 16:25:49 -0400 Felix Miata wrote:
Bob Williams composed on 2022-03-14 18:04 (UTC):
The current system is using ~37GB. No big databases etc.
I'd create a 320MB partition for use as ESP, then make three equal size partitions from the rest, so 80GB+ each.
ESP?
Apart from the ESP, I'd give the whole disk to LVM, then I wouldn't have to worry about how many filesystems I might need in the future. Partitions are so last century :)
Dave Howorth composed on 2022-03-14 22:24 (UTC):
Apart from the ESP, I'd give the whole disk to LVM, then I wouldn't have to worry about how many filesystems I might need in the future. Partitions are so last century :)
Imaging partitions is an integral part of my backup/restore/installation management system. I've never been able to imagine a way to integrate LVM into it, or vice versa. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
participants (5)
-
Axel Braun
-
Bob Williams
-
Carlos E. R.
-
Dave Howorth
-
Felix Miata