nálni kívánt köteteken:<code bash>
sudo pvcreate /dev/md0
sudo pvcreate /dev/md1
</code>
- Ezekkel hozzunk létre egy volume groupot:<code bash>
sudo vgcreate "my_group" /dev/md0 /dev/md1
</code>
- Ellenőrizzük le, hogy elkészült a volume group (és egyben kérdezzük le a rend
f 3 times.
$ sar -b 1 3
Linux 2.6.18-194.el5PAE (dev-db) 03/26/2011 _i686_ (8 CPU)
01:56... elow.
$ iostat
Linux 2.6.32-100.28.5.el6.x86_64 (dev-db) 07/09/2011
avg-cpu: %user %nice %sy... w statistics for a specific device (For example, /dev/sda), use the option -p as shown below.
$ iostat -p sda
Linux 2.6.32-100.28.5.el6.x86_64 (dev-db) 07/09/2011
avg-cpu: %user %nice %sy
dálkodás kikapcsolása: <code bash>
hdparm -B 255 /dev/sda
</code>
<blockquote>
* Display information of the hard drive: <file bash>
hdparm -I /dev/sda
</file>
* Turn on DMA for the first hard drive: <file bash>
hdparm -d1 /dev/sda
</file>
* Test device read performance of the first hard drive: <file bash>
hdparm -t /dev/sda
</file>
* Enable energy saving spindown aft
}
on myhost.mydomain1 {
device /dev/drbd0;
disk /dev/sdb2;
address 10.0.0.1:7788;
meta-disk internal;
}
}
</fi... re hosts to add redundancy for backup purposes.
/dev/sdb2 is just a small 50gb partition for testing p... er primary r0
/etc/init.d/drbd restart
mkfs.ext3 /dev/drbd0
mount /dev/drbd0 /mnt/r0
</code>
The about