Press enter to see results or esc to cancel.

[Centos] JFS dosya sistemini kullanmak ?

Ilk once modul yuklu mu ? diye kontrol edilir. Zaten mount etmeye calistiginiz da “mount: unknown filesystem type ‘jfs” diye bir hata alirsaniz modul yuklu degildir.

find /lib/modules -name jfs.ko

Modul yuklu degilse,

yum –enablerepo=centosplus install kernel jfsutils

Bu islemlerden sonra sunucuyu restart ettiginizde yeni kernel ile acilacak ve artik jfs dosya sistemini kullanabileceksiniz.

Dosya sistemini jfs ‘e cevirmek icin asagidaki komut kullanilir

jfs_mkfs /dev/sda1

Mount etmek icin

mount /dev/sda1 /mnt/storage/

Sevgiler.

[Ldap]slapd: bdb_db_open: unclean shutdown detected; attempting recovery.

Asagidaki hatayi almanizin nedeni, ldap ‘in duzgun olarak kapatilmamasindandir.

[root@test test]# /etc/init.d/ldap restart
Stopping slapd:                                            [  OK  ]
Checking configuration files for slapd:  bdb_db_open: unclean shutdown detected; attempting recovery.
bdb_db_open: Recovery skipped in read-only mode. Run manual recovery if errors are encountered.
config file testing succeeded

Recovery etmek icin;

[root@test test]# /usr/sbin/slapd_db_recover -v -h /var/lib/ldap/murat.ws/
Finding last valid log LSN: file: 415 offset 2431351
Recovery starting from [415][2431223]
Recovery complete at Wed Mar 16 11:27:38 2011
Maximum transaction ID 8002afe9 Recovery checkpoint [415][2431351]

Cozum icinse; db ‘yi durdurma suresini uzatmayi deneyebiliriz.

vim /etc/sysconfig/ldap

STOP_DELAY=60s