Storage

我的磁碟陣列有多大?

  • October 9, 2015

我的 SunOS 5.10 主機上有 3 個 Sun 6140 磁碟陣列,我想知道磁碟容量。

根據zpool list我有一個 5TB 和 16TB 的池。format只顯示 12 個磁碟

c2t1d31: configured with capacity of 16.00MB
c3t4d31: configured with capacity of 16.00MB
c5t4d31: configured with capacity of 16.00MB
c6t1d31: configured with capacity of 16.00MB

AVAILABLE DISK SELECTIONS:
      0. c0t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 136>
         /pci@780/pci@0/pci@9/scsi@0/sd@0,0
      1. c2t1d31 <SUN-UniversalXport-0660 cyl 8 alt 2 hd 64 sec 64>
         /pci@7c0/pci@0/pci@8/SUNW,qlc@0/fp@0,0/ssd@w200400a0b826ab41,1f
      2. c3t4d31 <SUN-UniversalXport-0660 cyl 8 alt 2 hd 64 sec 64>
         /pci@7c0/pci@0/pci@8/SUNW,qlc@0,1/fp@0,0/ssd@w200700a0b826e4f3,1f
      3. c4t600A0B800026E4F20000056E49377BFCd0 <SUN-CSM200_R-0660-1.65TB>
         /scsi_vhci/ssd@g600a0b800026e4f20000056e49377bfc
      4. c4t600A0B800026E4F20000056F49377C9Cd0 <SUN-CSM200_R-0660-1.65TB>
         /scsi_vhci/ssd@g600a0b800026e4f20000056f49377c9c
      5. c4t600A0B800026E4F20000057049377D00d0 <SUN-CSM200_R-0660-1.65TB>
         /scsi_vhci/ssd@g600a0b800026e4f20000057049377d00
      6. c4t600A0B800026E6960000044A4637FB93d0 <SUN-CSM200_R-0660-1.82TB>
         /scsi_vhci/ssd@g600a0b800026e6960000044a4637fb93
      7. c4t600A0B800026E6960000056049377BCBd0 <SUN-CSM200_R-0660-1.99TB>
         /scsi_vhci/ssd@g600a0b800026e6960000056049377bcb
      8. c4t600A0B800026E6960000043C4637FA2Dd0 <SUN-CSM200_R-0660-1.82TB>
         /scsi_vhci/ssd@g600a0b800026e6960000043c4637fa2d
      9. c4t600A0B800026E6960000055C49377AB7d0 <SUN-CSM200_R-0660-1.99TB>
         /scsi_vhci/ssd@g600a0b800026e6960000055c49377ab7
     10. c4t600A0B800026E6960000055E49377B4Fd0 <SUN-CSM200_R-0660-1.99TB>
         /scsi_vhci/ssd@g600a0b800026e6960000055e49377b4f
     11. c4t600A0B800026E696000004444637FB39d0 <SUN-CSM200_R-0660-1.82TB>
         /scsi_vhci/ssd@g600a0b800026e696000004444637fb39
     12. c4t600A0B800029015800000539461071B7d0 <SUN-CSM200_R-0660-1.36TB>
         /scsi_vhci/ssd@g600a0b800029015800000539461071b7
     13. c4t600A0B80002901580000052B46106563d0 <SUN-CSM200_R-0660-1.82TB>
         /scsi_vhci/ssd@g600a0b80002901580000052b46106563
     14. c4t600A0B80002901580000053346107101d0 <SUN-CSM200_R-0660-1.82TB>
         /scsi_vhci/ssd@g600a0b80002901580000053346107101
     15. c5t4d31 <SUN-UniversalXport-0660 cyl 8 alt 2 hd 64 sec 64>
         /pci@7c0/pci@0/pci@9/SUNW,qlc@0/fp@0,0/ssd@w200500a0b826ab41,1f
     16. c6t1d31 <SUN-UniversalXport-0660 cyl 8 alt 2 hd 64 sec 64>
         /pci@7c0/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0/ssd@w200600a0b826e4f3,1f

這里奇怪的是format聲稱磁碟大於 1TB,根據6140 數據表,情況並非如此。

/etc/hosts包含

#6140 Disk array
10.0.68.65
10.0.68.66
10.0.68.67
10.0.68.68

所有都可以ping通的地方。

我沒有看到任何 RAIDzpool status

 pool: dat0
state: ONLINE
scan: none requested
config:

       NAME                                     STATE     READ WRITE CKSUM
       dat0                                     ONLINE       0     0     0
         c4t600A0B800026E6960000044A4637FB93d0  ONLINE       0     0     0
         c4t600A0B800026E6960000043C4637FA2Dd0  ONLINE       0     0     0
         c4t600A0B800026E696000004444637FB39d0  ONLINE       0     0     0
         c4t600A0B800026E6960000055C49377AB7d0  ONLINE       0     0     0
         c4t600A0B800026E4F20000056E49377BFCd0  ONLINE       0     0     0
         c4t600A0B800026E6960000055E49377B4Fd0  ONLINE       0     0     0
         c4t600A0B800026E4F20000056F49377C9Cd0  ONLINE       0     0     0
         c4t600A0B800026E4F20000057049377D00d0  ONLINE       0     0     0
         c4t600A0B800026E6960000056049377BCBd0  ONLINE       0     0     0

errors: No known data errors

 pool: dat1
state: ONLINE
scan: none requested
config:

       NAME                                     STATE     READ WRITE CKSUM
       dat1                                     ONLINE       0     0     0
         c4t600A0B800029015800000539461071B7d0  ONLINE       0     0     0
         c4t600A0B80002901580000053346107101d0  ONLINE       0     0     0
         c4t600A0B80002901580000052B46106563d0  ONLINE       0     0     0

errors: No known data errors

問題

由於每個 6140 有 16 個磁碟,我希望看到 3x16 個磁碟,但我只看到 12 個比數據表允許的更大容量,而且我沒有看到任何配置的 RAID。報告的磁碟大小因磁碟而異嗎?

如何找到磁碟的實際容量?

您期待的是 JBOD,但似乎這可能設置為 SAN,並且您看到的是 LUN。您應該自己檢查 6140。

如果你認為作業系統在騙你,你可以執行這個

zfs list

它將顯示 ZFS 從這些磁碟中有多少可用空間。

引用自:https://serverfault.com/questions/619128