zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

RAID1 replace broken HDD

September 5, 2011 by Igor Drobot 2 Comments

If you see something like this on your monitor or in your logs, you should worry about your important data.

And immediately change your HDD!

1
2
3
4
5
6
7
8
9
10
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.00: failed command: FLUSH CACHE EXT
ata1.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0
res 40/00:0c:b9:68:55/00:00:05:00:00/40 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: hard resetting link
ata1: link is slow to respond, please be patient (ready=0)
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: configured for UDMA/133
ata1: EH complete

ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen ata1.00: failed command: FLUSH CACHE EXT ata1.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0 res 40/00:0c:b9:68:55/00:00:05:00:00/40 Emask 0x4 (timeout) ata1.00: status: { DRDY } ata1: hard resetting link ata1: link is slow to respond, please be patient (ready=0) ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) ata1.00: configured for UDMA/133 ata1: EH complete

[Read more…]

Filed Under: Linux Tagged With: Debian, RAID, raid1, restore RAID, SMART, smartmontools, soft raid

DRBD master/slave setup

July 7, 2011 by Igor Drobot 8 Comments

In the last time I get a lot questions and feedback to some older posts (Active/Passive Cluster) where I used DRBD. And actually I never wrote how to setup DRBD and I try to fill this gap now. Also this post will be a new ground for some new ideas and posts related to Active/Passive Clustering with KVM.

DRBD (Distributed Replicated Block Device) is a really cool cluster solution to have radundant data on two or more nodes. Everybody know RAID, DRBD is like RAID 1 over network.
[Read more…]

Filed Under: Debian, Linux, Networking Tagged With: Cluster, Debian, DRBD, drbd syncer, HA, KVM, LVM, Ubuntu

Postfix home server

June 16, 2011 by Igor Drobot 1 Comment

If you have a mail server at home and your Internet service provider (ISP) has no right PTR record for your assigned IP, you will get trouble the most mail servers will reject you.

Some best examples for mail rejection: gmx.de, mail.ru

This problem can be solved [Read more…]

Filed Under: Debian, Linux, Mailing, Networking Tagged With: Debian, DNS, Mail Server, Postfix, PTR

Increase number of disk mounts

June 14, 2011 by Igor Drobot Leave a Comment

Many home users power off their home computers and servers when they are not being used. Each of you had already this problem, you need very quickly your PC or server and you press the power-ON button and now you can wait.
File system Check!
The check seems to take forever, you can go and make coffee, and the system boot won’t resume until the check is over. [Read more…]

Filed Under: Debian, Linux Tagged With: Debian, disk mount, filesystem check, fsck, mount

NIC PROMISC mode

June 6, 2011 by Igor Drobot Leave a Comment

It was a little bit strange situation, I found my outer interface in a PROMISC mode.
“ip a” or “ifconfig” output shows that my eth0 interface was in the PROMISC mode, but I don’t understand, why?

1
2
eth0: <broadcast,multicast,promisc,up,lower_up> mtu 1500 ...
</broadcast,multicast,promisc,up,lower_up>

eth0: <broadcast,multicast,promisc,up,lower_up> mtu 1500 ... </broadcast,multicast,promisc,up,lower_up>

I don’t used tcpdump or similar tools in this moment.
After I spend some time to my favorite search engine, I found how to disable manually this mode:

1
ifconfig eth0 -promisc

ifconfig eth0 -promisc

Filed Under: Linux Tagged With: Debian, ifconfig, PROMISC mode, promiscuous mode

  • « Previous Page
  • 1
  • …
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • Next Page »
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok