2018年8月7日 星期二

1


scsi4取代 scsi3
>zpool replace -f rpool scsi-0QEMU_QEMU_HARDDISK_drive-scsi3 scsi-0QEMU_QEMU_HARDDISK_drive-scsi4

ls -l /dev/disk/by-id/

total 0
lrwxrwxrwx 1 root root  9 Jul 24 07:41 ata-ATAPI_iHAS124_F_3524729_2E8638509616 -> ../../sr0
lrwxrwxrwx 1 root root  9 Jul 24 07:41 ata-ST3000VN007-2E4166_Z6A0Z7TH -> ../../sdc
lrwxrwxrwx 1 root root 10 Jul 24 07:41 ata-ST3000VN007-2E4166_Z6A0Z7TH-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Jul 24 07:41 ata-ST3000VN007-2E4166_Z6A0Z7TH-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Jul 24 07:41 ata-ST3000VN007-2E4166_Z6A0Z7TH-part9 -> ../../sdc9
lrwxrwxrwx 1 root root  9 Jul 24 07:41 ata-WDC_WD30EZRX-00AZ6B0_WD-WMC070076511 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jul 24 07:41 ata-WDC_WD30EZRX-00AZ6B0_WD-WMC070076511-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jul 24 07:41 ata-WDC_WD30EZRX-00AZ6B0_WD-WMC070076511-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Jul 24 07:41 ata-WDC_WD30EZRX-00AZ6B0_WD-WMC070076511-part9 -> ../../sdb9
lrwxrwxrwx 1 root root  9 Jul 24 07:41 ata-WDC_WD30EZRX-00AZ6B0_WD-WMC070078609 -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 24 07:41 ata-WDC_WD30EZRX-00AZ6B0_WD-WMC070078609-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 24 07:41 ata-WDC_WD30EZRX-00AZ6B0_WD-WMC070078609-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 24 07:41 ata-WDC_WD30EZRX-00AZ6B0_WD-WMC070078609-part9 -> ../../sda9
lrwxrwxrwx 1 root root  9 Jul 24 07:41 wwn-0x5000c500a3ccf5db -> ../../sdc
lrwxrwxrwx 1 root root 10 Jul 24 07:41 wwn-0x5000c500a3ccf5db-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Jul 24 07:41 wwn-0x5000c500a3ccf5db-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Jul 24 07:41 wwn-0x5000c500a3ccf5db-part9 -> ../../sdc9
lrwxrwxrwx 1 root root  9 Jul 24 07:41 wwn-0x50014ee25c29c3c6 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jul 24 07:41 wwn-0x50014ee25c29c3c6-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jul 24 07:41 wwn-0x50014ee25c29c3c6-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Jul 24 07:41 wwn-0x50014ee25c29c3c6-part9 -> ../../sdb9
lrwxrwxrwx 1 root root  9 Jul 24 07:41 wwn-0x50014ee2b180fbc7 -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 24 07:41 wwn-0x50014ee2b180fbc7-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 24 07:41 wwn-0x50014ee2b180fbc7-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 24 07:41 wwn-0x50014ee2b180fbc7-part9 -> ../../sda9

Device: /dev/sdb [SAT], 59 Currently unreadable (pending) sectors

2018年8月1日 星期三


加入環境變數Path