command line

Resize LVM

#umount /device
#fsck -f /lv_path
#lvresize /lv_path -L +XX[M,G]
#e2fsck -f /lv_path
#resize2fs /lv_path
#moutn /device /path
#df -h
ถ้าขนาดขึ้นตามที่ resize ไว้ก็จบ

ข้อมูลอยู่ครบ ก็ happy ending

ข้อมูลหาย ก็ตัวใครตัวมัน

***คำเตือน ห้ามลืม backup ก่อนเด็ดขาด

How to start or stop a windows service

Start service
C:\>net start ServiceName

Stop service
C:\>net stop ServiceName

How to remove a windows service

sc delete

example:
c:\>sc delete mysql
output
[SC] DeleteService SUCCESS

Syndicate content