後來找到 protftpd 的設定
IdentLookups off加上之後就解決了!
UseReverseDNS off
但是不知道為什麼,啟動 proftpd 的時間變長了,不知道是哪裡怪怪的。
Let's make a BackBlaze Pod Storage!
IdentLookups off加上之後就解決了!
UseReverseDNS off
# parted /dev/md0
GNU Parted 2.1
Using /dev/md0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel
New disk label type? gpt
Warning: The existing disk label on /dev/md0 will be destroyed and all data on this disk will be lost. Do you want to continue?
Yes/No? y
(parted) mkpart
Partition name? []? primay
File system type? [ext2]? xfs
Start? 0
End? -1
Warning: The resulting partition is not properly aligned for best performance.
Ignore/Cancel? i
(parted) p
Model: Unknown (unknown)
Disk /dev/md0: 33.0TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 33.0TB 33.0TB xfs primay
(parted) q
Information: You may need to update /etc/fstab.
# more /proc/mdstat從上面看出來是 sdk[10](F) 這顆壞掉
md0 : active raid6 sdl[11] sdn[13] sdk[10](F) sdo[14](S) sdm[12] sdh[7] sdf[5] sdc[2] sdj[9] sdg[6] sde[4] sda[0] sdd[3] sdb[1] sdi[8]
21488642560 blocks super 1.2 level 6, 512k chunk, algorithm 2 [13/12] [UUUUUUUUUU_UU]
[=>...................] recovery = 7.3% (143145472/1953512960) finish=1996.5min speed=15112K/sec
# smartctl --all /dev/sdk
smartctl 5.39.1 2010-01-28 r3054 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Device Model: ST2000DL003-9VT166
Serial Number: 5YD4SGVK
代碼: |
[root@eblaze00 home]# parted /dev/md1 GNU Parted 2.1 Using /dev/md1 Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) mklabel New disk label type? y parted: invalid token: y New disk label type? gpt (parted) mkpart primary File system type? [ext2]? ext4 Start? 0 End? -1 Warning: The resulting partition is not properly aligned for best performance. Ignore/Cancel? i (parted) print Model: Unknown (unknown) Disk /dev/md1: 22.0TB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 17.4kB 22.0TB 22.0TB primary (parted) quit Information: You may need to update /etc/fstab. |
# mdadm --create --auto=yes /dev/md0 --level=6 --raid-devices=13 --spare-devices=2 /dev/sd{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o}選項與參數:
# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md2 : active raid6 sdas[14](S) sdar[13](S) sdaq[12] sdap[11] sdao[10] sdan[9] sdam[8] sdal[7] sdak[6] sdaj[5] sdai[4] sdah[3] sdag[2] sdaf[1] sdae[0]
21488642560 blocks super 1.2 level 6, 512k chunk, algorithm 2 [13/13] [UUUUUUUUUUUUU]
[>....................] resync = 0.0% (42496/1953512960) finish=3829.2min speed=8499K/sec
md1 : active raid6 sdad[14](S) sdac[13](S) sdab[12] sdaa[11] sdz[10] sdy[9] sdx[8] sdw[7] sdv[6] sdu[5] sdt[4] sds[3] sdr[2] sdq[1] sdp[0]
21488642560 blocks super 1.2 level 6, 512k chunk, algorithm 2 [13/13] [UUUUUUUUUUUUU]
[>....................] resync = 0.0% (966784/1953512960) finish=1787.6min speed=18204K/sec
md0 : active raid6 sdo[14](S) sdn[13](S) sdm[12] sdl[11] sdk[10] sdj[9] sdi[8] sdh[7] sdg[6] sdf[5] sde[4] sdd[3] sdc[2] sdb[1] sda[0]
21488642560 blocks super 1.2 level 6, 512k chunk, algorithm 2 [13/13] [UUUUUUUUUUUUU]
[>....................] resync = 0.0% (1817472/1953512960) finish=2131.5min speed=15260K/sec
unused devices: <none>
# ls -la|awk ‘{print $9}’ > rmlist.sh# vim rmlist.sh:%s/dfmB/rm -Rf dfmB/:%s/qfmB/rm -Rf qfmB/
#!/bin/sh