LSI/3ware CLI (version 2.00.11.020) Note and Warning: Outputs and commands are system specific! Do not simply copy and paste commands unless you know what you are doing! You may destroy your data! Show controllers: //nas> show Ctl Model (V)Ports Drives
CheatSheet: parted
Run the program # parted /dev/sdX Set the default unit: (parted) unit s Print current partition table: (parted) print Model: AMCC 9650SE-24M DISK (scsi) Disk /dev/sde: 8000GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size
Containers Hype
We are using containers (namely OpenVZ) more then 6 years now in production. And we are very happy with the solution. Till now when mentioning “virtualization” or VPS everybody thought about VMWare, KVM (used also by Amazon), OpenStack and similar
How to access LXC container’s filesystem from the main host
Problem Access the files inside a LXC container in order to show them or copy them. Analysis To access LXC container filesystem use the following trick: The following command # lxc-info -n p1 -p -H prints the process number of
Mail server statistics daily on Postfix
Problem Generate mail server statistics daily on a Postfix mail system. Analysis By parsing postfix log files we can extract a lot of information. A great script for this purpose is pflogsumm [1]. For example on Debian/Ubuntu systems you can install