Slackware and RAID
Is anyone here who runs a soft raid on Slackware?
Out of the box there are no raid scripts, the ones I made myself seem a little rawish, barely more than mdadm --assemble/--stop.
Signature · 9 lines
-----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d--(+)@ s-:+ a- C++++ UL++ P+>++ L+++>++++ E-- W++ N o? K- w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@ b++(+++) DI+++ D- G++ e* h>++ r* y? ------END GEEK CODE BLOCK------ http://www.stop1984.com http://www.againsttcpa.com
Quoted 5 lines · Dexter Filmore
Is anyone here who runs a soft raid on Slackware?
Out of the box there are no raid scripts, the ones I made myself seem a little rawish, barely more than mdadm --assemble/--stop.
I'm pretty much off Slack now, but I have run, the scripts you describe are about 2/3 of what you need, see the thread(s) here about monitoring. mdadm doesn't need a lot of direction...
Signature · 3 lines
bill davidsen <[email protected]> CTO TMR Associates, Inc Doing interesting things with small computers since 1979
Am Samstag, 16. September 2006 19:26 schrieb Bill Davidsen:
Quoted 8 lines
Quoted 3 lines · Dexter Filmore
Is anyone here who runs a soft raid on Slackware?
Out of the box there are no raid scripts, the ones I made myself seem a little rawish, barely more than mdadm --assemble/--stop.I'm pretty much off Slack now, but I have run, the scripts you describe are about 2/3 of what you need, see the thread(s) here about monitoring. mdadm doesn't need a lot of direction...
What's the remaining third?
I fumbled it into rc.S and rc.6, reason why I ask is that array degraded about 6 times in the few months I run it and I can't figure why. Only thing I know is that it degrades somewhere in the reboot process, so I suspect it might not properly shutdown.
Dex
Signature · 9 lines
-----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d--(+)@ s-:+ a- C++++ UL++ P+>++ L+++>++++ E-- W++ N o? K- w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@ b++(+++) DI+++ D- G++ e* h>++ r* y? ------END GEEK CODE BLOCK------ http://www.stop1984.com http://www.againsttcpa.com
Quoted 10 lines · Dexter Filmore
Am Samstag, 16. September 2006 19:26 schrieb Bill Davidsen:
Quoted 8 lines
Quoted 3 lines · Dexter Filmore
Is anyone here who runs a soft raid on Slackware?
Out of the box there are no raid scripts, the ones I made myself seem a little rawish, barely more than mdadm --assemble/--stop.I'm pretty much off Slack now, but I have run, the scripts you describe are about 2/3 of what you need, see the thread(s) here about monitoring. mdadm doesn't need a lot of direction...
Quoted 5 lines
What's the remaining third?
I fumbled it intorc.Sand rc.6, reason why I ask is that array degraded about 6 times in the few months I run it and I can't figure why. Only thing I know is that it degrades somewhere in the reboot process, so I suspect it might not properly shutdown.
Have you tried simply setting the partition types to 0xFD and relying on the kernel auto-detect?
I read here that there seems to be some resistance to this method though, but I've been using it for many years without any issues - however I'm not doing any thing "clever" like LVM or RAID on RAID (RAID1+0, etc.)
Gordon
Quoted 6 lines
Quoted 5 lines
What's the remaining third?
I fumbled it intorc.Sand rc.6, reason why I ask is that array degraded about 6 times in the few months I run it and I can't figure why. Only thing I know is that it degrades somewhere in the reboot process, so I suspect it might not properly shutdown.
Quoted 6 lines
Have you tried simply setting the partition types to
0xFDand relying on the kernel auto-detect?I read here that there seems to be some resistance to this method though, but I've been using it for many years without any issues - however I'm not doing any thing "clever" like LVM or RAID on RAID (RAID1+0, etc.)
That's what I actually do: one big 0xFD partition per disk, raid5, lvm2, 3x xfs.
I run the array with
mdadm --assemble /dev/md0
and stop it with
mdadm --stop --scan
after fs are unmounted and LVM is deactivated.
Signature · 9 lines
-----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d--(+)@ s-:+ a- C++++ UL++ P+>++ L+++>++++ E-- W++ N o? K- w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@ b++(+++) DI+++ D- G++ e* h>++ r* y? ------END GEEK CODE BLOCK------ http://www.stop1984.com http://www.againsttcpa.com
Quoted 11 lines · Dexter Filmore
Am Samstag, 16. September 2006 19:26 schrieb Bill Davidsen:
Quoted 8 lines
Quoted 5 lines · Dexter Filmore
Is anyone here who runs a soft raid on Slackware?
Out of the box there are no raid scripts, the ones I made myself seem a little rawish, barely more than mdadm --assemble/--stop.
Quoted 9 lines
Quoted 5 lines
I'm pretty much off Slack now, but I have run, the scripts you describe are about 2/3 of what you need, see the thread(s) here about monitoring. mdadm doesn't need a lot of direction...
What's the remaining third?
Monitoring... where I pointed you.
Quoted 2 lines
I fumbled it into
rc.Sand rc.6, reason why I ask is that array degraded about 6 times in the few months I run it and I can't figure why. Only thing I know is that it degrades somewhere in the reboot process, so I suspect it might not properly shutdown.
Since I haven't had problems I'll pass on trying to guess what's happening. When I have any problem usually a whole drive hits the floor, and I know what to fix and how. I assume you look at mdstat after boot? If it's clean before you shut down and dirty on boot, something isn't shutting down clean, OR that autodetect stuff isn't working as you want it to. I do NOT run lvm, I avoid stuff like that unless I really need it.
Signature · 3 lines
bill davidsen <[email protected]> CTO TMR Associates, Inc Doing interesting things with small computers since 1979