/dev/sd* UUID
root@mx:/etc# blkid
/dev/sda1: LABEL="boot" UUID="e40fb979-51bf-4b8d-b09f-77eda3e74cf0" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb: UUID="1c01e3cb-3930-4cc2-8da2-4cc6acff4adb" SEC_TYPE="ext2" TYPE="ext3"
root@mx:/etc#
root@mx:/etc# blkid
/dev/sda1: LABEL="boot" UUID="e40fb979-51bf-4b8d-b09f-77eda3e74cf0" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb: UUID="1c01e3cb-3930-4cc2-8da2-4cc6acff4adb" SEC_TYPE="ext2" TYPE="ext3"
root@mx:/etc#
tar zcvfp - /var/www/dir/data/www | ssh user@9.25.12.110 "cat > ~/from_somehost.tar.gz"
iptables -A INPUT -p tcp -m state --state NEW --dport 22 -m recent --update --seconds 90 -j DROP
iptables -A INPUT -p tcp -m state --state NEW --dport 22 -m recent --set -j ACCEPT
[root@vds02 ~]# dmidecode |less
# dmidecode 2.11
SMBIOS 2.4 present.
45 structures occupying 1406 bytes.
Table at 0xCFF6A000.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: Phoenix Technologies LTD
Version: 6.00
Release Date: 05/29/2007
Address: 0xE54F0
Runtime Size: 109328 bytes
ROM Size: 1024 kB
Characteristics:
PCI is supported
PNP is supported
BIOS is upgradeable
BIOS shadowing is allowed
ESCD support is available
Boot from CD is supported
Selectable boot is supported
EDD is supported
3.5"/2.88 MB floppy services are supported (int 13h)
ACPI is supported
USB legacy is supported
LS-120 boot is supported
ATAPI Zip drive boot is supported
BIOS boot specification is supported
Targeted content distribution is supported
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Supermicro
Product Name: X7DBR-3
Version: 0123456789
Serial Number: 0123456789
UUID: 53D19F64-D663-A017-8922-003048325CFA
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified
Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
Manufacturer: Supermicro
Product Name: X7DBR-3
Version: PCB Version
Serial Number: 0123456789
.....................................
chmod +x arcconf
apt-get install libstdc++5
./arcconf GETCONFIG 1
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
Controller Status : Optimal
Channel description : SAS/SATA
Controller Model : Adaptec 5405
Controller Serial Number : 3E0213008F5
Physical Slot : 6
Temperature : 44 C/ 111 F (Normal)
Installed memory : 256 MB
Copyback : Disabled
Background consistency check : Disabled
Automatic Failover : Enabled
Global task priority : High
Performance Mode : Default/Dynamic
Stayawake period : Disabled
Spinup limit internal drives : 0
Spinup limit external drives : 0
Defunct disk drive count : 0
Logical devices/Failed/Degraded : 1/0/1
SSDs assigned to MaxCache pool : 0
Maximum SSDs allowed in MaxCache pool : 8
MaxCache Read Cache Pool Size : 0.000 GB
MaxCache flush and fetch rate : 0
MaxCache Read, Write Balance Factor : 3,1
NCQ status : Enabled
Statistics data collection mode : Enabled
--------------------------------------------------------
Controller Version Information
--------------------------------------------------------
BIOS : 5.2-0 (18937)
Firmware : 5.2-0 (18937)
Driver : 1.2-0 (29801)
Boot Flash : 5.2-0 (18937)
--------------------------------------------------------
Controller Battery Information
--------------------------------------------------------
Status : Not Installed
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
Logical device name : raid6
RAID level : 6 Reed-Solomon
Status of logical device : Suboptimal, Fault Tolerant
Size : 12393462 MB
Stripe-unit size : 64 KB
Read-cache mode : Enabled
MaxCache preferred read cache setting : Disabled
MaxCache read cache setting : Disabled
Write-cache mode : Disabled (write-through)
Write-cache setting : Disabled (write-through)
Partitioned : Yes
Protected by Hot-Spare : No
Bootable : Yes
Failed stripes : No
Power settings : Disabled
--------------------------------------------------------
Logical device segment information
--------------------------------------------------------
... skip ...
Command completed successfully.
May 10 03:49:47 mx rsyslogd-2039: Could not open output pipe '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]
/etc/rsyslog.d
##daemon.*;mail.*;\
## news.err;\
## *.=debug;*.=info;\
## *.=notice;*.=warn |/dev/xconsole
W: Не удалось получить gzip:/var/lib/apt/lists/partial/ru.archive.ubuntu.com_ubuntu_dists_quantal_main_source_Sources Хеш сумма не совпадает
W: Не удалось получить gzip:/var/lib/apt/lists/partial/ru.archive.ubuntu.com_ubuntu_dists_quantal_main_binary-amd64_Packages Хеш сумма не совпадает
W: Не удалось получить gzip:/var/lib/apt/lists/partial/ru.archive.ubuntu.com_ubuntu_dists_quantal_universe_binary-amd64_Packages Хеш сумма не совпадает
W: Не удалось получить gzip:/var/lib/apt/lists/partial/ru.archive.ubuntu.com_ubuntu_dists_quantal_multiverse_binary-amd64_Packages Хеш сумма не совпадает
W: Не удалось получить gzip:/var/lib/apt/lists/partial/ru.archive.ubuntu.com_ubuntu_dists_quantal_universe_binary-i386_Packages Хеш сумма не совпадает
E: Некоторые индексные файлы не скачались. Они были проигнорированы или вместо них были использованы старые версии.
rm /var/lib/apt/lists/* -vf
#!/bin/bash
if [ "$1" = "-T" ] ; then
echo -n "©"
exit 0
fi
mpath=`pwd`
if [ -n "$1" ]
then
mpath=$1
fi
. ${mpath}/pre-run.conf
DRIVELIST="$(echo "$DRIVELIST" | sed 's|cache=none|cache=writethrough|g')"
VNC=":${ID},password"
NNIC="nic,macaddr=${MAC},model=${MODEL}"
NTAP="tap,ifname=${IFACE}${ID},script=${UPSCRIPT},downscript=${DOWNSCRIPT}"
PIDFILE=${VDSPATH}/pidfile
MONITOR="unix:${VDSPATH}/monitor,server,nowait"
PADD="-rtc base=localtime,clock=host"
if [ -z "${VDSSERIAL}" ]
then
SERIAL="unix:${VDSPATH}/serial,server"
else
SERIAL=${VDSSERIAL}
fi
if [ -n "${INCOMING}" ]
then
/usr/bin/kvm -name ${NAME} -smp ${SMP} -boot ${BOOT} -vnc ${VNC} -net ${NNIC} -net ${NTAP} -m ${MEM} -monitor ${MONITOR} -serial ${SERIAL} -pidfile ${PIDFILE} -daemonize -enable-kvm ${DRIVELIST} -incoming "${INCOMING}" ${PADD}
else
/usr/bin/kvm -name ${NAME} -smp ${SMP} -boot ${BOOT} -vnc ${VNC} -net ${NNIC} -net ${NTAP} -m ${MEM} -monitor ${MONITOR} -serial ${SERIAL} -pidfile ${PIDFILE} -daemonize -enable-kvm ${DRIVELIST} ${PADD}
fi
exit $?
http://forum.ispsystem.com/ru/showthread.php?p=121397