Unfortunately, the web GUI doesn't show you these numbers. Requested config: NAME STATE READ WRITE CKSUM Imediately after creation, the "zpool status" will look something like this (depending on your pool configuration). On higher end rackmounted servers you can use ledctl to light up the LED for a given HDD through its /dev/ device name.The current version of FreeNAS (ver 9.3 at the moment) will create a gptid for each drive added to a zpool. SMART support is: Available - device has SMART capability. User Capacity: 1,000,204,886,016 bytes ĭevice is: In smartctl database You can query each device independently to find out it's serial number, make & model and figure out which device it is once you open up the case. The other method I've used in the past is smartctl. You can figure out which is which based on the coordinates of their respective bus info & physical id. Resources: irq:22 ioport:c000(size=8) ioport:b000(size=4) ioport:a000(size=8) ioport:9000(size=4) ioport:8000(size=16) memory:fbbff800-fbbffbffĬapabilities: partitioned partitioned:dosĬonfiguration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=0005edc1 ![]() Ĭapabilities: storage pm ahci_1.0 bus_master cap_list emulated Product: SB7x0/SB8x0/SB9x0 SATA Controller Below you can see /dev/sda along with its serial number: $ lshw -c disk -c storage a particular HDD is plugged into so it's easier to figure out which one is which in a system that has multiples. I've also been able to use lshw for this because it tells you which ports etc. NOTE: The port that it's plugged into is the first digit in this block, vs. disk ATA Hitachi HDS72101 A39C /dev/sdbĭir: /sys/bus/scsi/devices/2:0:0:0 ![]() disk ATA Hitachi HDT72101 A3AA /dev/sdaĭir: /sys/bus/scsi/devices/0:0:0:0 You can also use the verbose output instead: $ lsscsi -verbose enclosu WD SES Device 4005 - /dev/sg6Īnd use this to get the list of ports on your MB that correspond to the above devices: $ lsscsi -H disk WD My Passport 25E2 4005 /dev/sde /dev/sg5 disk ATA Maxtor 6L200P0 1G20 /dev/sdc /dev/sg2 disk ATA Hitachi HDS72101 A39C /dev/sdb /dev/sg1 disk ATA Hitachi HDT72101 A3AA /dev/sda /dev/sg0 You can use this output to get the names + the device & generic device names: $ lsscsi -g On servers where I have a lot of HDDs I've traditionally used lsscsi to determine which HDD is plugged into which port.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |