Unix & Linux Asked by Nazia on November 17, 2021
I have installed Samba on centos8 in order to enable sharing for windows systems. I have 2 HDDs already installed having 1 TB each drive. I installed a new drive also which is 2TB. The problem I am facing is…. the root that is shared via samba is 50GB only and it is already full. I want to increase the sharing space either by using the same directory or using my new HD. I am new to all this and need help.
[root@localhost ~]# lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1 ext4 e3f4c534--45f9-27 /boot
└─sda2 LVM2_member fYaqdFF4d
├─cl-root xfs f8038c-6c1e3 /
├─cl-swap swap f14722-ae7 [SWAP]
└─cl-home xfs 026070929 /home
sdb
└─sdb1 LVM2_member AP6buf--XQgD3
└─cl-home xfs 0261042a929 /home
sdc
It sounds like your Samba share is on the root partition. If you expect this to be the largest section, you can:
/opt/samba
, delete everything inside /opt/samba
but keep the folder./opt/samba
. You can do this temporarily with the mount
command; if you want this to persist, you can edit the /etc/fstab
file. I can't be more specific with what you've shared thus far, but as Heysus says in the comments above, posting the output of those commands will let people help you better.Answered by Jon G - Megaphone Tech on November 17, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP