Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-09-2005, 07:00 AM   #1
LQ Newbie
Registered: Sep 2005
Posts: 1

Rep: Reputation: 0
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?

Old 09-09-2005, 08:05 AM   #2
Registered: Jun 2005
Location: Bosie, ID
Distribution: Fedora Core 4, Kurumin,BackTrack, Slackware 10.2, IPCop
Posts: 105

Rep: Reputation: 15
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.

Last edited by issinho; 09-09-2005 at 08:06 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Increasing my linux partition Finibhire Linux - Newbie 4 08-13-2005 04:09 PM
increasing partition size Don Powell Linux - Hardware 3 06-23-2005 09:14 AM
Increasing Partition The Patbon Mandriva 8 11-28-2004 06:33 PM
Increasing swap partition suneet123 Linux - Software 3 12-16-2002 03:11 PM
Increasing partition size?? petey *BSD 5 04-25-2002 07:24 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration