2,644 reputation
935
bio website halfgaar.net
location Netherlands
age
visits member for 4 years, 11 months
seen yesterday

In short:

  • Linux Sysadmin
  • DB (Mysql mostly) admin.
  • C# Development
  • C++ Qt Development
  • PHP if I have to.
  • (Audio) electronics

Dec
22
comment how to watch certain directories based on pattern for changes (inotify)
I gather you want to setup a permanent infrastructure? In that case, you may have to write a script that you start from rc.local or something. Maybe you can edit your post and describe what you're trying to do.
Dec
22
answered how to watch certain directories based on pattern for changes (inotify)
Dec
21
comment mount a root disk in mnt
oh, you mean if the guest has LVM inside. Yeah, true...
Dec
21
comment mount a root disk in mnt
Are you sure? Why not?
Dec
21
comment MDADM not showing RAID5?
as I said, RAID5 is a kernel module you need to load.
Dec
21
comment MDADM not showing RAID5?
Your post is kind of long and hard to figure out, but if you just need RAID5 support, load the raid5 module: modprobe raid5. However, it shouldn't interpret a RAID5 as RAID1. Are you sure the NAS uses linux mdadm? Linux mdadm in fact makes it super easy to transfer disks from host to host, and Seagate's statement that it's impossible is either a deliberate or accidental mess-up.
Dec
21
reviewed Approve MDADM not showing RAID5?
Dec
21
answered mount a root disk in mnt
Dec
21
comment mount a root disk in mnt
It looks to me as though you're connecting the wrong device. It kind of looks like you're attaching the physical volume of a LVM. Can you edit your post and specify your storage arrangement? Are all VM disks on a logical volume? Or are partitions (not disks) on LVs?
Dec
21
comment DRBD as DR: syncing datastores of 2 ESXI hosts, vmdk consistency?
Since then, I put a notice on our central rsyslogd server to report any ata exception to me. I have more than a handful of examples where it (retroactively) predicted disk failure. I'm a bit amazed that the kernel MD doesn't kick the drive out in those situation, or at least notifies you.
Dec
20
answered Block traffic to certain servers
Dec
20
answered DRBD as DR: syncing datastores of 2 ESXI hosts, vmdk consistency?
Dec
20
comment Block traffic to certain servers
You're going to have to explain your network topology and servers. Are your servers facing the internet? What do they run? What routes your LAN to WAN? Etc. Make a drawing if you can, perhaps.
Dec
20
comment How to record ssh session and email them periodically?
Perhaps sudosh is of use to use? If users want to become root, they can only do it with sudosh, which allows you to replay the session. Perhaps it can be adjusted for non-root activity.
Dec
20
comment Postfix SMTP authenticated can send as anyone
MAIL FROM has nothing to do with authentication. I just sets the return path. It's not even the same address the receiver sees in their mail client.
Dec
20
answered Limiting IP access geographically
Dec
18
comment useradd not encrypting passwords in /etc/shadow
You can use adduser instead, if your distro has it.
Dec
17
comment SSH login works but SFTP login doesn't
Do you get the error instantly, or after a while? This will tell you if the connection receives some response that it can't handle or whether it times out.
Dec
17
comment iptables starts dropping packets; temporarily fixed by doing restart; only from home
Could it be fail2ban that's cauing it? Keep a line open to your server (in tmux, which has a clock that prevents inactive connection killing by routers) and once it doesn't accept new connections anymore, look at iptables again.
Dec
17
comment iptables starts dropping packets; temporarily fixed by doing restart; only from home
Can you post the output of iptables -L -n -v?