Koozali.org: home of the SME Server

SME 10 - has partioning changed lately?

Offline monoman

  • **
  • 45
  • +0/-0
SME 10 - has partioning changed lately?
« on: August 16, 2022, 11:56:29 AM »
Has the default partioning changed?  I note that now there's a /home, rather than just a /. 
I've just run out of space performing first affa backup - as it goes to /var

affabox install from fresh download today
Code: [Select]
[root@affabox scheduled.running]# df -h
Filesystem            Size  Used Avail Use% Mounted on
devtmpfs              252G     0  252G   0% /dev
tmpfs                 252G   12K  252G   1% /dev/shm
tmpfs                 252G  2.0M  252G   1% /run
tmpfs                 252G     0  252G   0% /sys/fs/cgroup
/dev/mapper/kss-root   50G   50G  136K 100% /
/dev/sda2            1014M   93M  922M  10% /boot
/dev/mapper/kss-home  8.7T   61M  8.7T   1% /home
tmpfs                  51G     0   51G   0% /run/user/0

golf install last December
Code: [Select]
[root@golf ~]# df -h
Filesystem             Size  Used Avail Use% Mounted on
devtmpfs                63G     0   63G   0% /dev
tmpfs                   63G   12K   63G   1% /dev/shm
tmpfs                   63G  808K   63G   1% /run
tmpfs                   63G     0   63G   0% /sys/fs/cgroup
/dev/mapper/main-root  3.2T  839G  2.3T  27% /
/dev/sda2              497M  109M  388M  22% /boot
tmpfs                   13G     0   13G   0% /run/user/0

Hardware for affabox is a Dell R820 with 512GB RAM and 16 x 1.2 2.5" 10K SAS drives set up as RAID 10 on a PERC h710 controller with freshly initialised drives.
« Last Edit: August 19, 2022, 10:14:58 PM by monoman »

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SNE 10 - has pationing changed lately?
« Reply #1 on: August 16, 2022, 12:59:19 PM »
you entered in the partitionning tool during the install process. this short incorsion flushes SME default settings and replace them by CentOS default which are
all disks under one huge LVM
boot, home and / partitions plus efi partition if needed

you will need to move your root content to home mapper and rewrite the fstab and grub to point root to home mapper using a rescue disc or reinstall if not confortable with the procedure. 

next time do NOT enter disk utility.

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SNE 10 - has pationing changed lately?
« Reply #2 on: August 16, 2022, 01:06:31 PM »
another alternative

reduce home and then increase root

https://www.golinuxcloud.com/resize-root-lvm-partition-extend-shrink-rhel/#Step_5_Resize_root_LVM_partition


while not practical, as you must decide the limit for home, you could use this as a multiple step to do the opposite and move home content to root at the end.
then edit fstab and regenerate grub.
this is a little bit longer but less prone to break something in the boot process.

Offline monoman

  • **
  • 45
  • +0/-0
Re: SNE 10 - has pationing changed lately?
« Reply #3 on: August 16, 2022, 01:11:32 PM »
you entered in the partitionning tool during the install process. this short incorsion flushes SME default settings and replace them by CentOS default which are
all disks under one huge LVM
boot, home and / partitions plus efi partition if needed

you will need to move your root content to home mapper and rewrite the fstab and grub to point root to home mapper using a rescue disc or reinstall if not confortable with the procedure. 

next time do NOT enter disk utility.

I entered the disk utility back when I set up the other server, and also a few months back when I last played with setimng up Affa yet I did npt end up with this partioning. 

From memory, the installer reports I have no very little space and free up space.

I'll re-install tomorrow after I re-initialise my raid to see what happens. I'd rather have a stand install than manually move stuff around.

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SNE 10 - has pationing changed lately?
« Reply #4 on: August 16, 2022, 01:53:12 PM »
delete your old partition before installing using the restore utility on the install disk.

Offline monoman

  • **
  • 45
  • +0/-0
