Infrastructure at your Service

Tag

Linux Archives - Page 9 of 9 - Blog dbi services

Daniel Westermann

Running PostgreSQL on ZFS on Linux

By | Database Administration & Monitoring | No Comments

ZFS for Solaris is around for several years now (since 2015). But there is also a project called OpenZFS which makes ZFS available on other operating systems. For Linux the announcement for ZFS being production ready was back in 2013. So why not run PostgreSQL on it? ZFS provides many cool features including compression, snapshots and build in volume management. Lets give it a try and do an initial setup. More details will follow in…

Read More
Oracle Team

List usernames instead of uids with the ps command for long usernames

By | Database management, Operation systems | One Comment

By William Sescu Have your ever faced such a situation. You have usernames in your /etc/passwd file with more than 8 characters. This is no problem for Linux at all, usernames may be up to 32 characters long, only your ps output might look a little scrambled. It shows you the uid instead of the username like in the following example: $ id uid=20001(longuser01) gid=10002(oinstall) groups=10002(oinstall) $ sleep 1000000 & $ ps -ef | grep…

Read More
Oracle Team

How to do a Filesystem Resize (ext3/ext4) on Redhat running on VMware

By | Database Administration & Monitoring, Operation systems | No Comments

By William Sescu A filesystem resize can be done in several ways, online, offline, with LVM2 or without LVM2.  However, this blog will describe how to do an online resize of ext3/ext4 filesystems where a virtual disk (vmdk) is online added to a VMware Redhat guest OS. So let’s start with the online filesystem resize of ext3/4 filesystems on the Redhat guest OS.  A new virutal disk (preferably an eagerd zero thick on VM running…

Read More

LVM : How to extend a Volume Group

By | Database Administration & Monitoring | No Comments

In this article we’ll going to explore on how to extend a partition which resides in a Logical Volume. LVM (Logical Volume Manager) is a great tool for managing your storage devices on a Linux host. Lets start with some vocabulary. In the order of the lowest layer (hard disks) towards the highest layer (the file system): Your hard disks cabled in the waiter or in a SAN Physical Volume: these are the hard disks,…

Read More
Oracle Team

Mail mit Format und Priorität aus Linux

By | Operation systems | No Comments

Ausgangslage Ein Kunde hat mit kürzlich danach gefragt, wie ich den Output eines Scripts auf einer Linuxplattform per Mail sauber formatiert versenden kann. Als Beispiel nehmen wir folgendes: ____________________________________________________________________________________________________________________ File System free space on fed22v1.localdomain ____________________________________________________________________________________________________________________ | | | Mb-Total Mb-Free 0% 20% 40% 60% 80% 100% | | / : 17918 16263 #####—-+———+———+———+———+ 10% | | /boot : 476 326 #############——+———+———+———+ 27% | | /dev : 479 479 +——–+———+———+———+———+ 0% | | /dev/shm :…

Read More