LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-06-2014, 01:53 AM   #1
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Rep: Reputation: 73
SSHD and software raid?


Hello!
Do anyone there investigated or created software raid on sshd disc?
in close future i look to ST2000DX001 discs.
now i have two 1Tb hdd in software raid 1, think about a bit bigger space for home desktop....
thanks in advance and information...
 
Old 11-06-2014, 09:51 AM   #2
NathanBarley
Member
 
Registered: Oct 2014
Location: Western Pennsylvania
Distribution: Slackware, Crux, Gentoo, FreeBSD
Posts: 94

Rep: Reputation: Disabled
Quote:
Originally Posted by WiseDraco View Post
Hello!
Do anyone there investigated or created software raid on sshd disc?
in close future i look to ST2000DX001 discs.
now i have two 1Tb hdd in software raid 1, think about a bit bigger space for home desktop....
thanks in advance and information...
I haven't done it, (I'm assuming you meant SSD's - SSHD confused me for a moment ) but my main thought would be what happens with trim; as far as I know, mdtrim (Linux's software RAID) supports it.

Outside of that, they should behave like spinners.
 
Old 11-07-2014, 03:03 AM   #3
rouvas
Member
 
Registered: Aug 2006
Location: Greece
Distribution: Slackware.12.2
Posts: 104
Blog Entries: 3

Rep: Reputation: 21
Why would you want RAID on SSD disks?
 
Old 11-07-2014, 03:07 AM   #4
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
Quote:
Originally Posted by rouvas View Post
Why would you want RAID on SSD disks?

in case of SSHD ( hybrid of small SSD and large HDD) we have, i assume ( not know firmly) one disc with start 8 Gb of ssd and other of hdd space, or it sees as two hdd?

in any case, in ssd live OS data for fast boot, i think. also i think, OS too is be good to prone of hdd failure, as so, i plan make software raid 1 from two discs...
 
Old 11-07-2014, 03:14 AM   #5
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Quote:
Originally Posted by rouvas View Post
Why would you want RAID on SSD disks?
Why not? RAID has the same effect with regards to speed up on SSD as it does on an HDD. RAID0 on two SSDs rule.

Regarding the original question about RAID on a hybrid HDD (I don't like SSHD term because it confuses with sshd the secure shell daemon); you need to have a small, non-RAID, partition for /boot when using a software RAID because the hardware isn't aware of software RAID. So the non-RAID /boot partition takes care of booting up the RAID drives. Google mdadm boot RAID and you should find plenty of tutorials on the subject.

SAM
 
Old 11-07-2014, 03:37 AM   #6
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
Quote:
Originally Posted by sag47 View Post
Why not? RAID has the same effect with regards to speed up on SSD as it does on an HDD. RAID0 on two SSDs rule.

Regarding the original question about RAID on a hybrid HDD (I don't like SSHD term because it confuses with sshd the secure shell daemon); you need to have a small, non-RAID, partition for /boot when using a software RAID because the hardware isn't aware of software RAID. So the non-RAID /boot partition takes care of booting up the RAID drives. Google mdadm boot RAID and you should find plenty of tutorials on the subject.

SAM
cannot understand, why i need to be /boot on non-raided partition?

now i have soft raid on old, traditional hdd, and have a three partitions mapping - / on hdd, where is all system, home and boot too, another -"second" - for data, and another for swap.
all three partitions be in raid1 via linux software raid. all works good, tested to turn off one disc, and all start ok ( in degraded mode, sure, but...)
there is questionable about have swap partition in raid too, but as for /boot, i do not see, why i must have boot on non-raid. also it degraded raid1 idea in much way - if my non-raided boot device has break, i cannot start OS without manual work...
 
Old 11-07-2014, 05:23 AM   #7
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Ah I was thinking RAID0 software RAID requires /boot. RAID1 should be okay so long as it can be booted from using the MBR on the disk. You mentioned software RAID in your first post so I was thinking along RAID0.

Last edited by sag47; 11-07-2014 at 05:27 AM.
 
1 members found this post helpful.
Old 11-07-2014, 11:12 AM   #8
chemfire
Member
 
Registered: Sep 2012
Posts: 422

Rep: Reputation: Disabled
Have looked into BTRFS here, it might be your friend. I have been using it for RAID ever my three ssds for a while with no problems.
 
  


Reply

Tags
raid, slackware, sshd



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
CentOS semi-manual p2V VMWare ESXi- [Software Raid to Non-Software Raid], boots to kernel panic Train Linux - Server 1 06-22-2014 08:46 AM
Adding an old software-RAID array to a software-RAID installation.. Boot problems GarethM Linux - Hardware 2 05-05-2008 03:16 PM
Starting sshd: /etc/init.d/sshd: line 113: /usr/sbin/sshd: Permission denied sumanc Linux - Server 5 03-28-2008 04:59 AM
Will a ex - Software Raid 1 disk boot without Raid software? carlosruiz Linux - Software 0 05-27-2006 01:12 PM

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

All times are GMT -5. The time now is 03:30 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