A start job is running for dev-disk-by\x2dlabel-xxxxx

检查了下:systemctl --full -a | grep x2duuid

root@debian:/home/liang# ls -l /dev/disk/by-uuid/
lrwxrwxrwx 1 root root 10 2月 3 22:52 02c8b877-eb4d-48be-a494-f973bd05172b -> ../../sda5
lrwxrwxrwx 1 root root 10 2月 3 22:52 2C665449665415C4 -> ../../sda3
lrwxrwxrwx 1 root root 10 2月 3 22:52 73feeb2f-807b-496d-bc8b-b7fc64688b7d -> ../../sda6
lrwxrwxrwx 1 root root 10 2月 3 22:52 813b4388-6d89-4b69-9741-a9af8de4386f -> ../../sda2
lrwxrwxrwx 1 root root 10 2月 3 22:52 a527342d-3db5-4561-abde-fcb5501998b3 -> ../../sda1
root@debian:/home/liang# nano /etc/fstab
swap uuid change
swap分区激活

加速centos的yum更新

centos使用yum进行更新的时候最郁闷的就是速度,最好的解决办法是做一个本地镜像,但是全部镜像大约需要250GB+. OMG, 换算成SAS硬盘也是几千块钱了.
必须花钱么? 当然不是, 可以通过安装fastestmirror和axel提高速度!
FastestMirror是类似apt-spy的yum用软件
axel是一个Linux下多线程下载工具

yum -y install yum-fastestmirror
wget http://alioth.debian.org/frs/download.php/2621/axel-2.2.tar.bz2
tar jxvf axel-2.2.tar.bz2
cd axel-2.2
./configure
make && make install
svn co http://cnfreesoft.googlecode.com/svn/trunk/axelget/ /etc/yum/axelget
cd /etc/yum/pluginconf.d/
ln -s /etc/yum/axelget/axelget.conf .
cd /usr/lib/yum-plugins/
ln -s /etc/yum/axelget/axelget.py .

最后确保/etc/yum.conf中plugins=1就好了
yum -y update来测试吧

分类: Centos | 留下评论