Disk > Mdadm > LVM

lsblk -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT mdadm -D /dev/md127 watch cat /proc/mdstat # Create vg1 vgcreate vg1 /dev/md127 # Create lg disk lvcreate -L 150M vg1 -n lv1lvcreate -L 150M vg1 -n lv2lvcreate -L 150M vg1 -n lv3 lvs lvdisplay mkfs.ext4 /dev/vg1/lv1 mkfs.ext4 /dev/vg1/lv2 mkfs.ext4 /dev/vg1/lv3 mkdir /home/lv1 && mount /dev/vg1/lv1 /home/lv1 mkdir /home/lv2 && mount /dev/vg1/lv2 /home/lv2 […]

Manage user from cmd

Remove a user from a group  net localgroup <group name> <user> /deletee.g. C:\> net localgroup Administrators savillj /delete How to add user to a group net localgroup administrators anormalUser /add Change or reset domain user password with command net user [username [password|*] /domainExample: net user iSunshare Abc12345 /domain Delete/remove domain user with net user command […]