[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: raid10 access problem



On 9/7/23 13:28, Dan Ritter wrote:
gene heskett wrote:
On 9/7/23 10:34, Dan Ritter wrote:
gene heskett wrote:
I thought, when I installed bullseye on this box, that a raid is what I
needed for a /home partition, and indeed under bullseye it worked
flawlessly.  Since my surprise install of bookworm, cause by an update to
bullseye wiping out my user pw, so I went to another machine and downloaded
the netinstall.

This raid is 4, 1T samsung SSD's, software raid.

I'm going to assume you're using the kernel's md system. What
does

cat /proc/mdstat

say?

-dsr-
.
gene@coyote:/home/nut$ cat /proc/mdstat
Personalities : [raid10] [linear] [multipath] [raid0] [raid1] [raid6]
[raid5] [raid4]
md0 : active raid10 sdg1[1] sdf1[0] sdi1[3] sdh1[2]
       1842937856 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
       bitmap: 6/14 pages [24KB], 65536KB chunk

md1 : active (auto-read-only) raid10 sdi2[3] sdg2[1] sdf2[0] sdh2[2]
       62879744 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
         resync=PENDING

md2 : active (auto-read-only) raid10 sdf3[0] sdi3[3] sdg3[1] sdh3[2]
       3166208 blocks super 1.2 512K chunks 2 offset-copies [4/4] [UUUU]

unused devices: <none>
neither md1, nor md2 is actually mounted.


That looks fine.

Let's get you logging things again.

apt install rsyslog

Then, in  /etc/systemd/system/syslog.service  add

Requires=syslog.socket

under which [heading]?
and in  /etc/rsyslog.conf  add

module(load="imuxsock" SysSock.Name="/run/systemd/journal/syslog" ) # provides support for local system logging

and now systemd will copy logs to rsyslogd, where they can be
sent to disk in the old familiar way.

-dsr-
.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>


Reply to: