|
楼主 |
发表于 2013-4-6 10:49:00
|
显示全部楼层
whl32 发表于 2013-4-6 11:12

先fdisk -l看一下有没有swap分区,我的是有,然后运行swapon /dev/vda2,然后就好了,重启也没见有问题. ...[ol][root@111 ~]# fdisk -lDisk /dev/vda: 5368 MB, 5368709120 bytes16 heads, 63 sectors/track, 10402 cylindersUnits = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System/dev/vda1 * 1 8312 4188896+ 83 LinuxPartition 1 does not end on cylinder boundary./dev/vda2 8312 8318 3072 82 Linux swap / SolarisPartition 2 does not end on cylinder boundary./dev/vda3 8318 10398 1048576 82 Linux swap / SolarisPartition 3 does not end on cylinder boundary.[root@111 ~]# swapon /dev/vda2swapon: /dev/vda2: Device or resource busy[/ol]复制代码额
好像没作用··· |
|