• Re: Preparing for Debian 13

    From Roberto =?iso-8859-1?Q?C=2E_S=E1nch@21:1/5 to Default User on Fri May 16 02:40:01 2025
    On Thu, May 15, 2025 at 05:30:51PM -0400, Default User wrote:
    Hi.

    I currently run Debian 12 Stable, amd64. 
    Unexceptional single-user SOHO setup on a relatively current 
    (2023) low-end Dell laptop. 
    Intel Core i3 processor. 
    8Gb ram.
    UEFI booting.
    Internal nvme SSD, 256 Gb, for mass storage.
    Partitions:
    nvme0n1 259:0 0 238.5G 0 disk
    ├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
    ├─nvme0n1p2 259:2 0 23.3G 0 part /
    ├─nvme0n1p3 259:3 0 9.3G 0 part /var
    ├─nvme0n1p4 259:4 0 977M 0 part [SWAP]
    ├─nvme0n1p5 259:5 0 1.9G 0 part /tmp
    └─nvme0n1p6 259:6 0 202.6G 0 part /home

    Note: 10 Gb for /var is barely adequate. I have to
    periodically do surgery to cut out the built-up bloat there.

    Since Debian 13 should soon be released, what should I be doing 
    ahead of time to prepare for the upgrade? For me, upgrading is 
    always a major hassle, so I try to make it as easy as possible.

    It's a bit late at this point, but why did you split your installation
    into different partitions, fixed partitions no less, on a laptop with a
    single disk? That's the sort of thing you do with a server where you
    have RAID, LVM, and possibly other advanced storage-related things going
    on.

    You give the sized, but not the space utilization, of your partitions.
    Without additional information, I would suggest booting to a USB-based
    install, rsync-ing everything from /var temporarily over to some place
    in /home, removing the /var partition, resizing the / partition to
    closer to ~16G, then re-creating /var at somewhere around 16G
    (essentially the entire free space between / and swap.

    Regards,

    -Roberto

    --
    Roberto C. Sánchez

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Christensen@21:1/5 to Default User on Fri May 16 08:40:01 2025
    On 5/15/25 14:30, Default User wrote:
    Hi.

    I currently run Debian 12 Stable, amd64.
    Unexceptional single-user SOHO setup on a relatively current
    (2023) low-end Dell laptop.
    Intel Core i3 processor.
    8Gb ram.
    UEFI booting.
    Internal nvme SSD, 256 Gb, for mass storage.
    Partitions:
    nvme0n1 259:0 0 238.5G 0 disk
    ├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
    ├─nvme0n1p2 259:2 0 23.3G 0 part /
    ├─nvme0n1p3 259:3 0 9.3G 0 part /var
    ├─nvme0n1p4 259:4 0 977M 0 part [SWAP]
    ├─nvme0n1p5 259:5 0 1.9G 0 part /tmp
    └─nvme0n1p6 259:6 0 202.6G 0 part /home

    Note: 10 Gb for /var is barely adequate. I have to
    periodically do surgery to cut out the built-up bloat there.

    Since Debian 13 should soon be released, what should I be doing
    ahead of time to prepare for the upgrade? For me, upgrading is
    always a major hassle, so I try to make it as easy as possible.

    OT rant (probably irrelevant):
    The laptop does NOT support virtualization. The DOES, but the
    BIOS does NOT!

    Apparently the tightwads at Dell are punishing me for being poor.
    "Hey dude, you've got a Dell!" Sorry to hear that . . .

    (Grrr . . .)

    Advice?


    What does `# df` output?


    I suggest that you begin by separating your OS from your data. The
    starting point is a second internal drive. Next is multiple internal
    drives in RAID. Putting the data drive(s) into a dedicated file server
    or NAS is another consideration; as is remote access.


    A related issue for file systems is data integrity. Search the WWW for
    BTRFS and ZFS to learn more.


    Is portability required, or just desired? I have run Debian on a Dell
    Latitude 5400 laptop with an Intel Core i7-8665U processor and a Dell
    Precision tower workstation with an Intel Xeon E-2174G processor (both
    "8th generation", circa 2019). The workstation was faster, cheaper, and quieter than the laptop. (That said, I prefer to build my own
    workstations and servers.)


    I suggest that you buy or build a laptop or workstation with the
    features you need. Beware that Debian 12 may not support newer
    hardware. I have found that higher-end hardware tends to be more
    useful, and to last longer, than lower-end hardware. Search the WWW for
    the specific model computer with respect to Debian 12, or post to this
    list, before purchasing hardware.


    Once your data storage and/or new computer are operational, I would use
    the Setup utility on the old laptop to reset the settings to factory
    defaults, wipe the NVMe drive, reinstall Windows over the Internet
    (including Dell bloatware), and unlink the Windows license from any
    Microsoft account. You could then repurpose the old laptop.


    David

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Anssi Saari@21:1/5 to Default User on Fri May 16 10:40:01 2025
    Default User <hunguponcontent@gmail.com> writes:

    Since Debian 13 should soon be released, what should I be doingá
    ahead of time to prepare for the upgrade? For me, upgrading isá
    alwaysáa major hassle, so I try to make it as easy as possible.

    The release page is here: https://www.debian.org/releases/testing/

    There's a link to the release notes, as they are now. Another link to
    proposed changes to the release notes. Reading those, especially the
    upgrading part, seems like a good way to prep for the upgrade.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrew M.A. Cater@21:1/5 to Default User on Fri May 16 11:40:01 2025
    On Thu, May 15, 2025 at 05:30:51PM -0400, Default User wrote:
    Hi.

    I currently run Debian 12 Stable, amd64. 
    Unexceptional single-user SOHO setup on a relatively current 
    (2023) low-end Dell laptop. 
    Intel Core i3 processor. 
    8Gb ram.
    UEFI booting.
    Internal nvme SSD, 256 Gb, for mass storage.
    Partitions:
    nvme0n1 259:0 0 238.5G 0 disk
    ├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
    ├─nvme0n1p2 259:2 0 23.3G 0 part /
    ├─nvme0n1p3 259:3 0 9.3G 0 part /var
    ├─nvme0n1p4 259:4 0 977M 0 part [SWAP]
    ├─nvme0n1p5 259:5 0 1.9G 0 part /tmp
    └─nvme0n1p6 259:6 0 202.6G 0 part /home

    Note: 10 Gb for /var is barely adequate. I have to
    periodically do surgery to cut out the built-up bloat there.

    Since Debian 13 should soon be released, what should I be doing 
    ahead of time to prepare for the upgrade? For me, upgrading is 
    always a major hassle, so I try to make it as easy as possible.

    OT rant (probably irrelevant):
    The laptop does NOT support virtualization. The DOES, but the 
    BIOS does NOT!

    Apparently the tightwads at Dell are punishing me for being poor.
    "Hey dude, you've got a Dell!" Sorry to hear that . . .

    (Grrr . . .)

    Advice?


    If you don't have anything vital on there and can back up personal data
    to something else - maybe reinstall with everything in one partition?

    Fixed partitioning is not great for the reasons others have outlined.

    The other option if you feel confident taking a laptop apart is to go
    and buy a 1TB NVME and an external case for an NVME.

    Take the laptop apart - substitute the 1TB NVME.

    Put the old 256M NVME in the external case.

    Install a fresh copy of Debian onto the laptop.

    Rsync or otherwise copy any data you need from the old drive.

    Reformat old drive and use for storage.

    Andy

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richmond@21:1/5 to roberto@debian.org on Fri May 16 13:10:01 2025
    Roberto C. Sánchez <roberto@debian.org> writes:

    It's a bit late at this point, but why did you split your installation
    into different partitions, fixed partitions no less, on a laptop with a single disk? That's the sort of thing you do with a server where you
    have RAID, LVM, and possibly other advanced storage-related things going
    on.

    Recently I created a virtual machine with qemu and virt-manager, and
    unknown to me by default it creates the virtual disk in /var. As this
    was not on its own partion but in the same as / it happily filled the
    root partition and I got into a mess.

    /var can grow significantly over time due to logs, databases, and other persistent services, so I can understand why someone might put it on its
    own partition.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joe@21:1/5 to Andrew M.A. Cater on Fri May 16 12:50:02 2025
    On Fri, 16 May 2025 09:34:30 +0000
    "Andrew M.A. Cater" <amacater@einval.com> wrote:

    On Thu, May 15, 2025 at 05:30:51PM -0400, Default User wrote:
    Hi.

    I currently run Debian 12 Stable, amd64. 
    Unexceptional single-user SOHO setup on a relatively current 
    (2023) low-end Dell laptop. 
    Intel Core i3 processor. 
    8Gb ram.
    UEFI booting.
    Internal nvme SSD, 256 Gb, for mass storage.
    Partitions:
    nvme0n1 259:0 0 238.5G 0 disk
    ├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
    ├─nvme0n1p2 259:2 0 23.3G 0 part /
    ├─nvme0n1p3 259:3 0 9.3G 0 part /var
    ├─nvme0n1p4 259:4 0 977M 0 part [SWAP]
    ├─nvme0n1p5 259:5 0 1.9G 0 part /tmp
    └─nvme0n1p6 259:6 0 202.6G 0 part /home

    Note: 10 Gb for /var is barely adequate. I have to
    periodically do surgery to cut out the built-up bloat there.

    Since Debian 13 should soon be released, what should I be doing 
    ahead of time to prepare for the upgrade? For me, upgrading is 
    always a major hassle, so I try to make it as easy as possible.

    OT rant (probably irrelevant):
    The laptop does NOT support virtualization. The DOES, but the 
    BIOS does NOT!

    Apparently the tightwads at Dell are punishing me for being poor.
    "Hey dude, you've got a Dell!" Sorry to hear that . . .

    (Grrr . . .)

    Advice?


    If you don't have anything vital on there and can back up personal
    data to something else - maybe reinstall with everything in one
    partition?

    Fixed partitioning is not great for the reasons others have outlined.

    The other option if you feel confident taking a laptop apart is to go
    and buy a 1TB NVME and an external case for an NVME.

    Take the laptop apart - substitute the 1TB NVME.

    Quite often an internal laptop SSD is soldered to the main board,
    replacement is not really practical. Some laptops do this and also
    provide an empty bay for a conventional SSD.

    Put the old 256M NVME in the external case.

    Install a fresh copy of Debian onto the laptop.

    Rsync or otherwise copy any data you need from the old drive.

    Reformat old drive and use for storage.


    --
    Joe

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From xuser@21:1/5 to Default User on Fri May 16 15:50:02 2025
    This message is in MIME format. The first part should be readable text,
    while the remaining parts are likely unreadable without MIME-aware tools.

    No virtualization?, my 15 year old dell e6500 has it.

    On Thu, 15 May 2025, Default User wrote:

    Date: Thu, 15 May 2025 17:30:51 -0400
    From: Default User <hunguponcontent@gmail.com>
    To: debian-user@lists.debian.org
    Subject: Preparing for Debian 13
    Resent-Date: Thu, 15 May 2025 21:31:19 +0000 (UTC)
    Resent-From: debian-user@lists.debian.org

    Hi.

    I currently run Debian 12 Stable, amd64. 
    Unexceptional single-user SOHO setup on a relatively current 
    (2023) low-end Dell laptop. 
    Intel Core i3 processor. 
    8Gb ram.
    UEFI booting.
    Internal nvme SSD, 256 Gb, for mass storage.
    Partitions:
    nvme0n1 259:0 0 238.5G 0 disk
    ??nvme0n1p1 259:1 0 512M 0 part /boot/efi
    ??nvme0n1p2 259:2 0 23.3G 0 part /
    ??nvme0n1p3 259:3 0 9.3G 0 part /var
    ??nvme0n1p4 259:4 0 977M 0 part [SWAP]
    ??nvme0n1p5 259:5 0 1.9G 0 part /tmp
    ??nvme0n1p6 259:6 0 202.6G 0 part /home

    Note: 10 Gb for /var is barely adequate. I have to
    periodically do surgery to cut out the built-up bloat there.

    Since Debian 13 should soon be released, what should I be doing 
    ahead of time to prepare for the upgrade? For me, upgrading is 
    always a major hassle, so I try to make it as easy as possible.

    OT rant (probably irrelevant):
    The laptop does NOT support virtualization. The DOES, but the 
    BIOS does NOT!

    Apparently the tightwads at Dell are punishing me for being poor.
    "Hey dude, you've got a Dell!" Sorry to hear that . . .

    (Grrr . . .)

    Advice?




    xuser@sdf.org
    SDF Public Access UNIX System - http://sdf.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank Guthausen@21:1/5 to Richmond on Fri May 16 18:10:01 2025
    On Fri, 16 May 2025 11:50:41 +0100
    Richmond <dnomhcir@gmx.com> wrote:

    Recently I created a virtual machine with qemu and virt-manager, and
    unknown to me by default it creates the virtual disk in /var. As this
    was not on its own partion but in the same as / it happily filled the
    root partition and I got into a mess.

    They are somewhere below /var/lib/libvirt by default AFAIR.

    /var can grow significantly over time due to logs, databases, and
    other persistent services, so I can understand why someone might put
    it on its own partition.

    I'd recommend to use lvm and emulate partitions as logical volumes.
    There is a bunch of folders below /var which might deserve their own
    partitions or LVs for good reasons, of course at user's choice:

    /var/cache
    /var/cache/apt
    /var/lib
    /var/lib/libvirt
    /var/log
    /var/mail
    /var/tmp
    /var/www

    The rule of thumb is: if a user or the system is capable of writing,
    then consider to use a separate partition or LV. You can use one big
    partition or LV for all of them and assemble the system with the bind
    option of mount - but this is for advanced users. This way it is easy
    to backup the volatile data including /home of user(s).
    --
    kind regards
    Frank

    -----BEGIN PGP SIGNATURE-----

    iQGzBAEBCgAdFiEE86z15c6qwvuAkhy+zDIN/uu9BloFAmgnYjsACgkQzDIN/uu9 Blrkwgv/SLUSoYVBROZNf76F1UKIcvFn36loOJlkk8xzmGxUTKVc9cCAekIxZ9is absmye8sMfAtJRBuxjtqJ9vDny/sMr5vx+Spe62azWpSmTVXm1k8WMVzYskOzmQq MqpynaLqaoKW1CbsMxI8SANkfI/J8WDVRdUBUFGs+2ltLVj9fK29X88RyczddLnh MclO1caaxp+IoTtBrvyIsbuSUXEnaizZC/bNj0jLHn5efNEz8hNpPiCP3aJRm6Ui qbMVA2vtErxnuHCva39QH758hHv0+iguSda9ZI8k39Lhz245D7un3FcbgBNFt9wg 5+M3zYFcYHcWKj9fIgxU/BlbTnatSsxohYkM2ftHubISq+q4D5PQRl7Ov6UXXqvE YBy1smpGmj7KE773F3fcXA1AjLGv8rPrOoP5LNP283yo76Y6onNyydENakj0VrYo 4ps7BSwmiQMEgw8B7E8QLSCPQ+ZG/FF+rAs4Hs0JZ4Cv1XKqyd1mXA5jAKnH/rAc
    tW8eRi0g
    =dNiO
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Smith@21:1/5 to Richmond on Sat May 17 00:10:01 2025
    Hi,

    On Fri, May 16, 2025 at 11:50:41AM +0100, Richmond wrote:
    /var can grow significantly over time due to logs, databases, and other persistent services, so I can understand why someone might put it on its
    own partition.

    When we're talking about single user workstations and laptops though,
    the number of times the user will encounter a filled root filesystem is
    not large, and it's not a difficult problem to solve. If my only choices
    were that problem or the problem of failing to correctly guess the fixed
    size of multiple partitions at install time, I'd go with the former
    problem every time.

    Fortunately LVM and advanced filesystems exist though, so those aren't
    my only two choices. You could say I now have 99 problems but fixed
    size partitions ain't one.

    Its unclear to me from OP's message whether OP actually wants to solve
    the partition sizing issue or is just complaining about it and THEN
    asking for unrelated Debian 13 upgrade tips. Trying to solve the
    partition size problem during an upgrade (not a reinstall) seems like
    hard work. If you really had to, I'd try that before or after upgrade.

    As regards the upgrade itself I second the advice to read the release
    notes now, read them again once it's released and then read them again especially the part about upgrading from Debian 12. The release notes
    for upgrade do cover how to work out if you have enough dusk space for
    it, if the partition sizing issue is a concern here.

    Thanks,
    Andy

    --
    https://bitfolk.com/ -- No-nonsense VPS hosting

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to Default User on Sat May 17 05:20:01 2025
    On Fri, 16 May 2025 18:56:11 -0400
    Default User <hunguponcontent@gmail.com> wrote:

    Fun fact: I use rsync to do backups to and external usb hard drive. If
    the external drive is not connected, rsync will, without any notice,
    proceed to create a backup directory under /media, with the name of
    the unconnected backup drive, and happily copy to it until / is
    completely filled up. Annoying, but easily fixed. But with no
    separate / partition, it seems to me that could be a real "train
    wreck". That seems like one good reason to have a separate /
    partition.

    Fun fact: rsnapshot is an excellent backup tool based on rsync. There is
    an option to disable creating the whole kazoo if it isn't there, useful
    for stopping exactly that sort of thing.

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Anssi Saari@21:1/5 to xuser on Sat May 17 06:30:01 2025
    xuser <xuser@sdf.org> writes:

    No virtualization?, my 15 year old dell e6500 has it.

    As I recall, Intel has played with virtualization support a lot. Disable virtualization on some low end CPUs just to piss people off. Or really,
    to "differentiate the different product lines" or some such marketing
    bullshit.

    Computer makers do this too. Low end laptop? Let's disable the power
    saving features so the battery life sucks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Christensen@21:1/5 to Default User on Sat May 17 10:50:02 2025
    On 5/16/25 15:56, Default User wrote:
    Hi. Thanks for the replies!

    Concerning the points raised:

    1) sudo df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/nvme0n1p2 23G 8.7G 13G 41% /
    /dev/nvme0n1p5 1.8G 140K 1.7G 1% /tmp
    /dev/nvme0n1p6 199G 53G 136G 28% /home
    /dev/nvme0n1p3 9.1G 2.9G 5.8G 34% /var
    /dev/nvme0n1p1 511M 61M 451M 12% /boot/efi

    (df does not show nvme0n1p4, which is the swap partition, 1Gb.)

    /var, now at at 34% used, was just trimmed down from about 67%,
    several days ago.


    So, an "all on root" solution would be ~65 GB, and a "root and home"
    solution would be ~12 GB and ~53 GB (respectively).


    I should have asked previously -- what is filling up /var? Have you
    fixed it? The following commands can remove obsolete Debian packages:

    # apt-get autoremove

    # apt-get autoclean


    2) I could re-partition with Clonezilla and/or use rsync/Gparted from a Debian Live usb stick. But I might have to move and re-size several partitons, since if I just shrunk / to make more room for /var without
    moving anything, I worry that it might make / too small.


    I would put as little effort at possible into the Inspiron 3511 for now
    (see below).


    3) I have never used lvm, so there would have a learning curve. I
    never used it because I worried that it might be more "fragile" than
    fixed partitions.


    In a past Debian file server, I used LVM to form three not-large-enough
    HDD's into one large JBOD. It worked, until one of those HDD's started failing. But, this was not the fault of LVM.


    When I used LVM for OS instances and something broke, booting live media
    for repairs meant I also had to remember LVM incantations and the
    correct parameters for that specific OS instance. It was not easy.
    Also, I never resized partitions or filesystems. So, LVM was not a good
    fit for my use-case.


    BTW, I have never used bind, and don't even know how
    it works.


    Bind mounts are useful when you need them, such as mounting a large
    network filesystem in a generic location and then mounting user-specific subdirectories in each user's home directory. Symbolic links work for
    me, and do not require root privileges.


    I would like to be able to do RAID setups,


    My last Linux file server had an mdadm(8) mirror of two large HDD's. It
    just worked. But, I wanted ZFS's killer features.


    and have NAS.


    Please tell us about your NAS.


    But for me, "everything is a function of time and money".

    4) Many years ago, when I started using Debian, I just did everything
    in /,


    I think that is the best approach for single-user computers. The only
    reason I have a separate /boot is because root is on LUKS and /boot
    requires an unencrypted filesystem.


    and later just / and /home.


    If my computers had multiple users, I would put /home on an SSD ZFS pool
    with redundancy.


    I got into doing multiple partitions
    later, when I used OpenBSD for a short time. They really advocated
    using multiple partitions. I think it was so that if one partition
    fills up, it is less likely that the whole filesystem will get screwed
    up.

    Fun fact: I use rsync to do backups to and external usb hard drive. If
    the external drive is not connected, rsync will, without any notice,
    proceed to create a backup directory under /media, with the name of the unconnected backup drive, and happily copy to it until / is completely
    filled up. Annoying, but easily fixed. But with no separate /
    partition, it seems to me that could be a real "train wreck". That
    seems like one good reason to have a separate / partition.


    That sounds like a good reason to write a shell script:

    1. Verify that the USB drive is connected. If not, print an error
    message and exit.

    2. Run rsync(1) -- passing through command line arguments and options
    -- and create the backup.


    5) I have never used BTRFS or ZFS. Both would require a learning curve (especially ZFS). I really think I would need much higher capacity
    hardware to use ZFS. And I am used to using ext2/3/4. Be it ever so
    humble, it "Just Works". (The older I get, the more I appreciate that.)


    ZFS requirements tend to be overstated, but I do recognize the need for
    ECC memory. ZFS will use as little or as much hardware as you give it.
    Some commercial NAS products run ZFS on ARM and Celeron processors.
    Your NAS may offer BTRFS and/or ZFS. My FreeBSD ZFS file server is
    running on US$50 ~12 year old entry-level hardware -- Intel S1200V3RP motherboard, Xeon E3-1225 v3 processor, and 2 @ 8 GB ECC memory. But,
    it can easily fill its Gigabit connection.


    6) My current computer, like almost all newer laptops, has no access
    panels, and requires special tools (and a LOT of skills) to open up and
    work on. That's deliberate, of course. Now, they try very hard to force
    you to buy a new machine, rather than repair and upgrade. For many
    years, I worked on and even built my own machines. But that's no longer feasible for me. My current laptop does have internal space for an
    additional SSD. But major surgery would be required.


    Working on Dell laptops is not hard if you have the right information,
    parts, and tools. Be patient and be careful.


    iFixit sells tools, parts, and kits for working on computers. I bought
    the "MacBook Pro 15" Retina Display Mid 2015 Battery Replacement" kit
    and turned a fire hazard into a useful computer:

    https://www.ifixit.com/Guide/MacBook+Pro+15-Inch+Retina+Display+Mid+2015+Battery+Replacement/89284


    YouTube is another resource, but caveat emptor.


    Post on this list if you need help.


    7) For me, portability IS important. I have limited space, and the
    smaller footprint of a laptop does come in handy. More importantly,
    where I live, almost every year, I have to flee from at least one
    hurricane.

    Last year, it was twice within about 10 days! Not fun. Every time, I
    can only load as much as I can fit into the car, and prepare myself for
    the very real possibility that will be all I have in the world, once
    the hurricane is over.


    I assume you take your laptop, your backup drive(s), and your NAS with
    you when you evacuate?


    You might want to consider burning important data to BD, BD-DL or BD-XL
    discs periodically and sending them to a friend or relative several
    states away. (M-DISC is intriguing, but I have never used it.)


    8) My laptop definitely does NOT support virtualization. FWIW, it is a
    Dell Inspiron 3000, model 3511. The BIOS says it was manufactured in 2024-01. Unbelievable, since My previous laptop was an earlier
    iteration of this model, made in 2014-08, which DID support
    virtualization! As I said before, I really do believe that Dell is just
    being cheap, cheap, cheap, and trying to punish poor people for being
    poor. Isn't capitalism wonderful?


    I suggest that you start looking for your next laptop right now. The
    economy is down and there is a lot of good used computer equipment for
    sale at low prices. You have the advantage that you can wait.


    9) I imaged the original factory installed SSD Windows setup using Clonezilla, then erased the SSD and installed Debian, so Windows was
    never used, and no Micro$oft account created. As most maids would say,
    "I don't do Windows"!)

    10) I always read the release note when upgrading. But I did not know
    that Testing has release notes. Thanks for the tip.

    11) I could, and many times have, done a fresh installation of a new
    release rather than upgrading. A fresh install does allow a fresh
    start, and can "cover a multitude of sins". But I would have to spend
    weeks or more customizing my setup to "get it right". Decisions,
    decisions . . .

    Well, that's my story. Again, thanks for the input!


    I use a version control system to track all of the relevant details for
    each of my systems. This makes backup-wipe-install-restore much easier.


    David

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Henrik Ahlgren@21:1/5 to Default User on Sat May 17 15:40:02 2025
    Default User <hunguponcontent@gmail.com> writes:

    1) sudo df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/nvme0n1p2 23G 8.7G 13G 41% /
    /dev/nvme0n1p5 1.8G 140K 1.7G 1% /tmp

    Why not enable tmp.mount (tmpfs)? In most use cases, /tmp is not really utilized much – pointless to waste 2 GB of valuable NVME capacity on
    that.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Smith@21:1/5 to Default User on Sat May 17 17:20:01 2025
    Hi,

    On Fri, May 16, 2025 at 06:56:11PM -0400, Default User wrote:
    Concerning the points raised:

    I still did not see any statement of which concrete problems or issues
    you did actually want to tackle. For example it is a waste of time
    people giving advice about the upgrade route if you have decided that
    you do wish to fix your partitioning by means of a full reinstall.

    (I'm not telling you that you should fix your partitioning or that you
    should do a full reinstall. As you say, it's a matter of how much time
    you have available and what your goals are.)

    Fun fact: I use rsync to do backups to and external usb hard drive. If
    the external drive is not connected, rsync will, without any notice,
    proceed to create a backup directory under /media, with the name of the unconnected backup drive, and happily copy to it until / is completely
    filled up. Annoying, but easily fixed. But with no separate /
    partition, it seems to me that could be a real "train wreck". That
    seems like one good reason to have a separate / partition.

    I'm afraid I disagree, for much the same reasons that I disagree with
    the "but it might full up my whole machine" argument in this context:

    1) As you say, it isn't hard to avoid the failure mode you describe.
    It's a couple of lines of shell script or a more advanced backup
    solution. The problem is deterministic; you know what causes it and
    you can take steps to avoid it reliably forever.

    By contrast it doesn't matter how smart you are, it's very hard to
    predict future usage.

    2) Even if you don't avoid it, and it happens to you, it is as most a
    slight inconvenience. Delete the files and do the backup again.

    By contrast juggling N different partitions that fill at different
    rates is much more awkward and involves gross symlink hacks or
    periods of downtime where you issue risky repartitioning commands.

    5) I have never used BTRFS or ZFS. Both would require a learning curve (especially ZFS). I really think I would need much higher capacity
    hardware to use ZFS. And I am used to using ext2/3/4. Be it ever so
    humble, it "Just Works". (The older I get, the more I appreciate that.)

    I think that LVM i going to involve the fewest new concepts here as at
    the end of it you have some block devices which you put ext4 filesystems
    on as before.

    Moving to an advanced filesystem would bring more benefits that some
    people say they can no longer live without, but there is maybe a steeper learning curve and changes that touch many things like how you do
    backups for example.

    Thanks,
    Andy

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrew M.A. Cater@21:1/5 to Andy Smith on Sat May 17 22:30:01 2025
    On Sat, May 17, 2025 at 03:16:53PM +0000, Andy Smith wrote:
    Hi,

    On Fri, May 16, 2025 at 06:56:11PM -0400, Default User wrote:
    Concerning the points raised:

    I still did not see any statement of which concrete problems or issues
    you did actually want to tackle. For example it is a waste of time
    people giving advice about the upgrade route if you have decided that
    you do wish to fix your partitioning by means of a full reinstall.

    (I'm not telling you that you should fix your partitioning or that you
    should do a full reinstall. As you say, it's a matter of how much time
    you have available and what your goals are.)


    I found it easiest to just run the installer and say - use LVM, all files
    in one partition.

    that give you a boot partition and everything else in one partition.

    It Just Works (for high values of Just Works). If you then add a second
    disk, you can extend the LVM disk.

    Moving to an advanced filesystem would bring more benefits that some
    people say they can no longer live without, but there is maybe a steeper learning curve and changes that touch many things like how you do
    backups for example.


    All best, as ever,

    Andy
    (amacater@debian.org)

    Thanks,
    Andy


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Roberto =?iso-8859-1?Q?C=2E_S=E1nch@21:1/5 to Greg on Sun May 18 14:40:01 2025
    On Sun, May 18, 2025 at 12:26:21PM -0000, Greg wrote:
    On 2025-05-17, Andrew M.A. Cater <amacater@einval.com> wrote:

    I found it easiest to just run the installer and say - use LVM, all files in one partition.

    Is there no rapidity cost on lower-end machines?

    IME, there is not a cost that can be detected and attributed
    specifically to LVM. For instance, launching LibreOffice takes an age on
    a 5400 RPM laptop HDD, regardless of whether LVM is part of the setup.
    And the delta between (LO + 5400 RPM HDD) and (LO + 5400 RPM HDD + LVM)
    is effectively smaller than a rounding error.

    Regards,

    -Roberto

    --
    Roberto C. Sßnchez

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Christensen@21:1/5 to Default User on Mon May 19 05:50:01 2025
    On 5/18/25 09:47, Default User wrote:
    Hi, OP again.

    1) Regarding:

    "Its unclear to me from OP's message whether OP actually wants to solve
    the partition sizing issue or is just complaining about it and THEN
    asking for unrelated Debian 13 upgrade tips."

    I originally posted asking for general advice about upgrading to Debian
    13 Stable, when it is released. The issue of partition sizing just
    happened to come up in the discussion.

    Thanks to all for the input regarding partition sizing and
    alternatives. Maybe it is time for me to learn lvm.


    What use-case are you trying to solve that benefits from LVM?


    2) Regarding:

    "Why not enable tmp.mount (tmpfs)? In most use cases, /tmp is not
    really utilized much – pointless to waste 2 GB of valuable NVME
    capacity on that."

    Tmp.mount is something else I don't know anything about. I should look
    it up.


    I let the Debian installer decide what to do with /tmp:

    2025-05-18 20:11:09 dpchrist@laalaa ~
    $ cat /etc/debian_version ; uname -a
    11.11
    Linux laalaa 5.10.0-34-amd64 #1 SMP Debian 5.10.234-1 (2025-02-24)
    x86_64 GNU/Linux

    2025-05-18 20:11:11 dpchrist@laalaa ~
    $ df /tmp
    Filesystem 1M-blocks Used Available Use% Mounted on /dev/mapper/sdb3_crypt 12084M 8740M 2709M 77% /


    3). Regarding:

    "Please tell us about your NAS."

    Let me clarify: I do NOT have any NAS. (I wish I did!).

    Unfortunately, I wrote:
    "I would like to be able to do RAID setups, and have NAS."

    I should have written:
    "I would like to be able to do RAID setups, and I would
    like to have an NAS."

    I apologize for the confusion on this point.


    Okay.


    There are benefits to separating your OS and applications from your
    data. This becomes especially true when you have multiple computers.
    Doing this separation now would be a good way to prepare for Debian 13.


    The challenge is /home -- each user's home directory contains OS stuff, application stuff, and whatever stuff the user has placed there. I
    leave /home on root so that the per-user OS stuff and the per-user
    application stuff stay on the same device as the OS and applications
    that created and use them. I have moved each user's whatever stuff to
    the file server /var/local/samba/username directory. I mount that
    directory at /samba/username on the workstations using each user's
    UID/GID. Users can then create symbolic links to files and/or
    directories from their home directory to the mount directory as desired.


    One possible path would be to shrink your existing /home filesystem and partition, add a new /data partition and filesystem, and see how much
    stuff you can move from /home to /data. Then at some point in the
    future, you could move /data to another disk, RAID, file server, NAS, or whatever.


    4) Regarding rsync filling up /:

    I don't mean to unnecessarily prolong the discussion. But let
    me say that I do like rsnapshot, and do use it for my daily
    backups to an external usb drive. Rsnapshot WILL complain and
    refuse to run if the target external usb drive is not attached.

    The problem is with rsync itself (which I like and use).

    After I do the daily rsnapshot backup to external usb drive A,
    I then use rsync to copy any changes from external usb drive A
    to external usb drive B. (Yes, I know that is NOT recommended.
    I really will try to improve/replace that part of my backup
    routine "Real Soon Now".
    :)


    I suggest keeping one USB drive on-site and one USB drive off-site. Use rsnapshot(1) to backup to the on-site disk regularly; say daily. Rotate
    the on-site and off-site disks periodically; say bi-monthly.


    As mentioned previously, if the target usb drive B is not attached,
    rsync by itself will create a mount point with the name of the usb
    drive B in /media/[user home directory], and write to that until /
    fills up.

    Since I know almost no shell scripting, the rsync usb drive A
    to usb drive B copy is done with a simple bash script consisting
    only of the rsync backup command, with options and parameters, but
    without any code to verify that usb drive B is attached.

    I really should learn more shell scripting. That is something
    else I will get to "Real Soon Now".
    :)


    "Learning the Unix Operating System" filled in several knowledge gaps
    that I should have learned much sooner. I recommend it to all readers
    of this list:

    https://www.oreilly.com/library/view/learning-the-unix/0596002610/


    "Classic Shell Scripting" seems to be the canonical text on the subject:

    https://www.oreilly.com/library/view/classic-shell-scripting/0596005954/


    That said, I prefer Perl for scripts (and more).


    5) Finally, regarding "what is filling up /var?":

    IIRC, among other things, it includes .gz compressed log file backups, Flatpak crud, and /var/cache/apt/archives buildup.

    I frequently do:

    # apt-get autoremove

    and

    # apt-get autoclean

    And when I really want to go on a diet, I do:

    # apt-get clean

    Thanks again to all!


    YW. :-)


    David

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)