LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-26-2013, 11:59 PM   #1
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Rep: Reputation: 297Reputation: 297Reputation: 297
New slackware server


Hi, I would like to hear some comments on how to set up my new server with Slackware.

I got some new hardware and I plan to set it up as follows:

A SSD 120GB drive, on this set up the / partition and other partitions
2 new 500 GB HDD drives where I plan to put my /home partition on a RAID 1 array.

I will use this machine for my company where I will have my users an ERP software running,
and an asterisk server.

Any suggestions on which files systems to use and how to best partition the drives ?
Should I set up LVM on the SSD ?

Any comments are very welcome, the processor is an AMD FX-8320 X8 (3.5 GHZ) socket AM3+ with
16GB of ram and an Asrock 980DE/U3S3 motherboard.

Last edited by saxa; 10-27-2013 at 12:01 AM.
 
Old 10-27-2013, 12:14 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by saxa View Post
Any comments are very welcome, the processor is an AMD FX-8320 X8 (3.5 GHZ) socket AM3+ with
16GB of ram and an Asrock 980DE/U3S3 motherboard.
You should have spent bit more money and bought an ASUS mainboard instead of the cheaper Asrock board.
 
Old 10-27-2013, 12:56 AM   #3
lylemwood
Member
 
Registered: Jan 2008
Location: Toronto, Canada
Distribution: Slackware, CentOS
Posts: 47

Rep: Reputation: 18
New slackware server

Nice buy on that unit. Good specs for much lower cash-point.

Regarding load-out, I recommend ext4 partitions on anything huge and, typically, I use ext2 on the smaller /var and /tmp partitions I set up to trap logs, etc. Then again, if your asterisk system uses mysql you'll want the /var to be huge if you left the mysql DBs on the stock setup location.

Not being particularly versed with asterisk, I'd have to shy away from too much that is that app-specific.

Which ERP solution are you running? Given that it + asterisk = probably your most mission-critical segments, it may help shed some light on the other 1/2 of that puzzle.

Oh, one more tidbit, I shelled out for a high performance double-fan massive heat-sync non-oem cooling solution for my AMD solutions. It's a known issue that they tend to massively underspec their cooling. It's one of the reasons they've earned a bit of a bad name.
 
Old 10-27-2013, 03:24 AM   #4
sorinm
Member
 
Registered: Jul 2012
Location: RO
Distribution: Slackware64-current/Debian 10
Posts: 76

