Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a samba share defined in smb.conf that says "path = /home/hondaman/mount" Mount is a drive I added to to my linux box. I have this share mapped in windows, and windows displays the disk free properly of this drive. I now have another drive I added. Where or how do I mount it so that windows will display its disk free too?
Originally posted by Half_Elf Correct me if I am wrong, but you did suceed mounting a drive in linux and sharing it with samba and now you ask how to do for a second drive ?
well... mount the drive ( mount /dev/hdX /where/you/want/it) then add this mount point to your smb.conf ?
Yes, I was able to mount both drives and access them. What i'd like is for windows explorer to report the disk free of each drive.
I tried this in my smb.conf:
[homes]
comment = Home Directories
browseable = no
writable = yes
path = /home/hondaman/mount
path = /home/hondaman/mount1
a "mounted" drive is like a new "letter" in windoze. Of course, you can't just "merge" together 2 drive just writing 2 path lines. The fact that you see the last one is mostly a weird way of samba to handle a buggy syntax atmo.
There is way to "merge" together 2 drives, make some search about software raid or any ways to "mixt" together 2 drives.
Originally posted by Half_Elf a "mounted" drive is like a new "letter" in windoze. Of course, you can't just "merge" together 2 drive just writing 2 path lines. The fact that you see the last one is mostly a weird way of samba to handle a buggy syntax atmo.
There is way to "merge" together 2 drives, make some search about software raid or any ways to "mixt" together 2 drives.
So there is no way to mount the drives under my home directory in linux, then in windows, click on those mounts and have windows display the disk free of that particular drive?
as I said, make TWO mount then make TWO shares. ONE share can't show you 2 drives UNLESS you are using some application, like software raid to "merge" together mounted partition, making them appears as one big partition for the system.
It's like a windows letters... can you share TWO letters under ONE share?
Originally posted by Half_Elf as I said, make TWO mount then make TWO shares. ONE share can't show you 2 drives UNLESS you are using some application, like software raid to "merge" together mounted partition, making them appears as one big partition for the system.
It's like a windows letters... can you share TWO letters under ONE share?
Ok, makes sense. So how would I go about mapping to letters in windows to 2 shares in samba since I can only define one "path" in smb.conf
Since when? You can only define one path PER SHARE. No share can own 2 path, it would be senseless.
Take a look at /etc/samba/smb.conf.example and "man smb.conf"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.