-
Recent Posts
Recent Comments
Archives
Categories
Meta
Monthly Archives: December 2014
live adding a new disk to linux running in VMware
In VMware create a new disk (we assume this is the 2nd disk ~ sdb here) Let’s rescan the bus so linux recognizes it # echo “- – -” > /sys/class/scsi_host/host0/scan Now we partition the new disk # fdisk /dev/sdb … Continue reading
Posted in CentOS, VMware
Leave a comment
set disk scheduler to NOOP on linux running in VMware
check the current disk scheduler: # cat /sys/block/sda/queue/scheduler set the current disk scheduler to NOOP: # echo “noop” > /sys/block/sda/queue/scheduler change it also in the bootloader: # grubby –update-kernel=ALL –args=’elevator=noop’
Posted in CentOS, VMware
Leave a comment
CentOS 5 rescue mode fsck on LVM
boot with CentOS 5 dvd or the first CD in rescue mode skip the mounting part first scan for our volume groups: # lvm vgscan then activate the logical volumes: # lvm lvchange -ay now you should see your volumegroup … Continue reading
Posted in CentOS
Leave a comment