Rep: Reputation: 33
Don`t forget to enable trim on that ssd.
 
Old 10-27-2013, 04:28 AM   #5
Stuferus
Member
 
Registered: Jun 2013
Location: Germany
Distribution: Slackware
Posts: 174

Rep: Reputation: Disabled
i think the ssd will not last long if you let /var on it.. limited write cycles.

i would put /var on a hdd..
 
Old 10-27-2013, 08:06 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,
Quote:
Originally Posted by Stuferus View Post
i think the ssd will not last long if you let /var on it.. limited write cycles.

i would put /var on a hdd..
Not an issue on newer SSD. My suggestion to the OP would be to make sure to setup TRIM as suggested. Look at this: http://www.linuxquestions.org/questi...ml#post4586044 The whole thread has some useful information. Plus, be sure not to mix settings for Older SSD with new SSD setups. More so for newer setups being used for older SSD. Some people still parrot old setup issues with newer SSD. Not so for new controllers or cell type.
 
Old 10-27-2013, 08:09 AM   #7
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Original Poster
Rep: Reputation: 297Reputation: 297Reputation: 297
Quote:
Originally Posted by andrewthomas View Post
You should have spent bit more money and bought an ASUS mainboard instead of the cheaper Asrock board.
I have another machine with an ASUS MB but I have to say that its not playing nicely, this is the reason why I had gone with Asrock.
 
Old 10-27-2013, 08:24 AM   #8
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Original Poster
Rep: Reputation: 297Reputation: 297Reputation: 297
Quote:
Originally Posted by lylemwood View Post
Nice buy on that unit. Good specs for much lower cash-point.

Regarding load-out, I recommend ext4 partitions on anything huge and, typically, I use ext2 on the smaller /var and /tmp partitions I set up to trap logs, etc. Then again, if your asterisk system uses mysql you'll want the /var to be huge if you left the mysql DBs on the stock setup location.
I will not use mysql with asterisk, but have to use it with the ERP (www.dolibarr.org), which runs on php and mysql.
Is there any reason on to use ext2 , I have used mostly xfs, but have not much experience with ext4, and what about puting btrfs on SSD ?

Quote:
Not being particularly versed with asterisk, I'd have to shy away from too much that is that app-specific.

Which ERP solution are you running? Given that it + asterisk = probably your most mission-critical segments, it may help shed some light on the other 1/2 of that puzzle.
ERP is Dolibarr.

Quote:
Oh, one more tidbit, I shelled out for a high performance double-fan massive heat-sync non-oem cooling solution for my AMD solutions. It's a known issue that they tend to massively underspec their cooling. It's one of the reasons they've earned a bit of a bad name.
[/QUOTE]
Ok, thanks for that tip, I will see if I can find a good cooler or a better fan.
 
Old 10-27-2013, 08:28 AM   #9
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Original Poster
Rep: Reputation: 297Reputation: 297Reputation: 297
I forgot to mention that my ssd is a Samsung 840 EVO.

---------- Post added 10-27-13 at 01:29 PM ----------

@onebuck, thanks for the link.
 
Old 10-27-2013, 09:48 AM   #10
Stuferus
Member
 
Registered: Jun 2013
Location: Germany
Distribution: Slackware
Posts: 174

Rep: Reputation: Disabled
Quote:
Originally Posted by onebuck View Post
Hi,


Not an issue on newer SSD. My suggestion to the OP would be to make sure to setup TRIM as suggested. Look at this: http://www.linuxquestions.org/questi...ml#post4586044 The whole thread has some useful information. Plus, be sure not to mix settings for Older SSD with new SSD setups. More so for newer setups being used for older SSD. Some people still parrot old setup issues with newer SSD. Not so for new controllers or cell type.
how do i know i have a newer not an older? are there special prints on it?
i trust hdd still a bit more and would non the less be carefule.
 
Old 10-27-2013, 10:05 AM   #11
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Original Poster
Rep: Reputation: 297Reputation: 297Reputation: 297
@Stuferus, I would say that a newer SSD would be the one bought in this last year. SSD's are out already few years and therefore I know there were issues with them before. On some of the newer ones the manufacutrers give a warranty of many million writes iirc.
 
Old 10-28-2013, 01:38 PM   #12
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Original Poster
Rep: Reputation: 297Reputation: 297Reputation: 297
Ok, so I will put on my ssd the following dirs / /usr and on my HDD on a RAID 1 /home /var /tmp , what do you think ?
 
Old 10-28-2013, 02:12 PM   #13
lylemwood
Member
 
Registered: Jan 2008
Location: Toronto, Canada
Distribution: Slackware, CentOS
Posts: 47

Rep: Reputation: 18
New slackware server

that sounds like a solid idea.

the dbs are going to grow so I'd definitely think the HDD is better for them.

depending on how your system is going to allocate and free db data remember to look into shrinking since most dbs these days are empty space if not shrunk regularly. I do it as party of my backup so it stays a small operation.

also note that Slackware is doing away with mysql in favor of the maria engine but it's a drop in replacement so shouldn't cause you many issues if any.
 
Old 10-28-2013, 02:50 PM   #14
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by saxa View Post
Ok, so I will put on my ssd the following dirs / /usr and on my HDD on a RAID 1 /home /var /tmp , what do you think ?
In this case the only benefit you will have from the SSD is faster boot time, so if you don't care about that just don't use a SSD.
 
Old 10-28-2013, 03:20 PM   #15
bartgymnast
Member
 
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368

Rep: Reputation: 165Reputation: 165
saxa, the new Samsung SSD have a pretty long cycle of read/write
and if your db size is less than 16 GB, it doesnt matter where you have your DB on.
is however your DB bigger than 16GB, it is a huge win to put it on the SSD disk.

we have customers running purely on SSD disks, and there are no issues (and those disks are 3 years old now)
they use ext4 on the SSD disks. (raid 10)

your initial setup plan is good to use the HDD in raid 1 on your /home and the SSD on the rest.
do make sure that your DB makes backups to /home (as this is your safety net) or to another server
 
  


Reply



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
[SOLVED] Debian server vs Ubuntu server vs Slackware for Quad Xeon DL580 G3 pocketazes Linux - Newbie 4 02-19-2011 03:30 AM
a light home server for server newbie... slackware + webmin? ?xunil Linux - Server 3 08-10-2008 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:35 AM.

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