# fdisk /dev/sdb

Command (m for help): p

Command (m for help): n
Partition number (1-4): 1
First cylinder (1-30401, default 1): 
Last cylinder (1-30401, default 30401): 

Command (m for help): l

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 

Command (m for help): w


# parted /dev/sdb

(parted) print 
Model: ATA WDC WD30EFRX-68A (scsi)
Disk /dev/sdc: 3001GB
Sector size (logical/physical): 512B/4096B

(parted) mklabel gpt                                                      
Warning: The existing disk label on /dev/sdc will be destroyed and all data on this disk will be
lost. Do you want to continue?
Yes/No? yes 

(parted) mkpart
Partition name?  []? primary                                              
File system type?  [ext2]? ext4
Start? 0%
End? 100%

(parted) quit


# mkfs -t ext4 /dev/sdb1

Linux 起動時のfsckタイミングの変更




・(WDのみ) IntelliParkの無効化

# crontab -e
* * * * * for i in `seq 0 7 59`;do (sleep ${i} ; /sbin/hdparm -I /dev/sdb) & done;  > /dev/null 2>&1


# vi /etc/sysconfig/crond
CRONDARGS="-m off"

# systemctl restart crond


# badblocks -vs -b 4096 -o badblocks.txt /dev/sdb1
# smartctl -t long /dev/sdb