diff --git a/notes/nas.html b/notes/nas.html index bc941a4dc348c..396b8be5ef762 100644 --- a/notes/nas.html +++ b/notes/nas.html @@ -234,7 +234,7 @@
Attach more mirrors
sudo zpool add eros mirror \
- /dev/disk/by-id/scsi-SATA_ST12000VN0007-2G_ZCH0B3D2 \
+ /dev/disk/by-id/scsi-SATA_ST12000VN0007-2G_ZCH0F1CH \
/dev/disk/by-id/scsi-SATA_WDC_WD120EMFZ-11_X1G3B01L
sudo zpool offline eros /dev/disk/by-id/scsi-SATA_ST12000VN0007-2G_ZCH0F1CH
+sudo zpool replace eros /dev/disk/by-id/scsi-SATA_ST12000VN0007-2G_ZCH0F1CH /dev/disk/by-id/scsi-SATA_ST22000NM001E-3H_ZX201HJC
+
+When resilvering is complete detach the drive...
+sudo zpool detach eros /dev/disk/by-id/scsi-SATA_ST12000VN0007-2G_ZCH0F1CH
+
This command is very destructive and should only be used to check for bad sectors
+This command is very destructive and should only be used to check for bad sectors, this also take ashile so be sure to start it in a screen
sudo badblocks -b 4096 -wsv /dev/disk/by-id/scsi-SATA_ST12000VN0007-2G_ZJV01MC5
+This command is very destructive and should only be used to completely wipe the drive, this also take ashile so be sure to start it in a screen
sudo shred -vfz -n 4 /dev/disk/by-id/scsi-SATA_ST12000VN0007-2G_ZJV01MC5
+
Due to the loudness of the fans, they can be adjusted by using AndrewX192/lenovo-sa120-fanspeed-utility.
diff --git a/print.html b/print.html index ab08d20f34baa..1fad784fd8a1e 100644 --- a/print.html +++ b/print.html @@ -385,7 +385,7 @@Attach more mirrors
sudo zpool add eros mirror \
- /dev/disk/by-id/scsi-SATA_ST12000VN0007-2G_ZCH0B3D2 \
+ /dev/disk/by-id/scsi-SATA_ST12000VN0007-2G_ZCH0F1CH \
/dev/disk/by-id/scsi-SATA_WDC_WD120EMFZ-11_X1G3B01L
sudo zpool offline eros /dev/disk/by-id/scsi-SATA_ST12000VN0007-2G_ZCH0F1CH
+sudo zpool replace eros /dev/disk/by-id/scsi-SATA_ST12000VN0007-2G_ZCH0F1CH /dev/disk/by-id/scsi-SATA_ST22000NM001E-3H_ZX201HJC
+
+When resilvering is complete detach the drive...
+sudo zpool detach eros /dev/disk/by-id/scsi-SATA_ST12000VN0007-2G_ZCH0F1CH
+
This command is very destructive and should only be used to check for bad sectors
+This command is very destructive and should only be used to check for bad sectors, this also take ashile so be sure to start it in a screen
sudo badblocks -b 4096 -wsv /dev/disk/by-id/scsi-SATA_ST12000VN0007-2G_ZJV01MC5
+This command is very destructive and should only be used to completely wipe the drive, this also take ashile so be sure to start it in a screen
sudo shred -vfz -n 4 /dev/disk/by-id/scsi-SATA_ST12000VN0007-2G_ZJV01MC5
+
Due to the loudness of the fans, they can be adjusted by using AndrewX192/lenovo-sa120-fanspeed-utility.