Fulltext results:
- btrfs @linux:filesystems
- ===== optimize ===== COW is not good for small files like database files: disable it for a directory: chattr -R +C /var/lib/mysql check: lsattr /var/... df /home/ see, if the device was full: btrfs filesystem show for example: here only 2.67TiB are *r... lins.org/perso/btrfs/post_2014-05-04_Fixing-Btrfs-Filesystem-Full-Problems.html ===== btrfs RAID =====
- Crypto @linux:filesystems
- nd install bootlaoder from a chroot, see: [[linux:filesystems:boot|]] ---- \\ **Create the RAID array:** ... sk failure. Switch off the power and reboot. Do a filesystem check. Create thousands of files and delete them. Copy loads of big ISO images. Do whatever could h... ed above, then format the opened crypto container filesystem: mkfs.btrfs /dev/mapper/<cryptname>
- dirvish @linux:backup
- ps of directories trees up to 100GB of small mail files. Usually we mirror the data from a remote server ... ory tree to find if there are other copies of the files. This can even cause database servers to hang, be... blems, but for me this worked with 100GB of small files copying to a slow internet line: rsync --progr
- mySQL @linux:databases
- $DB > $FILE If you get "error 34 too many open files".. increase open_files_limit in /etc/mysql/my.cnf open_files_limit = 50000 Restart mysql and check to see current setting:
- Courier @linux:emailserver
- == SSL Certificates ===== ...tricky! All config files use these two variables, so I set them to the same cert files in all configs: Private Key and Cert and interme
- duplicity @linux:backup
- ug-Fixes ===== ==== restore error 'too many open files' ==== increase open file limits in /etc/security... ulimit -Hn ulimit -Sn http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/
- LXC @linux:virtualization
- 000 /vservers/<containername>/rootfs If you copy files from outside into the container, they have wrong ... art, check if /dev /sys /proc exist * Check log files in /containerrootdir/ * Check network settings
- RAID @linux:filesystems
- = RAID ====== **raid howto is located in [[linux:filesystems:crypto_raid|]]** ===== RAID recovery ====... update the raid config - achtung ">>" adds to the files, ">" overwrites: mdadm --examine --scan >> /etc
- PXE netboot @linux:debian_install
- tftp server, you just need to serve the pxe boot files from there. For debian, you can use: * an unp... s the pxelinux.cfg directory and debian-installer files. * a debian live cd: you can mount an iso and
- Shell Commands & Oneliner
- ev / \\ ---- ===== compressed dump of complete filesystems ===== **backup raw data of a disc (as roo... "normalize" by id3 tag** mp3gain analyses sound files and saves an id3 volume metatag to them. many mus
- SSH @linux:network
- PermitOpen 127.0.0.1:3306 \\ ===== SSHFS - SSH Filesystem ===== Mount remote directories (for all use
- Saltstack
- commit git push Salt master configuration: fileserver_backend: - git gitfs_remotes: - f
- Access Point - hostapd @linux:network
- and add: # disables dnsmasq reading any other files like /etc/resolv.conf for nameservers no-resolv
- VPN @linux:network
- ile to *all* other servers and get the other host files Start tinc: tincd -n <netname> For debugging
- Multiboot Stick @linux:filesystems
- v/sdX * edit grub.cfg config to match your iso files - edit /mnt/usb/boot/grub/grub.cfg * examp