pwrusr.com

» tech notes for power users.

Primary Menu

Skip to content
pwrusr.com
  •  Home
  •  Downloads
  •  About
  •  Contact

add-raid1md2running

Add RAID 1 to your pre-existing Ubuntu, originally installed on a single hdd pt.2 - Hands-On.

Hands-on article on how to add RAID 1 with mdadm to a pre-existing Ubuntu, originally installed on a single hdd.… Read More


Add RAID 1 to your pre-existing Ubuntu, originally installed on a single hdd pt.1 - Intro

Have you ever installed Ubuntu Server onto a physical machine with a single HDD then, after some testing, you finally created your “perfect workingTM setup”? If that is the case, then you'd be afraid to lose all your (hard earned) work and experiments by an HDD failure, right? Well, I haven't reached my “perfect workingTM… Read More


My Tweets
  • Facebook
  • Twitter
  • LinkedIn
  • YouTube

tricks under my sleeve.

add-raid1md2running ArchitectureX86|X86_64=uname -i CentOSUsr2NwGroup=usermod -G orig.groupcommaNewGroup usrname h-v-fast-diff-vm-deployment H-V-V2V-pthrough2VHD=NewVHDWizard! H-V-VirtualAppliance-ubuntu-12.04-X64-server HowToCompressHDDRawImageWithDD -> dd if=/dev/sda bs=16M conv=sync | gzip -c > /mnt/hdd-raw-img.zip HowToDecompressZippedDDImage gunzip –c /mnt/hdd-raw-img.zip | dd of=/dev/sda bs=16M conv=sync HowToMountWindowsShare -> mount -t cifs //nas01/temp /mnt/tmp-smb-share -o username=rwuser Hyper-V-VirtualAppliance-ubuntu-12.04 iptables -L iptables=etc-syscfg-iptables iptablesAllowHTTP=-A INPUT -i eth0 -p tcp --dport 80 -m state --state NEWcommaESTABLISHEDcmmaRELATED -j ACCEPT iptablesAllowMySQL=-A INPUT -i eth0 -p tcp --dport 3306 -m state --state NEWcommaESTABLISHEDcmmaRELATED -j ACCEPT iptablesAllowSSH2LAN=-A INPUT -p tcp -s 10.100.100.0/24 --dport 22 -j ACCEPT Joomla lessEOF=G linux-env-vars:export VARNAME="content" linux-SYS-env-vars=etc-profile linux-USR-env-vars=home-usr-.profile(new-file) lsof -a -p PID lsof -i :TCP|UDP-PortRange lsof -u username lsof /var/log/filename.log m6600 mod_bw1=yum install mod_bw | apt-gt inst libapache2-mod-bw MysqlCopyDBFromhost1Tohost2: mysqldump –u root –p PWD --add-drop-databases --add-drop-table --databases DB | mysql -h remote-host –u root –p DB non-indexed network location on Library=C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Libraries\ ntfsclone2:dmpMBR=dd if=/dev/sdbroken of=/bck/mbr.dmp bs=512 count=1 ntfsclone3:dmpIMG=ntfsclone --rescue --force --save-image --output /bck/ntfs-partition.img /dev/sdbroken1 ntfsrestore1:RstrPTable=sfdisk /dev/sdNew < /bck/partition-table.dmp ntfsrestore2:RstrMBR=dd if=/bck/mbr.dmp of=/dev/sdNew ntfsrestore3:RstrIMG=ntfsclone --restore-image --overwrite /dev/sdNew /bck/ntfs-partition.img PreferIPv4vsIPv6=reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters /v DisabledComponents /t REG_DWORD /d 0x20 putty-numlok-fix=Terminal-Features-DisableApplicationKeypadMode sedMatchPattern+AddNewLine+AppendString=sed -i -e '/^pattern$/a NwLine-thenThisString' file.txt setgid(ieRunAsGroup): chmod 2xxx command.sh setuid(ieRunAsOwner): chmod 4xxx command.sh sticky bit (ie.undeletable file) ->chmod 1755 file.log synology-block-lvl-synch System Volume Information folder WbckRole1=dism /online /enable-feature /featurename:WindowsServerBackup WbckRole2=dism /online /enable-feature /featurename:WindowsServerBackupCommandlet Win8 to Win8.1 upgrade yum repolist all

Creative Commons License
This work by Andrea Matesi is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

Subscribe to pwrusr.com

Enter your email address to receive new posts notifications (very low-traffic - once/twice a Month).

Footer Menu

  • Top
  • Home
© 2025 pwrusr.com. Theme by XtremelySocial.