lvm + xfs güzel bir ikili oluşturuyor.
Virtualbox için oluştuduğum dosya sistemi iki ayrı disk üzerine 4k bloklardan oluşmaktadır. LVM strip size ve xfs bloklarının 4k olması performansa ciddi bir faydası oluyor. i/o performansı meraklıları test edebilir. :)
[root@zurbahan ~]# lvcreate -L2126997504B -i2 -I4 -nxfs-log depo
File descriptor 7 (pipe:[422885]) leaked on lvcreate invocation. Parent PID 18130: bash
Rounding up size to full physical extent 1,98 GiB
Logical volume "xfs-log" created.
[root@zurbahan ~]# lvcreate -L400G -i2 -I4k -nvbox depo
File descriptor 7 (pipe:[422885]) leaked on lvcreate invocation. Parent PID 18130: bash
Logical volume "vbox" created.
[root@zurbahan ~]# mkfs -t xfs -L vboxs -l logdev=/dev/mapper/depo-xfs--log /dev/mapper/depo-vbox
meta-data=/dev/mapper/depo-vbox isize=256 agcount=16, agsize=6553599 blks
= sectsz=512 attr=2, projid32bit=1
= crc=0 finobt=0
data = bsize=4096 blocks=104857584, imaxpct=25
= sunit=1 swidth=2 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=0
log =/dev/mapper/depo-xfs--log bsize=4096 blocks=520192, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
[root@zurbahan ~]#
Dosya sistemini, sisteminize bağlarken log diskinide belirtmemiz gerekiyor.
[root@zurbahan ~]# grep vbox /etc/fstab
/dev/depo/vbox /mnt/vboxs xfs noatime,nodiratime,logdev=/dev/mapper/depo-xfs--log 0 0
[root@zurbahan ~]#
31 Ekim 2015 Cumartesi
Günün komutu - Linux sistemlerinde {2015.10.31} - findsmb, smbtree
Ağımızda bulunan windwos paylaşımlarını listelemek/aramak için findsmb komutundan faydalanabiliriz.
findsmb - list info about machines that respond to SMB name queries on a subnet
smbtree - A text based smb network browser
Bu komutlar samba-client paketi ile gelmektedir.
# rpm -qf /usr/bin/findsmb
samba-client-3.6.23-20.0.1.el6.x86_64
Detaylı bilgi için samba-client paketi ile sistemimize yüklenen paketleri inceleyebilirsiniz.
# rpm -ql samba-client-3.6.23-20.0.1.el6.x86_64
/usr/bin/findsmb
/usr/bin/nmblookup
/usr/bin/rpcclient
/usr/bin/sharesec
/usr/bin/smbcacls
/usr/bin/smbclient
/usr/bin/smbget
/usr/bin/smbprint
/usr/bin/smbspool
/usr/bin/smbta-util
/usr/bin/smbtar
/usr/bin/smbtree
/usr/share/man/man1/findsmb.1.gz
/usr/share/man/man1/nmblookup.1.gz
/usr/share/man/man1/rpcclient.1.gz
/usr/share/man/man1/sharesec.1.gz
/usr/share/man/man1/smbcacls.1.gz
/usr/share/man/man1/smbclient.1.gz
/usr/share/man/man1/smbget.1.gz
/usr/share/man/man1/smbtar.1.gz
/usr/share/man/man1/smbtree.1.gz
/usr/share/man/man8/smbspool.8.gz
/usr/share/man/man8/smbta-util.8.gz
findsmb - list info about machines that respond to SMB name queries on a subnet
smbtree - A text based smb network browser
Bu komutlar samba-client paketi ile gelmektedir.
# rpm -qf /usr/bin/findsmb
samba-client-3.6.23-20.0.1.el6.x86_64
Detaylı bilgi için samba-client paketi ile sistemimize yüklenen paketleri inceleyebilirsiniz.
# rpm -ql samba-client-3.6.23-20.0.1.el6.x86_64
/usr/bin/findsmb
/usr/bin/nmblookup
/usr/bin/rpcclient
/usr/bin/sharesec
/usr/bin/smbcacls
/usr/bin/smbclient
/usr/bin/smbget
/usr/bin/smbprint
/usr/bin/smbspool
/usr/bin/smbta-util
/usr/bin/smbtar
/usr/bin/smbtree
/usr/share/man/man1/findsmb.1.gz
/usr/share/man/man1/nmblookup.1.gz
/usr/share/man/man1/rpcclient.1.gz
/usr/share/man/man1/sharesec.1.gz
/usr/share/man/man1/smbcacls.1.gz
/usr/share/man/man1/smbclient.1.gz
/usr/share/man/man1/smbget.1.gz
/usr/share/man/man1/smbtar.1.gz
/usr/share/man/man1/smbtree.1.gz
/usr/share/man/man8/smbspool.8.gz
/usr/share/man/man8/smbta-util.8.gz
27 Ekim 2015 Salı
solaris 11.3 çıktı
Solaris meraklılarının beklediği sürüm çıktı.
http://www.oracle.com/technetwork/server-storage/solaris11/downloads/install-2245079.html
http://solaris11.ddns.net:10080
http://solaris11.ddns.net/oracle/software/os
http://www.oracle.com/technetwork/server-storage/solaris11/downloads/install-2245079.html
http://solaris11.ddns.net:10080
http://solaris11.ddns.net/oracle/software/os
alinti - dmesg
Notlar arasında bulduğum bir alias tanımlamasını paylaşıyorum.
Alias bana ait değil, alıntıdır.
Merak edenler google amca ve
http://linuxaria.com/article/how-to-make-dmesg-timestamp-human-readable
linklerine bakabilir :)
Bash kullanıyorsanız; önce dmesg komutunu çalıştırın.
Sonrasında aşağıdakilerini uyguladıktan sonra çalıştırın.
-------------------------------------------------------------------------------------------------------------------------
dmesg_with_human_timestamps () { $(type -P dmesg) "$@" | perl -w -e 'use strict;
my ($uptime) = do { local @ARGV="/proc/uptime";<>}; ($uptime) = ($uptime =~ /^(\d+)\./);
foreach my $line (<>) {
printf( ($line=~/^\[\s*(\d+)\.\d+\](.+)/) ? ( "[%s]%s\n", scalar localtime(time - $uptime + $1), $2 ) : $line )
}'; }
alias dmesg=dmesg_with_human_timestamps
-------------------------------------------------------------------------------------------------------------------------
Artık dmesg çıktısındaki tarihleri insan oğlunun anlayacağı şekilde görüyorsunuz.
Alias bana ait değil, alıntıdır.
Merak edenler google amca ve
http://linuxaria.com/article/how-to-make-dmesg-timestamp-human-readable
linklerine bakabilir :)
Bash kullanıyorsanız; önce dmesg komutunu çalıştırın.
Sonrasında aşağıdakilerini uyguladıktan sonra çalıştırın.
-------------------------------------------------------------------------------------------------------------------------
dmesg_with_human_timestamps () { $(type -P dmesg) "$@" | perl -w -e 'use strict;
my ($uptime) = do { local @ARGV="/proc/uptime";<>}; ($uptime) = ($uptime =~ /^(\d+)\./);
foreach my $line (<>) {
printf( ($line=~/^\[\s*(\d+)\.\d+\](.+)/) ? ( "[%s]%s\n", scalar localtime(time - $uptime + $1), $2 ) : $line )
}'; }
alias dmesg=dmesg_with_human_timestamps
-------------------------------------------------------------------------------------------------------------------------
Artık dmesg çıktısındaki tarihleri insan oğlunun anlayacağı şekilde görüyorsunuz.
19 Ekim 2015 Pazartesi
Günün komutu - Linux sistemlerinde {2015.10.18} - chage
Sistemimizdeki bir kullanıcının, ömrünü, belli sürelerle zorunlu parola değiştirmeye zorlamaya yarayan, bilmediğimiz, kullanmadığımız bir komut.
chage :Usage: chage [options] LOGIN
Options:
-d, --lastday LAST_DAY set date of last password change to LAST_DAY
-E, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE
-I, --inactive INACTIVE set password inactive after expiration to INACTIVE
-l, --list show account aging information
-m, --mindays MIN_DAYS set minimum number of days before password change to MIN_DAYS
-M, --maxdays MAX_DAYS set maximim number of days before password change to MAX_DAYS
-R, --root CHROOT_DIR directory to chroot into
-W, --warndays WARN_DAYS set expiration warning days to WARN_DAYS
[root@zurbahan ~]# useradd remzi
[root@zurbahan ~]# chage -l remzi
Last password change : Eki 18, 2015
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
Last password change : Eki 18, 2015
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
[root@zurbahan ~]# chage -M 360 -W 30 -m 3 -I 7 remzi
[root@zurbahan ~]# chage -l remzi
Last password change : Eki 18, 2015
Password expires : Eki 12, 2016
Password inactive : Eki 19, 2016
Account expires : never
Minimum number of days between password change : 3
Maximum number of days between password change : 360
Number of days of warning before password expires : 30
Last password change : Eki 18, 2015
Password expires : Eki 12, 2016
Password inactive : Eki 19, 2016
Account expires : never
Minimum number of days between password change : 3
Maximum number of days between password change : 360
Number of days of warning before password expires : 30
15 Ekim 2015 Perşembe
Reactos - Desteklenmesi gereken proje
Bu gün güzel ama yeteri kadar desteklenmeyen projelerden Reactos hatırlatmak istiyorum.
İndirip bir kere test etmekde destektir. Zamanı olan herkese Reactos'u indirip,
en azından virtualbox, vmware üzerinden test etmesini tavsiye ederim.
Nedir ReactOS?
ReactOS® is a free open source operating system based on the best design principles found in the Windows NT® architecture (Windows versions such as Windows XP, Windows 7, Windows Server 2012 are built on Windows NT architecture). Written completely from scratch, ReactOS is not a Linux based system, and shares none of the UNIX architecture.
The main goal of the ReactOS® project is to provide an operating system which is binary compatible with Windows. This will allow your Windows® applications and drivers to run as they would on your Windows system. Additionally, the look and feel of the Windows operating system is used, such that people accustomed to the familiar user interface of Windows® would find using ReactOS straightforward. The ultimate goal of ReactOS® is to allow you to use it as alternative to Windows® without the need to change software you are used to.
ReactOS 0.3.17 is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.
İndirip bir kere test etmekde destektir. Zamanı olan herkese Reactos'u indirip,
en azından virtualbox, vmware üzerinden test etmesini tavsiye ederim.
Nedir ReactOS?
ReactOS® is a free open source operating system based on the best design principles found in the Windows NT® architecture (Windows versions such as Windows XP, Windows 7, Windows Server 2012 are built on Windows NT architecture). Written completely from scratch, ReactOS is not a Linux based system, and shares none of the UNIX architecture.
The main goal of the ReactOS® project is to provide an operating system which is binary compatible with Windows. This will allow your Windows® applications and drivers to run as they would on your Windows system. Additionally, the look and feel of the Windows operating system is used, such that people accustomed to the familiar user interface of Windows® would find using ReactOS straightforward. The ultimate goal of ReactOS® is to allow you to use it as alternative to Windows® without the need to change software you are used to.
ReactOS 0.3.17 is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.
8 Ekim 2015 Perşembe
Günün komutu - Linux sistemlerinde {2015.10.08} - smem
Bu gün sistemdeki hafıza kullanımını raporlayan araçlardan smem hatırlatmak
istiyorum. Özellikle grafiklerden hoşlananlar için, basit ama güzel bir araç
Örnek kullanımı; smem -u --pie=user ; smem -u --bar=user
https://www.selenic.com/smem/
Umarım sizlerinde hoşuna gider.
istiyorum. Özellikle grafiklerden hoşlananlar için, basit ama güzel bir araç
Örnek kullanımı; smem -u --pie=user ; smem -u --bar=user
https://www.selenic.com/smem/
Umarım sizlerinde hoşuna gider.
Kaydol:
Kayıtlar (Atom)
-
Systemd ile Linux Sistem Kaynak Yönetimi: RHEL 7/8/9/10 Kapsamlı Rehberi Giriş Modern Linux dağıtımlarının neredeyse tamamı systemd servis...
-
🔒 SSH Servisini OOM Killer'dan Koruma Rehberi 📑 İçerik 1. Giriş 2. OOM Killer Nedir? 3. SSH ve OOM Killer İlişkisi 4. Çözü...
-
RHEL tabanlı her hangi bir sistemde felaket durumunda kurtarma modunda açtığımızda chroot yapmadan önce aşağıdaki bağlantı işlemlerini yapma...


