centos 7 : format over 4TB Hint

# yum install parted # lsblk fdisk -l /dev/sda Disk /dev/sda: 4000.8 GB, 4000787030016 bytes, 7814037168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk label type: dos Disk identifier: 0x4d1b22b4 Device Boot Start End Blocks Id System […]

Read More

named : master-slave notify Hint

master : in zone files masters  ip : 192.168.0.10 2015122601; serial => must changed when zone file edited         IN      NS      ns.owllab.org.         IN      NS      ns1.owllab.org.     slave : in named.conf file # vi /etc/named/named.conf zone "owllab.org" IN {type slave;masters […]

Read More

Data recovery : TestDisk

http://www.cgsecurity.org/ [root@centos7 ~]# dumpe2fs /dev/mapper/vg_centos6-lv_root | grep superblock dumpe2fs 1.42.9 (28-Dec-2013)   Primary superblock at 0, Group descriptors at 1-4   Backup superblock at 32768, Group descriptors at 32769-32772   Backup superblock at 98304, Group descriptors at 98305-98308   Backup superblock at 163840, Group descriptors at 163841-163844   Backup superblock at 229376, Group descriptors at […]

Read More

centos7 : epel-release, libnss-mysql hint

# yum install epel-release # yum install libnss-mysql       vi /etc/libnss-mysql-root.cfg  ------------------------------------ username    nss-root password    passwd ------------------------------------   vi /etc/libnss-mysql.cfg  ------------------------------------ username    nss-user password    passwd ------------------------------------   vi /etc/nsswitch.conf ------------------------------------ # passwd:    db files # shadow:    db files # group:     db files passwd:     files sss […]

Read More