This command is use to check bad sector on a hard disk.
dd if=/dev/zero of=/dev/sda1 bs=1024
Now we know that is a trouble at first 1 GB
dd if=/dev/zero of=/dev/sda1 bs=1024
[admin@MikroTik] > /system serial-terminal usb2 channel=2 [Ctrl-A is the prefix key] ATI Manufacturer: Option N.V. Model: GTM378 Revision: 2.3.3Hd (Date: Jul 17 2007, Time: 15:49:23) OK
bootrec /scanos Bcdedit /export C:\BCDBkp ren c:\boot\bcd bcd.old Bootrec /rebuildbcd
mdadm --manage /dev/md0 --fail /dev/sdb1
mdadm --manage /dev/md0 --remove /dev/sdb1
sfdisk -d /dev/sda | sfdisk /dev/sdb
mdadm --manage /dev/md0 --add /dev/sdb1
cat /etc/mdstat
modprobe raid1
mknod /dev/md1 b 9 1 mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
/dev/sdb1and
/dev/sdc1is using linux raid autodetect as the partition type. Use fdisk to create those partition.
cat /proc/mdstat
ethernet0.virtualDev = "vlance"
import java.math.BigDecimal class Cloth { ... BigDecimal price ... static mapping = { price sqlType: "money" } }reference : https://msdn.microsoft.com/en-us/library/ms378878(v=sql.110).aspx