Need More Space for Samba Share Directory
by gitpicker from LinuxQuestions.org on (#5FFK7)
I am a Linux newbie so bear with me.
I have installed AlmaLinux8.3, having just changed from CentOS8, using a Dell R420 with a 12TB RAID5 disk array. I installed allowing AlmaLinux to use the default disk partition configuration (shown below):
[root@localhost etc]# fdisk -l
Disk /dev/sda: 10.9 TiB, 12000675495936 bytes, 23438819328 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2A0257C3-D7D7-4515-A75F-723AD9A60FB5
Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 2101247 2097152 1G Linux filesystem
/dev/sda3 2101248 23438817279 23436716032 10.9T Linux LVM
[root@localhost etc]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 5.8G 0 5.8G 0% /dev
tmpfs 5.8G 0 5.8G 0% /dev/shm
tmpfs 5.8G 19M 5.8G 1% /run
tmpfs 5.8G 0 5.8G 0% /sys/fs/cgroup
/dev/mapper/almalinux-root 70G 59G 12G 84% /
/dev/sda2 1014M 243M 772M 24% /boot
/dev/mapper/almalinux-home 11T 78G 11T 1% /home
tmpfs 1.2G 16K 1.2G 1% /run/user/42
tmpfs 1.2G 28K 1.2G 1% /run/user/1000[FONT="Arial"]
tmpfs 1.2G 24K 1.2G 1% /run/user/0
I have created a samba server that I am using as a firmware file repository.
The samba share is located at /srv/samba/firmware. I am able to connect from my Windows10 laptop and map a drive to the samba server share at \\IP Address\firmware, so al of that is working well. I have copied quite a few firmware files to the share directory but have run out of space.
The samba share currently resides in root directory which is only 70GB The "Disks" app show this as "75GB Block Device - /dev/almalinux/root."
I need to have this samba share reside in the home directory which is shown in the "Disks" app as 12TB Block Device - /dev/almalinux/home."
My problem is that I have only a rudimentary understanding of the linux partitioning of 12TB disk array. I need the samba share directory located where I have 11TB of disk space available.
Is it possible to move the samba share from /srv/samba/firmware where only 70GB of space is available to a location where 11TB is available? or do i need to start over and create the samba share in another location, and where would that location be?
Or, can I add space from the Linux LVM (11TB) to the root?
Not sure of my available options, or how to implement to accomplish this.
In short, I need to have my samba share directory where I have 11TB of disk space, or somehow add more disk space to the root directory.


I have installed AlmaLinux8.3, having just changed from CentOS8, using a Dell R420 with a 12TB RAID5 disk array. I installed allowing AlmaLinux to use the default disk partition configuration (shown below):
[root@localhost etc]# fdisk -l
Disk /dev/sda: 10.9 TiB, 12000675495936 bytes, 23438819328 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2A0257C3-D7D7-4515-A75F-723AD9A60FB5
Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 2101247 2097152 1G Linux filesystem
/dev/sda3 2101248 23438817279 23436716032 10.9T Linux LVM
[root@localhost etc]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 5.8G 0 5.8G 0% /dev
tmpfs 5.8G 0 5.8G 0% /dev/shm
tmpfs 5.8G 19M 5.8G 1% /run
tmpfs 5.8G 0 5.8G 0% /sys/fs/cgroup
/dev/mapper/almalinux-root 70G 59G 12G 84% /
/dev/sda2 1014M 243M 772M 24% /boot
/dev/mapper/almalinux-home 11T 78G 11T 1% /home
tmpfs 1.2G 16K 1.2G 1% /run/user/42
tmpfs 1.2G 28K 1.2G 1% /run/user/1000[FONT="Arial"]
tmpfs 1.2G 24K 1.2G 1% /run/user/0
I have created a samba server that I am using as a firmware file repository.
The samba share is located at /srv/samba/firmware. I am able to connect from my Windows10 laptop and map a drive to the samba server share at \\IP Address\firmware, so al of that is working well. I have copied quite a few firmware files to the share directory but have run out of space.
The samba share currently resides in root directory which is only 70GB The "Disks" app show this as "75GB Block Device - /dev/almalinux/root."
I need to have this samba share reside in the home directory which is shown in the "Disks" app as 12TB Block Device - /dev/almalinux/home."
My problem is that I have only a rudimentary understanding of the linux partitioning of 12TB disk array. I need the samba share directory located where I have 11TB of disk space available.
Is it possible to move the samba share from /srv/samba/firmware where only 70GB of space is available to a location where 11TB is available? or do i need to start over and create the samba share in another location, and where would that location be?
Or, can I add space from the Linux LVM (11TB) to the root?
Not sure of my available options, or how to implement to accomplish this.
In short, I need to have my samba share directory where I have 11TB of disk space, or somehow add more disk space to the root directory.