RE: [Samba] Low cost additional storage on a Samba server
Hi, Thanks for the advice. I already use software raid to mirror (raid-1) the 2 internal disks of the machine and it worked perfectly fine. Unfortunatly, the machine is a pizza box and doesn't accept more than 2 internal disks. I prefer the eSATA suggestion. My only problem is to find a eSATA controller that support Redhat EL v4.4 (Centos v4.4). Do you have any suggestions for a eSATA controller with good Linux support ? How can I list the sata controllers supported by Centos 4.4 ? Thanks JF Leblond jfleblon...@hotmail.com > Date: Tue, 28 Apr 2009 13:25:12 +0200 > Subject: Re: [Samba] Low cost additional storage on a Samba server > From: michal.dobroczyn...@gmail.com > To: jfleblon...@hotmail.com > CC: samba@lists.samba.org > > Hello, > Some of our shares available via Samba come "via NFS" and so far we > had no problems at all, thus I can recommend you that solution (people > have no problems with ØÆÅ characters here). If you are unsure - run > little tests, play with different character supports and then roll the > real solution. You can even use your laptop for that. > > On top of that please consider another option - you can just buy a > SATA controller and put inside two 1TB disks (if you wish to have a > nicely working RAID1 for example). A long lasting setup with > redundancy - and with current prices I would consider that affordable, > close to low-cost. The best plus is that you get 1TB of space and you > don't need a drive bay for n-disks in order to have similar capacity. > About TB disks - we have been careful in the beginning, because some > time ago TB disks "were a bit too new" to be used in production > (slight paranoids here). But right now I'm about to install Linux on a > new server with 4x1TB drives. > > Regards, > Michal > > 2009/4/28 Jean-Francois Leblond : > > > > Hi, > > > > At my client, I installed Samba v3 > > on a Linux box (Centos 4) with a NT style domain to act as a file server > > (about 50 Windows clients). > > It's been running fine for a few years now. > > > > It's about to run out of disk space. > > > > I was looking for a low cost solution and came across the low-cost NAS that > > are available now for the soho market. > > > > The problem is that some support only smb file access for Linux clients > > which for my case would be out of the question. > > > > Some support NFS mounts from Linux host. > > > > I wanted to have some of your comments on presenting a NFS mounted > > filesystem on my Samba server to Windows clients. Do you think, I would be > > looking for trouble ? I'm in a french speaking region so we're using > > accent. My experience with NFS is a little bit old and I want to make sure > > I wouldn't loose the french accent or spaces in filenames along the way. > > > > Of course a direct-attached storage would be a sure thing but I was looking > > for a lower cost solution. > > > > Thanks in advance > > > > JF Leblond > > > > _ > > Réinventez comment vous restez en contact avec le nouveau Windows Live > > Messenger. > > http://go.microsoft.com/?linkid=9650737-- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/options/samba > > _ Clavardez avec tout le groupe et rassemblez-les. http://go.microsoft.com/?linkid=9650742-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Low cost additional storage on a Samba server
Hello John, Thanks for answer. I did not expect that you will mention a board that I have in my home computer :) Regards, Michal 2009/4/28 John Drescher : > On Tue, Apr 28, 2009 at 11:20 AM, Michal Dobroczynski > wrote: >> Hello, >> I can only confirm - yes - _use_ linux soft raid... do not believe all >> these "smart RAID5 hw cards" :) >> >> Regarding the machines "bought in 2008" - can you please tell me if >> you have a separate controller (I am interested in brand/model) for >> the drives or you are using onboard chip? >> > I am using ASUS M2N (AMD systems) and ASUS P5Q Pro (Intel systems) > desktop boards with the onboard 6 to 8 SATA ports. To achieve good > write performance I keep the default 64K chunks and tune the stripe > cache size > > echo 2048 > /sys/block/md1/md/stripe_cache_size > echo 2048 > /sys/block/md3/md/stripe_cache_size > > John > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Low cost additional storage on a Samba server
On Tue, Apr 28, 2009 at 11:20 AM, Michal Dobroczynski wrote: > Hello, > I can only confirm - yes - _use_ linux soft raid... do not believe all > these "smart RAID5 hw cards" :) > > Regarding the machines "bought in 2008" - can you please tell me if > you have a separate controller (I am interested in brand/model) for > the drives or you are using onboard chip? > I am using ASUS M2N (AMD systems) and ASUS P5Q Pro (Intel systems) desktop boards with the onboard 6 to 8 SATA ports. To achieve good write performance I keep the default 64K chunks and tune the stripe cache size echo 2048 > /sys/block/md1/md/stripe_cache_size echo 2048 > /sys/block/md3/md/stripe_cache_size John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Low cost additional storage on a Samba server
Hello, I can only confirm - yes - _use_ linux soft raid... do not believe all these "smart RAID5 hw cards" :) Regarding the machines "bought in 2008" - can you please tell me if you have a separate controller (I am interested in brand/model) for the drives or you are using onboard chip? Regards, Michal 2009/4/28 John Drescher : > On Tue, Apr 28, 2009 at 8:19 AM, Gary Dale wrote: >> Easiest way is to implement software RAID on your current server. >> - add 2 (or more) new drives partitioned identically to your current drive >> (unless you want to replace your existing drive) >> - partition type is fd (RAID) >> - create RAID 5 arrays using the new drives & partitions (except for /boot >> which should be on a RAID 1 array) >> - common setup is (but use whatever partition setup you currently have): >> - /boot --> RAID 1 >> - / --> 20G RAID 5 >> - /home --> rest of space >> - tell mdadm that 1 drive is missing from each array >> - copy the files from each partition on your current drive to the RAID >> partitions on the new array >> - update grub to use the new RAID arrays >> - reboot into new array >> - if it works, add your original drive (or its replacement) into the RAID >> array(s) >> >> Needless to say, back up everything before starting. Creating a RAID array >> is safe but mistakes happen and hardware fails. >> >> Benefit of RAID over NAS is >> - don't need to change client setups >> - can be expanded by adding new drives into array >> - speed on reads >> - protection against hard drive failure >> >> Google Linux RAID setup for detailed howtos. >> > > That is pretty much what I do. In the spring of 2008 I was adding 4 > TB+ raid 5 dual core servers (using 750GB drives) with 4 or 8GB of RAM > for under $2000 US. Now you can easily get a quad core with 7 or 8TB > for the same price.. > > I highly recommend linux software raid (unlike windows software raid > which is horribly broken performance wise) linux software raid > performs well. These 4.X TB raid 5 machines I bought in 2008 write at > over 200 MB/s and read at 300MB/s and they do this at less than 8 % > CPU usage on a single core. > > John > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Low cost additional storage on a Samba server
On Tue, Apr 28, 2009 at 8:19 AM, Gary Dale wrote: > Easiest way is to implement software RAID on your current server. > - add 2 (or more) new drives partitioned identically to your current drive > (unless you want to replace your existing drive) > - partition type is fd (RAID) > - create RAID 5 arrays using the new drives & partitions (except for /boot > which should be on a RAID 1 array) > - common setup is (but use whatever partition setup you currently have): > - /boot --> RAID 1 > - / --> 20G RAID 5 > - /home --> rest of space > - tell mdadm that 1 drive is missing from each array > - copy the files from each partition on your current drive to the RAID > partitions on the new array > - update grub to use the new RAID arrays > - reboot into new array > - if it works, add your original drive (or its replacement) into the RAID > array(s) > > Needless to say, back up everything before starting. Creating a RAID array > is safe but mistakes happen and hardware fails. > > Benefit of RAID over NAS is > - don't need to change client setups > - can be expanded by adding new drives into array > - speed on reads > - protection against hard drive failure > > Google Linux RAID setup for detailed howtos. > That is pretty much what I do. In the spring of 2008 I was adding 4 TB+ raid 5 dual core servers (using 750GB drives) with 4 or 8GB of RAM for under $2000 US. Now you can easily get a quad core with 7 or 8TB for the same price.. I highly recommend linux software raid (unlike windows software raid which is horribly broken performance wise) linux software raid performs well. These 4.X TB raid 5 machines I bought in 2008 write at over 200 MB/s and read at 300MB/s and they do this at less than 8 % CPU usage on a single core. John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Low cost additional storage on a Samba server
Easiest way is to implement software RAID on your current server. - add 2 (or more) new drives partitioned identically to your current drive (unless you want to replace your existing drive) - partition type is fd (RAID) - create RAID 5 arrays using the new drives & partitions (except for /boot which should be on a RAID 1 array) - common setup is (but use whatever partition setup you currently have): - /boot --> RAID 1 - / --> 20G RAID 5 - /home --> rest of space - tell mdadm that 1 drive is missing from each array - copy the files from each partition on your current drive to the RAID partitions on the new array - update grub to use the new RAID arrays - reboot into new array - if it works, add your original drive (or its replacement) into the RAID array(s) Needless to say, back up everything before starting. Creating a RAID array is safe but mistakes happen and hardware fails. Benefit of RAID over NAS is - don't need to change client setups - can be expanded by adding new drives into array - speed on reads - protection against hard drive failure Google Linux RAID setup for detailed howtos. Jean-Francois Leblond wrote: Hi, At my client, I installed Samba v3 on a Linux box (Centos 4) with a NT style domain to act as a file server (about 50 Windows clients). It's been running fine for a few years now. It's about to run out of disk space. I was looking for a low cost solution and came across the low-cost NAS that are available now for the soho market. The problem is that some support only smb file access for Linux clients which for my case would be out of the question. Some support NFS mounts from Linux host. I wanted to have some of your comments on presenting a NFS mounted filesystem on my Samba server to Windows clients. Do you think, I would be looking for trouble ? I'm in a french speaking region so we're using accent. My experience with NFS is a little bit old and I want to make sure I wouldn't loose the french accent or spaces in filenames along the way. Of course a direct-attached storage would be a sure thing but I was looking for a lower cost solution. Thanks in advance JF Leblond _ Réinventez comment vous restez en contact avec le nouveau Windows Live Messenger. http://go.microsoft.com/?linkid=9650737-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Low cost additional storage on a Samba server
Hello, Some of our shares available via Samba come "via NFS" and so far we had no problems at all, thus I can recommend you that solution (people have no problems with ØÆÅ characters here). If you are unsure - run little tests, play with different character supports and then roll the real solution. You can even use your laptop for that. On top of that please consider another option - you can just buy a SATA controller and put inside two 1TB disks (if you wish to have a nicely working RAID1 for example). A long lasting setup with redundancy - and with current prices I would consider that affordable, close to low-cost. The best plus is that you get 1TB of space and you don't need a drive bay for n-disks in order to have similar capacity. About TB disks - we have been careful in the beginning, because some time ago TB disks "were a bit too new" to be used in production (slight paranoids here). But right now I'm about to install Linux on a new server with 4x1TB drives. Regards, Michal 2009/4/28 Jean-Francois Leblond : > > Hi, > > At my client, I installed Samba v3 > on a Linux box (Centos 4) with a NT style domain to act as a file server > (about 50 Windows clients). > It's been running fine for a few years now. > > It's about to run out of disk space. > > I was looking for a low cost solution and came across the low-cost NAS that > are available now for the soho market. > > The problem is that some support only smb file access for Linux clients which > for my case would be out of the question. > > Some support NFS mounts from Linux host. > > I wanted to have some of your comments on presenting a NFS mounted filesystem > on my Samba server to Windows clients. Do you think, I would be looking for > trouble ? I'm in a french speaking region so we're using accent. My > experience with NFS is a little bit old and I want to make sure I wouldn't > loose the french accent or spaces in filenames along the way. > > Of course a direct-attached storage would be a sure thing but I was looking > for a lower cost solution. > > Thanks in advance > > JF Leblond > > _ > Réinventez comment vous restez en contact avec le nouveau Windows Live > Messenger. > http://go.microsoft.com/?linkid=9650737-- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Low cost additional storage on a Samba server
Hi, At my client, I installed Samba v3 on a Linux box (Centos 4) with a NT style domain to act as a file server (about 50 Windows clients). It's been running fine for a few years now. It's about to run out of disk space. I was looking for a low cost solution and came across the low-cost NAS that are available now for the soho market. The problem is that some support only smb file access for Linux clients which for my case would be out of the question. Some support NFS mounts from Linux host. I wanted to have some of your comments on presenting a NFS mounted filesystem on my Samba server to Windows clients. Do you think, I would be looking for trouble ? I'm in a french speaking region so we're using accent. My experience with NFS is a little bit old and I want to make sure I wouldn't loose the french accent or spaces in filenames along the way. Of course a direct-attached storage would be a sure thing but I was looking for a lower cost solution. Thanks in advance JF Leblond _ Réinventez comment vous restez en contact avec le nouveau Windows Live Messenger. http://go.microsoft.com/?linkid=9650737-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba