On Centos 7.0, you are trying to resize using “resize2fs2 the new logical volume once you have add a new volume to your group;
[root@centos7 ~]# resize2fs "yourvolumegroup"
resize2fs 1.42.9 (28-Dec-2013)
resize2fs: Bad magic number in super-block while trying to open "yourvolumegroup"
Couldn't find valid filesystem superblock.
On Centos 7.x, its using now XFS (look into the /etc/fstab), default should be xfs.
Instead of using resize2fs, use this command:
NetApp CIFS Management Commands
CIFS setup wizard launcher
> cifs setup
Terminates the CIFS service
> cifs terminate
Continue reading “NetApp CIFS Management command line”
Squid 3.x with Mysql Authentication
Upon your Mysql table, in addition you might have to review the user's query from this file:
Continue reading “squid 3.x with Mysql Authentication”
As for some Mid and small company, Synology that integrate DSM allows to install/implement a mail server and others… 🙂
The Mail server is based on Postfix, one of the most common Mail server as an alternative to sendmail.(http://www.postfix.org/).
As spam is everywhere, you might consider to implement some solution as Brightmail instead of the spam assassin which is indeed also part of the available package from DSM.
To do so, add these lines to your main.cf from Postfix:
smtpd_milters = inet:IP:41001
milter_protocol = 2
milter_default_action = accept
IP: is the IP of the machine that have Brightmail software.
On Synology, the file is located to:
You might also wish to implement the change into the template file, as if some postfix update are applied this settings might be overwritten.
I am currently using squirrelmail as webmail interface; What I like in it is that most of the settings are straight forward;
Continue reading “Squirrelmail – Download message as eml”
I have recently setup squid 3.x on my raspberry; And wanted to add some basic authentication
Below, the lines needed to enable it; Once in place you can use this command to add user:
Continue reading “squid 3.x with Basic Authentication”
I have experienced recently some issue while attempting to start vmware machines on Centos OS. (6.6).
When I start the vmware services, (service vmware start) the Virtual machine monitor states as FAILED.
Attending to start a vmware, this error appears:
Could not open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon' is loaded.
Continue reading “VMWare Workstation 10 under CentOS 6.x failed to start Virtual machine monitor”
Working from text files, sometime you might come accross the need to remove the line numbers from line into a file.
cat file_with_line_nbers | sed 's/ *[0-9]*.//' > my_new_file
This script is checking the CPU Temp sensor; If one reach the threshold then a notification or shutdown (if needed) is done.
A few variables required to be set; then you are done
Continue reading “Sensor CPU check in bash”
If you do have some spare HW or Raspberry pi; Having your own Lab using an Esx(i) you might consider to look into such of project…
Continue reading “Web (v)sphere client for your Esx(i) with your Raspberry Pi”