LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba - Increasing Partition (https://www.linuxquestions.org/questions/linux-newbie-8/samba-increasing-partition-361715/)

rubensilva 09-09-2005 07:00 AM

Samba - Increasing Partition
 
Hello all!

I have Mandrake Linux instaled on a 80Gb HDD.
I have a samba partion created, but the size of that partion is 5.8Gb.
That partition is created on the root.
How can I increase the size of that partition witout loosing any data?

Thanks
Rfas

issinho 09-09-2005 08:05 AM

Point your Samba Share elsewhere
 
I assume when you say you have 80 gigs on you harddrive that you still have a large group of that left, correct?

Well, to give Samba more room is easy. You have a larger partition, say 70 gigs available? Go into your smb.conf file (located in /etc/samba) as root and modify the path of the file share to a folder on the larger partition. Example: /=5.6 gigs, /home=70 gigs
/etc/samba/smb.conf change this line under the share: path = /home/{the new location}

So, in the smb.conf, change the path to a folder a little larger. Then, in Linux, copy all of the files in the old location to the new location. Your Windows won't know the difference!

SIDENOTE: do this under the command line. Don't know how well it would work in the GUI, but I assume it is possible.


All times are GMT -5. The time now is 02:34 AM.