Remove promise example config replace with a supermicro config
The promise config never worked quite right. I'm replacing it with a Supermicro config which does and which I've tested on a real test system.
This commit is contained in:
parent
e7b3766a69
commit
feee765f99
|
@ -1,26 +0,0 @@
|
||||||
#
|
|
||||||
# Custom by-path mapping for large JBOD configurations
|
|
||||||
#
|
|
||||||
# Example Config:
|
|
||||||
# Single promise JBOD for RHEL6
|
|
||||||
#
|
|
||||||
|
|
||||||
# Channel A: PCI Bus 7, Enclosure 0x500304800027367f
|
|
||||||
a1 pci-0000:07:00.0-sas-0x500304800027367f-0
|
|
||||||
a2 pci-0000:07:00.0-sas-0x500304800027367f-1
|
|
||||||
a3 pci-0000:07:00.0-sas-0x500304800027367f-2
|
|
||||||
a4 pci-0000:07:00.0-sas-0x500304800027367f-3
|
|
||||||
a5 pci-0000:07:00.0-sas-0x500304800027367f-4
|
|
||||||
a6 pci-0000:07:00.0-sas-0x500304800027367f-5
|
|
||||||
a7 pci-0000:07:00.0-sas-0x500304800027367f-6
|
|
||||||
a8 pci-0000:07:00.0-sas-0x500304800027367f-7
|
|
||||||
|
|
||||||
# Channel B: PCI Bus 7, Enclosure 0x500304800027367f
|
|
||||||
b1 pci-0000:07:00.0-sas-0x500304800027367f-8
|
|
||||||
b2 pci-0000:07:00.0-sas-0x500304800027367f-9
|
|
||||||
b3 pci-0000:07:00.0-sas-0x500304800027367f-10
|
|
||||||
b4 pci-0000:07:00.0-sas-0x500304800027367f-11
|
|
||||||
b5 pci-0000:07:00.0-sas-0x500304800027367f-12
|
|
||||||
b6 pci-0000:07:00.0-sas-0x500304800027367f-13
|
|
||||||
b7 pci-0000:07:00.0-sas-0x500304800027367f-14
|
|
||||||
b8 pci-0000:07:00.0-sas-0x500304800027367f-15
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
#
|
||||||
|
# Custom by-path mapping for large JBOD configurations
|
||||||
|
#
|
||||||
|
# Example Config:
|
||||||
|
# Single Supermicro JBOD for RHEL6
|
||||||
|
#
|
||||||
|
|
||||||
|
# Channel A: PCI Bus 7, Enclosure 0x500304800027367f
|
||||||
|
a1 pci-0000:07:00.0-sas-0x500304800027367f-0
|
||||||
|
a2 pci-0000:07:00.0-sas-0x500304800027367f-1
|
||||||
|
a3 pci-0000:07:00.0-sas-0x500304800027367f-2
|
||||||
|
a4 pci-0000:07:00.0-sas-0x500304800027367f-3
|
||||||
|
|
||||||
|
# Channel B: PCI Bus 7, Enclosure 0x500304800027367f
|
||||||
|
b1 pci-0000:07:00.0-sas-0x500304800027367f-4
|
||||||
|
b2 pci-0000:07:00.0-sas-0x500304800027367f-5
|
||||||
|
b3 pci-0000:07:00.0-sas-0x500304800027367f-6
|
||||||
|
b4 pci-0000:07:00.0-sas-0x500304800027367f-7
|
||||||
|
|
||||||
|
# Channel C: PCI Bus 7, Enclosure 0x500304800027367f
|
||||||
|
c1 pci-0000:07:00.0-sas-0x500304800027367f-8
|
||||||
|
c2 pci-0000:07:00.0-sas-0x500304800027367f-9
|
||||||
|
c3 pci-0000:07:00.0-sas-0x500304800027367f-10
|
||||||
|
c4 pci-0000:07:00.0-sas-0x500304800027367f-11
|
||||||
|
|
||||||
|
# Channel D: PCI Bus 7, Enclosure 0x500304800027367f
|
||||||
|
d1 pci-0000:07:00.0-sas-0x500304800027367f-12
|
||||||
|
d2 pci-0000:07:00.0-sas-0x500304800027367f-13
|
||||||
|
d3 pci-0000:07:00.0-sas-0x500304800027367f-14
|
||||||
|
d4 pci-0000:07:00.0-sas-0x500304800027367f-15
|
|
@ -1,13 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Flash (White Box) Raid-0 Configuration (1x16)
|
# Supermicro (White Box) Raid-0 Configuration (1x16)
|
||||||
#
|
#
|
||||||
|
|
||||||
RANKS=8
|
RANKS=4
|
||||||
CHANNELS=2
|
CHANNELS=4
|
||||||
|
|
||||||
zpool_create() {
|
zpool_create() {
|
||||||
udev_setup ${ETCDIR}/zfs/zdev.conf.promise.example
|
udev_setup ${ETCDIR}/zfs/zdev.conf.supermicro.example
|
||||||
udev_raid0_setup ${RANKS} ${CHANNELS}
|
udev_raid0_setup ${RANKS} ${CHANNELS}
|
||||||
|
|
||||||
msg ${ZPOOL} create ${FORCE_FLAG} ${ZPOOL_NAME} ${RAID0S[*]}
|
msg ${ZPOOL} create ${FORCE_FLAG} ${ZPOOL_NAME} ${RAID0S[*]}
|
||||||
|
@ -17,5 +17,5 @@ zpool_create() {
|
||||||
zpool_destroy() {
|
zpool_destroy() {
|
||||||
msg ${ZPOOL} destroy ${ZPOOL_NAME}
|
msg ${ZPOOL} destroy ${ZPOOL_NAME}
|
||||||
${ZPOOL} destroy ${ZPOOL_NAME}
|
${ZPOOL} destroy ${ZPOOL_NAME}
|
||||||
udev_cleanup ${ETCDIR}/zfs/zdev.conf.promise.example
|
udev_cleanup ${ETCDIR}/zfs/zdev.conf.supermicro.example
|
||||||
}
|
}
|
|
@ -1,13 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Flash (White Box) Raid-10 Configuration (10x2(1+1))
|
# Supermicro (White Box) Raid-10 Configuration (8x2(1+1))
|
||||||
#
|
#
|
||||||
|
|
||||||
RANKS=8
|
RANKS=4
|
||||||
CHANNELS=2
|
CHANNELS=4
|
||||||
|
|
||||||
zpool_create() {
|
zpool_create() {
|
||||||
udev_setup ${ETCDIR}/zfs/zdev.conf.promise.example
|
udev_setup ${ETCDIR}/zfs/zdev.conf.supermicro.example
|
||||||
udev_raid10_setup ${RANKS} ${CHANNELS}
|
udev_raid10_setup ${RANKS} ${CHANNELS}
|
||||||
|
|
||||||
msg ${ZPOOL} create ${FORCE_FLAG} ${ZPOOL_NAME} ${RAID10S[*]}
|
msg ${ZPOOL} create ${FORCE_FLAG} ${ZPOOL_NAME} ${RAID10S[*]}
|
||||||
|
@ -17,5 +17,5 @@ zpool_create() {
|
||||||
zpool_destroy() {
|
zpool_destroy() {
|
||||||
msg ${ZPOOL} destroy ${ZPOOL_NAME}
|
msg ${ZPOOL} destroy ${ZPOOL_NAME}
|
||||||
${ZPOOL} destroy ${ZPOOL_NAME}
|
${ZPOOL} destroy ${ZPOOL_NAME}
|
||||||
udev_cleanup ${ETCDIR}/zfs/zdev.conf.promise.example
|
udev_cleanup ${ETCDIR}/zfs/zdev.conf.supermicro.example
|
||||||
}
|
}
|
|
@ -1,13 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Flash (White Box) Raid-Z Configuration (2x8(7+1))
|
# Supermicro (White Box) Raid-Z Configuration (4x4(3+1))
|
||||||
#
|
#
|
||||||
|
|
||||||
RANKS=8
|
RANKS=4
|
||||||
CHANNELS=2
|
CHANNELS=4
|
||||||
|
|
||||||
zpool_create() {
|
zpool_create() {
|
||||||
udev_setup ${ETCDIR}/zfs/zdev.conf.promise.example
|
udev_setup ${ETCDIR}/zfs/zdev.conf.supermicro.example
|
||||||
udev_raidz_setup ${RANKS} ${CHANNELS}
|
udev_raidz_setup ${RANKS} ${CHANNELS}
|
||||||
|
|
||||||
msg ${ZPOOL} create ${FORCE_FLAG} ${ZPOOL_NAME} ${RAIDZS[*]}
|
msg ${ZPOOL} create ${FORCE_FLAG} ${ZPOOL_NAME} ${RAIDZS[*]}
|
||||||
|
@ -17,5 +17,5 @@ zpool_create() {
|
||||||
zpool_destroy() {
|
zpool_destroy() {
|
||||||
msg ${ZPOOL} destroy ${ZPOOL_NAME}
|
msg ${ZPOOL} destroy ${ZPOOL_NAME}
|
||||||
${ZPOOL} destroy ${ZPOOL_NAME}
|
${ZPOOL} destroy ${ZPOOL_NAME}
|
||||||
udev_cleanup ${ETCDIR}/zfs/zdev.conf.promise.example
|
udev_cleanup ${ETCDIR}/zfs/zdev.conf.supermicro.example
|
||||||
}
|
}
|
|
@ -1,13 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Flash (White Box) Raid-Z2 Configuration (2x8(6+2))
|
# Supermicro (White Box) Raid-Z2 Configuration (4x4(2+2))
|
||||||
#
|
#
|
||||||
|
|
||||||
RANKS=8
|
RANKS=4
|
||||||
CHANNELS=2
|
CHANNELS=4
|
||||||
|
|
||||||
zpool_create() {
|
zpool_create() {
|
||||||
udev_setup ${ETCDIR}/zfs/zdev.conf.promise.example
|
udev_setup ${ETCDIR}/zfs/zdev.conf.supermicro.example
|
||||||
udev_raidz2_setup ${RANKS} ${CHANNELS}
|
udev_raidz2_setup ${RANKS} ${CHANNELS}
|
||||||
|
|
||||||
msg ${ZPOOL} create ${FORCE_FLAG} ${ZPOOL_NAME} ${RAIDZ2S[*]}
|
msg ${ZPOOL} create ${FORCE_FLAG} ${ZPOOL_NAME} ${RAIDZ2S[*]}
|
||||||
|
@ -17,5 +17,5 @@ zpool_create() {
|
||||||
zpool_destroy() {
|
zpool_destroy() {
|
||||||
msg ${ZPOOL} destroy ${ZPOOL_NAME}
|
msg ${ZPOOL} destroy ${ZPOOL_NAME}
|
||||||
${ZPOOL} destroy ${ZPOOL_NAME}
|
${ZPOOL} destroy ${ZPOOL_NAME}
|
||||||
udev_cleanup ${ETCDIR}/zfs/zdev.conf.promise.example
|
udev_cleanup ${ETCDIR}/zfs/zdev.conf.supermicro.example
|
||||||
}
|
}
|
Loading…
Reference in New Issue