yum install ethtool -y
-----------------------------------------------
Create a new bond NIC called bond0 (192.168.0.100 is the bonding IP)
gedit /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
DNS1=8.8.8.8
IPADDR=192.168.0.100
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
USERCTL=no
BOOTPROTO=none
NM_CONTROLLED=no
-----------------------------------------------
gedit /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=AA:A8:2A:20:05:C7
NM_CONTROLLED=no
ONBOOT=yes
USERCTL=no
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
-----------------------------------------------
gedit /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
HWADDR=AA:A8:2A:20:05:C8
NM_CONTROLLED=no
ONBOOT=yes
USERCTL=no
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
-----------------------------------------------
gedit /etc/sysconfig/network-scripts/ifcfg-eth2
DEVICE=eth2
HWADDR=AA:A8:2A:20:05:C9
NM_CONTROLLED=no
ONBOOT=yes
USERCTL=no
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
-----------------------------------------------
gedit /etc/sysconfig/network-scripts/ifcfg-eth3
DEVICE=eth3
HWADDR=AA:A8:2A:20:05:CA
NM_CONTROLLED=no
ONBOOT=yes
USERCTL=no
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
-----------------------------------------------
gedit /etc/modprobe.d/bonding.conf
alias bond0 bonding
options bond0 mode=1 miimon=100 downdelay=200 updelay=200
-----------------------------------------------
-----------------------------------------------
modprobe bonding
service network restart
-----------------------------------------------
--------------------------------------------------------------- Finished--------------------------------------
check the Bonding status use the command below:
cat /proc/net/bonding/bond0
-----------------------------------------------
2016年3月14日星期一
2016年3月3日星期四
Open mdadm & lvm2 via Ubuntu live CD or USB
Start the Ubuntu CD or USB
open terminal
command as below
sudo apt-get install lvm2
sudo apt-get install mdadm
mdadm --assemble --scan
Then use DISK apps to access or mount the raid & LVM.
enjoy!
open terminal
command as below
sudo apt-get install lvm2
sudo apt-get install mdadm
mdadm --assemble --scan
Then use DISK apps to access or mount the raid & LVM.
enjoy!
訂閱:
文章 (Atom)