Announcement

Collapse
No announcement yet.

Concept for new installation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Originally posted by Virginio Miranda View Post
    It seems you create a Swap of 512 Megas on 500 GB SSD. This is the default for Kubuntu 24.04.
    Indeed, for me calamares always creates a swap file of 512 MB (or maybe MiB), even if I've set up a swap partition.
    Regards, John Little

    Comment


      #32
      Originally posted by nobbert View Post
      Gnah! I didn't expect problems like these. The CPU-fan which should hopefully fit inside the case won't be here until 25.02., so I have to wait some more weeks

      Strange about the swap... it reads like you said, but parted tells me, I organized it correctly...

      I created the RAID with mdadm and it is a RAID1 with 2 similar disks. No problem with mounting, no problem with unmounting, but with shutting down since I installed the RAID.
      shutdown -v has no verbose output-effect (other than shutting down to an unresponsive system) and is not documented on the manpage.
      This is not only a question of mounting and unmounting and shutdown, but raid1 array has to be in stopped state before shutdown the PC. It seems there is a problem on it. This is why i asked you to explain how you created the raid array.

      i have the impression you did not do it correctly. That statement : " The HDD-RAID is mounted in /home/username/RAID, so my own files are secure on the RAID, while the system's userfiles are on the faster SSD " guide me to that.

      Compare what you did with the instructions of Digital Ocean on the link bellow:

      https://www.digitalocean.com/communi...a-raid-1-array

      And yes, Try to mount on /mnt. Only by convention.

      Comment


        #33
        Ok, I've followed Virginio's link to Digital Ocean on how-to-RAID.
        That solved the "problem" of /dev/md0 turning into /dev/md127 but the shutdown didn't work either.

        But now, I've got a glimpse of a solution:
        1.) sudo umount /dev/md0
        2.) sudo mdadm --stop /dev/md0
        After these two commands (and especially the second one!), the system shuts down or reboots just as expected.

        But how to implement these two commands into a shutdown-routine? Mess around with systemd?

        By the way, I'm still waiting for a CPU-fan which fits into my casing... but that should be delivered in 2-3 weeks, finally
        Last edited by nobbert; Yesterday, 02:53 AM.

        Comment


          #34

          Yes, it is possible by script and using systemd, but depending on the situation it may not work. For example: using mysql. The trick will not work because you will have to stop mysql first. Think about it. It may be better to do it manually on the command line.


          Comment


            #35
            It finally works with systemd-services!
            I did, what was documented here: https://askubuntu.com/questions/1335...n-ubuntu-21-04


            Edit:
            Sometimes, it seems not to work... :-/
            Last edited by nobbert; Today, 11:00 AM.

            Comment

            Working...
            X