Hi All
I have NethServer 8 installed on Proxmox 8. How do I extend my samba drive from 40GB to 200gb? I have already added the extra space in Proxmox.
Hi
I just downloaded a GParted ISO file, loaded it into Proxmox, and tried it, seemd to work but at the end it would not apply.
Hi
I followed this post (Andy) ended up with GParted error
Am guessing that is because it is Rocky 9 and not Debian.
Hi @HZK
This system has 5 partitions, 4 primary and one one of those 4 is an “extended” partition.
Here is where the partition 5 is…
First the enclosing box needs to be enlarged, then the actual swap partition on partition5.
You should be able to see which partition is used for the extended partition5…
My 2 cents
Andy
Hi Andy
So to stop it crashing if you drag it along then hit the + it increments the move to the correct 1024k block.
That looks “sernsible”.
The partitioning on that Rocky looks “highly experimental” and not really suitable to a productive system.
For example, what is /dev/sda3? (Prep ?).
/dev/sda4 doesn’t really look correct, as the boot partition is already on /dev/sda2…
When using BIOS Boot, 3 Partitions are normal. When using EFI, then 4 Partitions.
(Valid for a single disk system / mirrored).
I would NOT use such a unlogical and crappy set up system as a base for a productive server.
My 2 cent
Andy
Hi Andy
Pherhaps that is just the way GParted is represinting the disk/partitions. This is a qcow2 image from the NethServer site (ns8-rocky-linux-9-ns8-stable.qcow2). Is there a Debian install then install NS8?
Yes, that’s what I did in my HowTo, which I sent you in an earlier message…
I did state I’ld install the base OS myself.
The pre-built VMs did have issues in the past.
Add to that the fact that I do know Debian and been using it for more than 30 years AND being using VMWare as Hypervisor since before 2000 - so I probably know Debian and Virtualization better than all our Devs here! I switched to Proxmox around 2014/2015 - and moved all my clients over quickly!
I like & prefer Debian and have been using Debian since before RHEL even started…
All my ca 10 NS8 Clients run like this, albeit most using a much more powerful Proxmox Hypervisor.
A lot are using HP Proliant ML series (Or DL for those using 19" Racks), usually Silver or Gold,
or an equivalent Dell / Supermicro box.
(The HowTo was intended to show it’s possible for NS8 install on a low powered Hypervisor…)
Note:
If any of my clients would like to pay for support, I can at any time spin up a similiar Rocky VM, make it into a member node, then move all Apps and AD/Fileserver via Backup/Restore or Migration to the new node.
At least here, we do have freedom of choice, and a not to hard migration path…
My 2 cents
Andy
Hi Andy, you spoke to soon. Manage to expand the disk from 40GB to 190GB. but now I see the users (2) corrupt and the group (1) also corrupt. Only other thing I did was change the IP address.
You may need to set the new ip in samba too, see also NethServer 7 migration — NS8 documentation
api-cli run module/samba1/set-ipaddress --data '{"ipaddress":"192.168.1.123"}'
And soon as I put IP back to what it was NS8 nmtui (DHCP Automatic) my Users and groups are back. Is there a concole or terminal session in the NS8 gui? (Like NS7 had).
There’s no web terminal in the NS8 cluster-admin.
You could install cockpit, see also NS8 terminal for cluster admin - #8 by stephdl
As you run on proxmox you can just use the console of the VM?
For changing the partition size of the prebuilt qcow image I did the following:
Increase the size of the disk image in proxmox.
Then from the console of the vm:
growpart /dev/sda 5
xfs_growfs /
Please note that there is a space between “sda” and “5”
EDIT: Sorry, now see that this was already suggested by mrmarkuz.
Hi All
Debian12 NS8
After changing the IP I managed to link the domain back to the domain IP with changing the Provider api-cli run module/samba1/set-ipaddress --data ‘{“ipaddress”:“192.168.16.10”}’ all users and groups and share working.
But now the mail server cannot find the domain.
Should I just remove the domain and start again?
Many Thanks as always for any help
PS
I have uninstalled and reinstalled the mail, made no difference.
I am setting up this system at my place (192.168.25.0/24) but the place it is going to is (192.168.16.0/24). Before moving it I wanted to switch over the IP addressing.
Hi @HZK
This is NOT the way to set up a good server.
Better would be:
- Create a separate subnet on your router simulating your Target Network (192.168.16.0/24) or a second router creating a separate subnet.
- Set up the server there - so it will not need an IP change.
My 2 cents
Andy
What’s your servers hostname and domain?
hostname -f
The mail domain default is set to the domain of the host and it seems there’s no dot in the domain name, see also ns8-mail/imageroot/actions/get-defaults/10get_defaults at main · NethServer/ns8-mail · GitHub
Many thanks Andy, I figured that NS8 is quite sensitave to IP change. I can set that other IP range up.
Hi mrmarkuz
Here is the host name.
root@debian:~# hostname -f
debian.gkas
Is that a link to a script to run?