Re: SME 10 - has pationing changed lately?
« Reply #5 on: August 17, 2022, 12:39:34 AM »
delete your old partition before installing using the restore utility on the install disk.

As I said earlier, I prefer to re-initialise my RAID array and perform a standard install as it is repeatable and documentable.

That said, I followed your advise and did not enter the "destination" section and the partioning is as it should be.

On all my previous SME-10 installs, the destiantion section was showing as an incomplete step, the same as is shown for date time & keyboard.  Possibly because my RAID array way not empty?

I guess after 23 years of using the simpler installs from previous versions I am finding the new installer confusing and a little buggy.  e.g. Often the install crashes at the select language page.


Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SNE 10 - has pationing changed lately?
« Reply #6 on: August 17, 2022, 01:53:11 AM »
the new installer is Red Hat product and we had to deal with it with aome compromises.
One of them is no more degraded raid. The installer block everywhere against it.
Another is the tendency to panic and close if network is too slow responding to a request to a repo.

Another is a tendency to crash if you click on an action before it has the time to finish all its background tasks.

Also if you go on metwork install and do not select the minimal install type, it goes install a minimal centos in place of SME…

And the partitioning tool using its own default even if we had set one at boot is another one. 

We are as irritated as you with all of this, but do not have the man force to rebuild an installer on our own.

Good news is we manage to find more and more workaround every time we try.

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: SME 10 - has pationing changed lately?
« Reply #7 on: August 17, 2022, 08:42:20 AM »
I guess after 23 years of using the simpler installs from previous versions I am finding the new installer confusing and a little buggy.  e.g. Often the install crashes at the select language page.

Of course you can come and help us develop the installer further. Understand the issues and help to try and fix them.

Just ask me for a login on Rocket where we discuss such things.

We are very few with limited time and need all the help we can get.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline monoman

  • **
  • 45
  • +0/-0
Re: SME 10 - has pationing changed lately?
« Reply #8 on: August 17, 2022, 11:53:02 AM »
Of course you can come and help us develop the installer further. Understand the issues and help to try and fix them.

Just ask me for a login on Rocket where we discuss such things.

We are very few with limited time and need all the help we can get.

Sure.  I'll help out.  Next step?

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: SNE 10 - has pationing changed lately?
« Reply #9 on: August 17, 2022, 12:24:50 PM »
Sure.  I'll help out.  Next step?

:-)

PM me here with your full name and a email address for notifications and I'll add you to Rocket where we tend to hang out and discuss dev, and other general nonsense!!

We have a few Antipodeans there already :-)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SNE 10 - has pationing changed lately?
« Reply #10 on: August 17, 2022, 02:03:23 PM »
actually the weight tend to go toward the southern hemisphere currently …

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: SNE 10 - has pationing changed lately?
« Reply #11 on: August 18, 2022, 09:42:13 AM »
It does JP.

A veritable flood!!
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline monoman

  • **
  • 45
  • +0/-0
Re: SNE 10 - has pationing changed lately?
« Reply #12 on: August 18, 2022, 10:51:05 AM »
actually the weight tend to go toward the southern hemisphere currently …

More like returning home.  Back in 99 I headed IT for an Australian NGO.  We needed a cookie cutter solution for deploying servers in remote emergencies.  Several of my IT volunteers found e-smith and worked closely with e-smith to provide a ready solution.  Soon it became our default server deploy and my IT guys found themselves working for e-smith in Canada.

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: SNE 10 - has pationing changed lately?
« Reply #13 on: August 18, 2022, 02:13:44 PM »
More like returning home.  Back in 99 I headed IT for an Australian NGO.  We needed a cookie cutter solution for deploying servers in remote emergencies.  Several of my IT volunteers found e-smith and worked closely with e-smith to provide a ready solution.  Soon it became our default server deploy and my IT guys found themselves working for e-smith in Canada.

Nice story!!

Welcome back then :-)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation