Search found 703 matches

by MartinR
2021/09/12 21:34:32
Forum: CentOS 7 - General Support
Topic: [Solved] bash scripting guru's - at your leisure
Replies: 6
Views: 330

Re: bash scripting guru's - at your leisure

There are many ways to skin a cat! :D

Yep, cheep & cheerful was about 30 seconds thought and maybe two minutes to write and test. I never claimed it as perfect, only that it worked!
by MartinR
2021/09/12 18:58:31
Forum: CentOS 7 - General Support
Topic: [Solved] bash scripting guru's - at your leisure
Replies: 6
Views: 330

Re: bash scripting guru's - at your leisure

Really cheap and cheerful:
File X:

Code: Select all

cat XX | while read entry
	do
		echo "$entry<br>" >> XXX
	done
File XX:

Code: Select all

pork roast
biscuits
prawn crisps
chips
Output:

Code: Select all

pork roast<br>
biscuits<br>
prawn crisps<br>
chips<br>
by MartinR
2021/09/11 09:03:29
Forum: CentOS 8 - General Support
Topic: Monitoring server resources
Replies: 6
Views: 607

Re: Monitoring server resources

Yes; PCP = Performance Co-Pilot. It was originally developed by SGI/Cray to monitor their (for the time) big machines and large academic clusters (£million plus class). It was eventually released into Linux. You can also look out for pmie which is the inference engine. pmie will monitor stats and ta...
by MartinR
2021/09/10 15:34:51
Forum: CentOS 8 - General Support
Topic: Monitoring server resources
Replies: 6
Views: 607

Re: Monitoring server resources

PCP will give you all the stats you want with the option of both live and recorded graphs. Furthermore, there is some integration with cockpit for the statistics collection.
by MartinR
2021/09/10 08:26:14
Forum: CentOS 8 - Networking Support
Topic: mount error: cifs filesystem not supported by the system
Replies: 3
Views: 533

Re: mount error: cifs filesystem not supported by the system

Quick question: have you installed the cifs-utils package?
dnf info cifs-utils
by MartinR
2021/09/05 17:17:56
Forum: CentOS 8 - Hardware Support
Topic: how to find laser printers that work on centos 8
Replies: 8
Views: 786

Re: how to find laser printers that work on centos 8

@lightman47
Thanks for noting that the 277 is the correct driver for the MFP 281. I hadn't found it and was using generic which limits possibilities.
"HP Color LaserJet Pro MFP M277" HP-HP-ColorLaser... -MFP-M278-M281
by MartinR
2021/08/24 21:55:03
Forum: CentOS 8 - General Support
Topic: Plan to replace a RAID5 failed disk?
Replies: 19
Views: 1217

Re: Plan to replace a RAID5 failed disk?

This is just my opinion, but if I was asked to do this I'd be thinking along the likes of: Partition 1 - 1024 MiB RAID1 mirrorset for /boot Partition 2 - 256 MiB RAID1 mirrorset for /boot_efi Partition 3 - 10 GiB RAID1 mirrorset for / (root) Partition 4 - All the rest of the disks: RAID5, LVM on top...
by MartinR
2021/08/24 17:20:19
Forum: CentOS 8 - General Support
Topic: Plan to replace a RAID5 failed disk?
Replies: 19
Views: 1217

Re: Plan to replace a RAID5 failed disk?

I'd be seriously worried about having /boot on RAID5. For each stripe will consist of two data blocks and the associated parity block. Fine for reconstruction, but a software RAID needs the operating system to be running so that the software runs! OW! If you loose one of the disks you would need to ...
by MartinR
2021/08/23 08:07:58
Forum: CentOS 8 - General Support
Topic: mdadm vs. DM Multipath?
Replies: 4
Views: 557

Re: mdadm vs. DM Multipath?

Quite correct: MD administration
by MartinR
2021/08/22 21:44:23
Forum: CentOS 8 - General Support
Topic: mdadm vs. DM Multipath?
Replies: 4
Views: 557

Re: mdadm vs. DM Multipath?

jlehtone has noted the first point I need to make: Multipath is a technology used in Storage Area Networks (SANs) where there are multiple paths to the same disk. For example a cluster data controller might have two fast cards (Gigabit ether or FDDI) going to two controllers with the disks connected...

Go to advanced search