https://palfrepedia.palfreman.com/api.php?action=feedcontributions&user=William&feedformat=atom
Palfrepedia - User contributions [en-gb]
2024-03-28T21:21:05Z
User contributions
MediaWiki 1.37.1
https://palfrepedia.palfreman.com/index.php?title=Megaraid_SAS&diff=670
Megaraid SAS
2024-02-25T22:06:34Z
<p>William: Better formatting.</p>
<hr />
<div>These The MegaRAID SAS controllers re called Percraid on Dell Poweredge servers. They use the MegaCLI utility, which is described here.<br />
== MegaCLI ==<br />
This to show what virtual disks are present. This describes a system with a pair of 300GB SAS 15k rpm disks holding the OS, an array of four 1TB drives and a pair modern 20TB drives, forming a 300GB OS drive, a 20TB data drive and a 3TB additional storage drive.<br />
Below are the virtual drives:<br />
<nowiki># megacli -LDInfo -Lall -a0<br />
<br />
<br />
Adapter 0 -- Virtual Drive Information:<br />
Virtual Drive: 0 (Target Id: 0)<br />
Name :OS-Disk<br />
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0<br />
Size : 278.875 GB<br />
Sector Size : 512<br />
Mirror Data : 278.875 GB<br />
State : Optimal<br />
Strip Size : 64 KB<br />
Number Of Drives : 2<br />
Span Depth : 1<br />
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Default Access Policy: Read/Write<br />
Current Access Policy: Read/Write<br />
Disk Cache Policy : Disk's Default<br />
Encryption Type : None<br />
Default Power Savings Policy: Controller Defined<br />
Current Power Savings Policy: None<br />
Can spin up in 1 minute: Yes<br />
LD has drives that support T10 power conditions: Yes<br />
LD's IO profile supports MAX power savings with cached writes: No<br />
Bad Blocks Exist: Yes<br />
Is VD Cached: No<br />
<br />
<br />
Virtual Drive: 1 (Target Id: 1)<br />
Name :spare-r5<br />
RAID Level : Primary-5, Secondary-0, RAID Level Qualifier-3<br />
Size : 2.727 TB<br />
Sector Size : 512<br />
Parity Size : 931.0 GB<br />
State : Optimal<br />
Strip Size : 64 KB<br />
Number Of Drives : 4<br />
Span Depth : 1<br />
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Default Access Policy: Read/Write<br />
Current Access Policy: Read/Write<br />
Disk Cache Policy : Disk's Default<br />
Ongoing Progresses:<br />
Background Initialization: Completed 41%, Taken 933 min.<br />
Encryption Type : None<br />
Default Power Savings Policy: Controller Defined<br />
Current Power Savings Policy: None<br />
Can spin up in 1 minute: Yes<br />
LD has drives that support T10 power conditions: No<br />
LD's IO profile supports MAX power savings with cached writes: No<br />
Bad Blocks Exist: No<br />
Is VD Cached: No<br />
<br />
<br />
Virtual Drive: 2 (Target Id: 2)<br />
Name :<br />
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0<br />
Size : 18.189 TB<br />
Sector Size : 512<br />
Mirror Data : 18.189 TB<br />
State : Optimal<br />
Strip Size : 64 KB<br />
Number Of Drives : 2<br />
Span Depth : 1<br />
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Default Access Policy: Read/Write<br />
Current Access Policy: Read/Write<br />
Disk Cache Policy : Disk's Default<br />
Ongoing Progresses:<br />
Background Initialization: Completed 4%, Taken 933 min.<br />
Encryption Type : None<br />
Default Power Savings Policy: Controller Defined<br />
Current Power Savings Policy: None<br />
Can spin up in 1 minute: Yes<br />
LD has drives that support T10 power conditions: No<br />
LD's IO profile supports MAX power savings with cached writes: No<br />
Bad Blocks Exist: No<br />
Is VD Cached: No<br />
<br />
<br />
<br />
Exit Code: 0x00</nowiki><br />
And here are the physical drives. All eight drive bays are filled.<br />
<nowiki># megacli -pdlist -a0<br />
<br />
Adapter #0<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 0<br />
Drive's position: DiskGroup: 1, Span: 0, Arm: 0<br />
Enclosure position: 1<br />
Device Id: 0<br />
WWN: 50014ee057c5c7cd<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 931.512 GB [0x74706db0 Sectors]<br />
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]<br />
Coerced Size: 931.0 GB [0x74600000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: 0C12<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221107000000<br />
Connected Port Number: 7(path0) <br />
Inquiry Data: WD-WMATV8663060WDC WD1002FBYS-18W8B1 03.00C12<br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 3.0Gb/s <br />
Link Speed: 3.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :43C (109.40 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 3.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 1<br />
Drive's position: DiskGroup: 1, Span: 0, Arm: 1<br />
Enclosure position: 1<br />
Device Id: 1<br />
WWN: 50014ee057c5c5f4<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 931.512 GB [0x74706db0 Sectors]<br />
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]<br />
Coerced Size: 931.0 GB [0x74600000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: 0C12<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221106000000<br />
Connected Port Number: 6(path0) <br />
Inquiry Data: WD-WMATV8635175WDC WD1002FBYS-18W8B1 03.00C12<br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 3.0Gb/s <br />
Link Speed: 3.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :47C (116.60 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 3.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 2<br />
Drive's position: DiskGroup: 1, Span: 0, Arm: 2<br />
Enclosure position: 1<br />
Device Id: 2<br />
WWN: 50014ee206916984<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 931.512 GB [0x74706db0 Sectors]<br />
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]<br />
Coerced Size: 931.0 GB [0x74600000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: 1V02<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221105000000<br />
Connected Port Number: 1(path0) <br />
Inquiry Data: WD-WMAW30234603WDC WD1003FBYX-18Y7B0 01.01V02<br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 3.0Gb/s <br />
Link Speed: 3.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :44C (111.20 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 3.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 3<br />
Drive's position: DiskGroup: 1, Span: 0, Arm: 3<br />
Enclosure position: 1<br />
Device Id: 3<br />
WWN: 50014ee057c5c89b<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 931.512 GB [0x74706db0 Sectors]<br />
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]<br />
Coerced Size: 931.0 GB [0x74600000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: 0C12<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221104000000<br />
Connected Port Number: 2(path0) <br />
Inquiry Data: WD-WMATV8637476WDC WD1002FBYS-18W8B1 03.00C12<br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 3.0Gb/s <br />
Link Speed: 3.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :44C (111.20 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 3.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 4<br />
Drive's position: DiskGroup: 0, Span: 0, Arm: 1<br />
Enclosure position: 1<br />
Device Id: 4<br />
WWN: 5000C50072369C50<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SAS<br />
<br />
Raw Size: 279.396 GB [0x22ecb25c Sectors]<br />
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]<br />
Coerced Size: 278.875 GB [0x22dc0000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: YSFA<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x5000c50072369c51<br />
SAS Address(1): 0x0<br />
Connected Port Number: 4(path0) <br />
Inquiry Data: SEAGATE ST9300453SS YSFA6XN69MSN <br />
FDE Capable: Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 6.0Gb/s <br />
Link Speed: 6.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :37C (98.60 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 6.0Gb/s <br />
Port-1 :<br />
Port status: Active<br />
Port's Linkspeed: Unknown <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 5<br />
Drive's position: DiskGroup: 0, Span: 0, Arm: 0<br />
Enclosure position: 1<br />
Device Id: 5<br />
WWN: 5000C50070D8CDEC<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 1<br />
Last Predictive Failure Event Seq Number: 4812<br />
PD Type: SAS<br />
<br />
Raw Size: 279.396 GB [0x22ecb25c Sectors]<br />
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]<br />
Coerced Size: 278.875 GB [0x22dc0000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: ES66<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x5000c50070d8cded<br />
SAS Address(1): 0x0<br />
Connected Port Number: 3(path0) <br />
Inquiry Data: SEAGATE ST3300657SS ES666SJ7P3BJ <br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 6.0Gb/s <br />
Link Speed: 6.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :42C (107.60 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 6.0Gb/s <br />
Port-1 :<br />
Port status: Active<br />
Port's Linkspeed: Unknown <br />
Drive has flagged a S.M.A.R.T alert : Yes<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 6<br />
Drive's position: DiskGroup: 2, Span: 0, Arm: 0<br />
Enclosure position: 1<br />
Device Id: 6<br />
WWN: 5000c500e5e26a83<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 18.190 TB [0x918600000 Sectors]<br />
Non Coerced Size: 18.189 TB [0x918500000 Sectors]<br />
Coerced Size: 18.189 TB [0x918500000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: EN01<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221101000000<br />
Connected Port Number: 5(path0) <br />
Inquiry Data: ZVT3DWS4ST20000NE000-3G5101 EN01 <br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 6.0Gb/s <br />
Link Speed: 6.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive: Not Certified<br />
Drive Temperature :38C (100.40 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 6.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 7<br />
Drive's position: DiskGroup: 2, Span: 0, Arm: 1<br />
Enclosure position: 1<br />
Device Id: 7<br />
WWN: 5000c500e5e0b4b9<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 18.190 TB [0x918600000 Sectors]<br />
Non Coerced Size: 18.189 TB [0x918500000 Sectors]<br />
Coerced Size: 18.189 TB [0x918500000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: EN01<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221100000000<br />
Connected Port Number: 0(path0) <br />
Inquiry Data: ZVT4F6DGST20000NE000-3G5101 EN01 <br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 6.0Gb/s <br />
Link Speed: 6.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive: Not Certified<br />
Drive Temperature :36C (96.80 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 6.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
<br />
Exit Code: 0x00</nowiki><br />
One of the 300GB SAS drives (for the OS) is reporting a [https://techterms.com/definition/smart SMART] error. This disk should be replaced before it fails.<br />
=== Disk swap ===<br />
This is where the disk is swapped over. Once the new disk is inserted it rebuilds itself.<br />
<nowiki># megacli -pdoffline -physdrv[32:5] -a0<br />
<br />
Adapter: 0: EnclId-32 SlotId-5 state changed to OffLine.<br />
<br />
Exit Code: 0x00<br />
# megacli -pdmarkmissing -physdrv[32:5] -a0<br />
<br />
EnclId-32 SlotId-5 is marked Missing.<br />
<br />
Exit Code: 0x00<br />
# megacli -pdprprmv -physdrv[32:5] -a0<br />
<br />
<br />
Prepare for removal Success<br />
<br />
Exit Code: 0x00<br />
</nowiki><br />
=== Check the rebuild ===<br />
You can see how the rebuild is progressing like this:<br />
<nowiki># megacli -PDRbld -ShowProg -PhysDrv[32:5] -a0<br />
<br />
Rebuild Progress on Device at Enclosure 32, Slot 5 Completed 7% in 8 Minutes.</nowiki></div>
William
https://palfrepedia.palfreman.com/index.php?title=Megaraid_SAS&diff=658
Megaraid SAS
2024-02-24T20:52:21Z
<p>William: Add disk swap info</p>
<hr />
<div>These adapters are called Percraid on Dell Poweredge servers. Uses the MegaCLI utility.<br />
== MegaCLI ==<br />
This to show what virtual disks are present. This describes a system with a pair of 300GB SAS 15k rpm disks holding the OS, an array of four 1TB drives and a pair modern 20TB drives, forming a 300GB OS drive, a 20TB data drive and a 3TB additional storage drive.<br />
Below are the virtual drives:<br />
<nowiki># megacli -LDInfo -Lall -a0<br />
<br />
<br />
Adapter 0 -- Virtual Drive Information:<br />
Virtual Drive: 0 (Target Id: 0)<br />
Name :OS-Disk<br />
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0<br />
Size : 278.875 GB<br />
Sector Size : 512<br />
Mirror Data : 278.875 GB<br />
State : Optimal<br />
Strip Size : 64 KB<br />
Number Of Drives : 2<br />
Span Depth : 1<br />
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Default Access Policy: Read/Write<br />
Current Access Policy: Read/Write<br />
Disk Cache Policy : Disk's Default<br />
Encryption Type : None<br />
Default Power Savings Policy: Controller Defined<br />
Current Power Savings Policy: None<br />
Can spin up in 1 minute: Yes<br />
LD has drives that support T10 power conditions: Yes<br />
LD's IO profile supports MAX power savings with cached writes: No<br />
Bad Blocks Exist: Yes<br />
Is VD Cached: No<br />
<br />
<br />
Virtual Drive: 1 (Target Id: 1)<br />
Name :spare-r5<br />
RAID Level : Primary-5, Secondary-0, RAID Level Qualifier-3<br />
Size : 2.727 TB<br />
Sector Size : 512<br />
Parity Size : 931.0 GB<br />
State : Optimal<br />
Strip Size : 64 KB<br />
Number Of Drives : 4<br />
Span Depth : 1<br />
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Default Access Policy: Read/Write<br />
Current Access Policy: Read/Write<br />
Disk Cache Policy : Disk's Default<br />
Ongoing Progresses:<br />
Background Initialization: Completed 41%, Taken 933 min.<br />
Encryption Type : None<br />
Default Power Savings Policy: Controller Defined<br />
Current Power Savings Policy: None<br />
Can spin up in 1 minute: Yes<br />
LD has drives that support T10 power conditions: No<br />
LD's IO profile supports MAX power savings with cached writes: No<br />
Bad Blocks Exist: No<br />
Is VD Cached: No<br />
<br />
<br />
Virtual Drive: 2 (Target Id: 2)<br />
Name :<br />
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0<br />
Size : 18.189 TB<br />
Sector Size : 512<br />
Mirror Data : 18.189 TB<br />
State : Optimal<br />
Strip Size : 64 KB<br />
Number Of Drives : 2<br />
Span Depth : 1<br />
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Default Access Policy: Read/Write<br />
Current Access Policy: Read/Write<br />
Disk Cache Policy : Disk's Default<br />
Ongoing Progresses:<br />
Background Initialization: Completed 4%, Taken 933 min.<br />
Encryption Type : None<br />
Default Power Savings Policy: Controller Defined<br />
Current Power Savings Policy: None<br />
Can spin up in 1 minute: Yes<br />
LD has drives that support T10 power conditions: No<br />
LD's IO profile supports MAX power savings with cached writes: No<br />
Bad Blocks Exist: No<br />
Is VD Cached: No<br />
<br />
<br />
<br />
Exit Code: 0x00</nowiki><br />
And here are the physical drives. All eight drive bays are filled.<br />
<nowiki># megacli -pdlist -a0<br />
<br />
Adapter #0<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 0<br />
Drive's position: DiskGroup: 1, Span: 0, Arm: 0<br />
Enclosure position: 1<br />
Device Id: 0<br />
WWN: 50014ee057c5c7cd<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 931.512 GB [0x74706db0 Sectors]<br />
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]<br />
Coerced Size: 931.0 GB [0x74600000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: 0C12<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221107000000<br />
Connected Port Number: 7(path0) <br />
Inquiry Data: WD-WMATV8663060WDC WD1002FBYS-18W8B1 03.00C12<br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 3.0Gb/s <br />
Link Speed: 3.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :43C (109.40 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 3.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 1<br />
Drive's position: DiskGroup: 1, Span: 0, Arm: 1<br />
Enclosure position: 1<br />
Device Id: 1<br />
WWN: 50014ee057c5c5f4<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 931.512 GB [0x74706db0 Sectors]<br />
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]<br />
Coerced Size: 931.0 GB [0x74600000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: 0C12<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221106000000<br />
Connected Port Number: 6(path0) <br />
Inquiry Data: WD-WMATV8635175WDC WD1002FBYS-18W8B1 03.00C12<br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 3.0Gb/s <br />
Link Speed: 3.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :47C (116.60 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 3.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 2<br />
Drive's position: DiskGroup: 1, Span: 0, Arm: 2<br />
Enclosure position: 1<br />
Device Id: 2<br />
WWN: 50014ee206916984<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 931.512 GB [0x74706db0 Sectors]<br />
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]<br />
Coerced Size: 931.0 GB [0x74600000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: 1V02<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221105000000<br />
Connected Port Number: 1(path0) <br />
Inquiry Data: WD-WMAW30234603WDC WD1003FBYX-18Y7B0 01.01V02<br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 3.0Gb/s <br />
Link Speed: 3.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :44C (111.20 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 3.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 3<br />
Drive's position: DiskGroup: 1, Span: 0, Arm: 3<br />
Enclosure position: 1<br />
Device Id: 3<br />
WWN: 50014ee057c5c89b<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 931.512 GB [0x74706db0 Sectors]<br />
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]<br />
Coerced Size: 931.0 GB [0x74600000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: 0C12<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221104000000<br />
Connected Port Number: 2(path0) <br />
Inquiry Data: WD-WMATV8637476WDC WD1002FBYS-18W8B1 03.00C12<br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 3.0Gb/s <br />
Link Speed: 3.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :44C (111.20 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 3.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 4<br />
Drive's position: DiskGroup: 0, Span: 0, Arm: 1<br />
Enclosure position: 1<br />
Device Id: 4<br />
WWN: 5000C50072369C50<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SAS<br />
<br />
Raw Size: 279.396 GB [0x22ecb25c Sectors]<br />
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]<br />
Coerced Size: 278.875 GB [0x22dc0000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: YSFA<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x5000c50072369c51<br />
SAS Address(1): 0x0<br />
Connected Port Number: 4(path0) <br />
Inquiry Data: SEAGATE ST9300453SS YSFA6XN69MSN <br />
FDE Capable: Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 6.0Gb/s <br />
Link Speed: 6.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :37C (98.60 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 6.0Gb/s <br />
Port-1 :<br />
Port status: Active<br />
Port's Linkspeed: Unknown <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 5<br />
Drive's position: DiskGroup: 0, Span: 0, Arm: 0<br />
Enclosure position: 1<br />
Device Id: 5<br />
WWN: 5000C50070D8CDEC<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 1<br />
Last Predictive Failure Event Seq Number: 4812<br />
PD Type: SAS<br />
<br />
Raw Size: 279.396 GB [0x22ecb25c Sectors]<br />
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]<br />
Coerced Size: 278.875 GB [0x22dc0000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: ES66<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x5000c50070d8cded<br />
SAS Address(1): 0x0<br />
Connected Port Number: 3(path0) <br />
Inquiry Data: SEAGATE ST3300657SS ES666SJ7P3BJ <br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 6.0Gb/s <br />
Link Speed: 6.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :42C (107.60 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 6.0Gb/s <br />
Port-1 :<br />
Port status: Active<br />
Port's Linkspeed: Unknown <br />
Drive has flagged a S.M.A.R.T alert : Yes<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 6<br />
Drive's position: DiskGroup: 2, Span: 0, Arm: 0<br />
Enclosure position: 1<br />
Device Id: 6<br />
WWN: 5000c500e5e26a83<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 18.190 TB [0x918600000 Sectors]<br />
Non Coerced Size: 18.189 TB [0x918500000 Sectors]<br />
Coerced Size: 18.189 TB [0x918500000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: EN01<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221101000000<br />
Connected Port Number: 5(path0) <br />
Inquiry Data: ZVT3DWS4ST20000NE000-3G5101 EN01 <br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 6.0Gb/s <br />
Link Speed: 6.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive: Not Certified<br />
Drive Temperature :38C (100.40 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 6.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 7<br />
Drive's position: DiskGroup: 2, Span: 0, Arm: 1<br />
Enclosure position: 1<br />
Device Id: 7<br />
WWN: 5000c500e5e0b4b9<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 18.190 TB [0x918600000 Sectors]<br />
Non Coerced Size: 18.189 TB [0x918500000 Sectors]<br />
Coerced Size: 18.189 TB [0x918500000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: EN01<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221100000000<br />
Connected Port Number: 0(path0) <br />
Inquiry Data: ZVT4F6DGST20000NE000-3G5101 EN01 <br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 6.0Gb/s <br />
Link Speed: 6.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive: Not Certified<br />
Drive Temperature :36C (96.80 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 6.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
<br />
Exit Code: 0x00</nowiki><br />
One of the 300GB SAS drives (for the OS) is reporting a [https://techterms.com/definition/smart SMART] error. This disk should be replaced before it fails.<br />
=== Disk swap ===<br />
This is where the disk is swapped over. Once the new disk is inserted it rebuilds itself.<br />
<nowiki># megacli -pdoffline -physdrv[32:5] -a0<br />
<br />
Adapter: 0: EnclId-32 SlotId-5 state changed to OffLine.<br />
<br />
Exit Code: 0x00<br />
# megacli -pdmarkmissing -physdrv[32:5] -a0<br />
<br />
EnclId-32 SlotId-5 is marked Missing.<br />
<br />
Exit Code: 0x00<br />
# megacli -pdprprmv -physdrv[32:5] -a0<br />
<br />
<br />
Prepare for removal Success<br />
<br />
Exit Code: 0x00<br />
<br />
# megacli -PDRbld -ShowProg -PhysDrv[32:5] -a0<br />
<br />
Rebuild Progress on Device at Enclosure 32, Slot 5 Completed 7% in 8 Minutes.<br />
</nowiki></div>
William
https://palfrepedia.palfreman.com/index.php?title=Megaraid_SAS&diff=657
Megaraid SAS
2024-02-23T14:39:32Z
<p>William: typo</p>
<hr />
<div>These adapters are called Percraid on Dell Poweredge servers. Uses the MegaCLI utility.<br />
== MegaCLI ==<br />
This to show what virtual disks are present. This describes a system with a pair of 300GB SAS 15k rpm disks holding the OS, an array of four 1TB drives and a pair modern 20TB drives, forming a 300GB OS drive, a 20TB data drive and a 3TB additional storage drive.<br />
Below are the virtual drives:<br />
<nowiki># megacli -LDInfo -Lall -a0<br />
<br />
<br />
Adapter 0 -- Virtual Drive Information:<br />
Virtual Drive: 0 (Target Id: 0)<br />
Name :OS-Disk<br />
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0<br />
Size : 278.875 GB<br />
Sector Size : 512<br />
Mirror Data : 278.875 GB<br />
State : Optimal<br />
Strip Size : 64 KB<br />
Number Of Drives : 2<br />
Span Depth : 1<br />
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Default Access Policy: Read/Write<br />
Current Access Policy: Read/Write<br />
Disk Cache Policy : Disk's Default<br />
Encryption Type : None<br />
Default Power Savings Policy: Controller Defined<br />
Current Power Savings Policy: None<br />
Can spin up in 1 minute: Yes<br />
LD has drives that support T10 power conditions: Yes<br />
LD's IO profile supports MAX power savings with cached writes: No<br />
Bad Blocks Exist: Yes<br />
Is VD Cached: No<br />
<br />
<br />
Virtual Drive: 1 (Target Id: 1)<br />
Name :spare-r5<br />
RAID Level : Primary-5, Secondary-0, RAID Level Qualifier-3<br />
Size : 2.727 TB<br />
Sector Size : 512<br />
Parity Size : 931.0 GB<br />
State : Optimal<br />
Strip Size : 64 KB<br />
Number Of Drives : 4<br />
Span Depth : 1<br />
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Default Access Policy: Read/Write<br />
Current Access Policy: Read/Write<br />
Disk Cache Policy : Disk's Default<br />
Ongoing Progresses:<br />
Background Initialization: Completed 41%, Taken 933 min.<br />
Encryption Type : None<br />
Default Power Savings Policy: Controller Defined<br />
Current Power Savings Policy: None<br />
Can spin up in 1 minute: Yes<br />
LD has drives that support T10 power conditions: No<br />
LD's IO profile supports MAX power savings with cached writes: No<br />
Bad Blocks Exist: No<br />
Is VD Cached: No<br />
<br />
<br />
Virtual Drive: 2 (Target Id: 2)<br />
Name :<br />
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0<br />
Size : 18.189 TB<br />
Sector Size : 512<br />
Mirror Data : 18.189 TB<br />
State : Optimal<br />
Strip Size : 64 KB<br />
Number Of Drives : 2<br />
Span Depth : 1<br />
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Default Access Policy: Read/Write<br />
Current Access Policy: Read/Write<br />
Disk Cache Policy : Disk's Default<br />
Ongoing Progresses:<br />
Background Initialization: Completed 4%, Taken 933 min.<br />
Encryption Type : None<br />
Default Power Savings Policy: Controller Defined<br />
Current Power Savings Policy: None<br />
Can spin up in 1 minute: Yes<br />
LD has drives that support T10 power conditions: No<br />
LD's IO profile supports MAX power savings with cached writes: No<br />
Bad Blocks Exist: No<br />
Is VD Cached: No<br />
<br />
<br />
<br />
Exit Code: 0x00</nowiki><br />
And here are the physical drives. All eight drive bays are filled.<br />
<nowiki># megacli -pdlist -a0<br />
<br />
Adapter #0<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 0<br />
Drive's position: DiskGroup: 1, Span: 0, Arm: 0<br />
Enclosure position: 1<br />
Device Id: 0<br />
WWN: 50014ee057c5c7cd<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 931.512 GB [0x74706db0 Sectors]<br />
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]<br />
Coerced Size: 931.0 GB [0x74600000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: 0C12<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221107000000<br />
Connected Port Number: 7(path0) <br />
Inquiry Data: WD-WMATV8663060WDC WD1002FBYS-18W8B1 03.00C12<br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 3.0Gb/s <br />
Link Speed: 3.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :43C (109.40 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 3.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 1<br />
Drive's position: DiskGroup: 1, Span: 0, Arm: 1<br />
Enclosure position: 1<br />
Device Id: 1<br />
WWN: 50014ee057c5c5f4<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 931.512 GB [0x74706db0 Sectors]<br />
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]<br />
Coerced Size: 931.0 GB [0x74600000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: 0C12<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221106000000<br />
Connected Port Number: 6(path0) <br />
Inquiry Data: WD-WMATV8635175WDC WD1002FBYS-18W8B1 03.00C12<br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 3.0Gb/s <br />
Link Speed: 3.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :47C (116.60 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 3.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 2<br />
Drive's position: DiskGroup: 1, Span: 0, Arm: 2<br />
Enclosure position: 1<br />
Device Id: 2<br />
WWN: 50014ee206916984<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 931.512 GB [0x74706db0 Sectors]<br />
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]<br />
Coerced Size: 931.0 GB [0x74600000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: 1V02<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221105000000<br />
Connected Port Number: 1(path0) <br />
Inquiry Data: WD-WMAW30234603WDC WD1003FBYX-18Y7B0 01.01V02<br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 3.0Gb/s <br />
Link Speed: 3.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :44C (111.20 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 3.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 3<br />
Drive's position: DiskGroup: 1, Span: 0, Arm: 3<br />
Enclosure position: 1<br />
Device Id: 3<br />
WWN: 50014ee057c5c89b<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 931.512 GB [0x74706db0 Sectors]<br />
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]<br />
Coerced Size: 931.0 GB [0x74600000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: 0C12<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221104000000<br />
Connected Port Number: 2(path0) <br />
Inquiry Data: WD-WMATV8637476WDC WD1002FBYS-18W8B1 03.00C12<br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 3.0Gb/s <br />
Link Speed: 3.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :44C (111.20 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 3.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 4<br />
Drive's position: DiskGroup: 0, Span: 0, Arm: 1<br />
Enclosure position: 1<br />
Device Id: 4<br />
WWN: 5000C50072369C50<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SAS<br />
<br />
Raw Size: 279.396 GB [0x22ecb25c Sectors]<br />
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]<br />
Coerced Size: 278.875 GB [0x22dc0000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: YSFA<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x5000c50072369c51<br />
SAS Address(1): 0x0<br />
Connected Port Number: 4(path0) <br />
Inquiry Data: SEAGATE ST9300453SS YSFA6XN69MSN <br />
FDE Capable: Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 6.0Gb/s <br />
Link Speed: 6.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :37C (98.60 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 6.0Gb/s <br />
Port-1 :<br />
Port status: Active<br />
Port's Linkspeed: Unknown <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 5<br />
Drive's position: DiskGroup: 0, Span: 0, Arm: 0<br />
Enclosure position: 1<br />
Device Id: 5<br />
WWN: 5000C50070D8CDEC<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 1<br />
Last Predictive Failure Event Seq Number: 4812<br />
PD Type: SAS<br />
<br />
Raw Size: 279.396 GB [0x22ecb25c Sectors]<br />
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]<br />
Coerced Size: 278.875 GB [0x22dc0000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: ES66<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x5000c50070d8cded<br />
SAS Address(1): 0x0<br />
Connected Port Number: 3(path0) <br />
Inquiry Data: SEAGATE ST3300657SS ES666SJ7P3BJ <br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 6.0Gb/s <br />
Link Speed: 6.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :42C (107.60 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 6.0Gb/s <br />
Port-1 :<br />
Port status: Active<br />
Port's Linkspeed: Unknown <br />
Drive has flagged a S.M.A.R.T alert : Yes<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 6<br />
Drive's position: DiskGroup: 2, Span: 0, Arm: 0<br />
Enclosure position: 1<br />
Device Id: 6<br />
WWN: 5000c500e5e26a83<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 18.190 TB [0x918600000 Sectors]<br />
Non Coerced Size: 18.189 TB [0x918500000 Sectors]<br />
Coerced Size: 18.189 TB [0x918500000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: EN01<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221101000000<br />
Connected Port Number: 5(path0) <br />
Inquiry Data: ZVT3DWS4ST20000NE000-3G5101 EN01 <br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 6.0Gb/s <br />
Link Speed: 6.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive: Not Certified<br />
Drive Temperature :38C (100.40 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 6.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 7<br />
Drive's position: DiskGroup: 2, Span: 0, Arm: 1<br />
Enclosure position: 1<br />
Device Id: 7<br />
WWN: 5000c500e5e0b4b9<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 18.190 TB [0x918600000 Sectors]<br />
Non Coerced Size: 18.189 TB [0x918500000 Sectors]<br />
Coerced Size: 18.189 TB [0x918500000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: EN01<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221100000000<br />
Connected Port Number: 0(path0) <br />
Inquiry Data: ZVT4F6DGST20000NE000-3G5101 EN01 <br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 6.0Gb/s <br />
Link Speed: 6.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive: Not Certified<br />
Drive Temperature :36C (96.80 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 6.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
<br />
Exit Code: 0x00</nowiki><br />
One of the 300GB SAS drives (for the OS) is reporting a [https://techterms.com/definition/smart SMART] error. This disk should be replaced before it fails.</div>
William
https://palfrepedia.palfreman.com/index.php?title=Megaraid_SAS&diff=656
Megaraid SAS
2024-02-23T14:27:23Z
<p>William: First save</p>
<hr />
<div>These adapters are called Percraid on Dell Poweredge servers. Uses the MegaCLI utility.<br />
== MegaCLI ==<br />
This to show what virtual disks are present. This describes a system with a pair of 300GB SAS 15k rpm disks holding the OS, an array of four 1TB drives and a pair modern 20TB drives, forming a 300GB OS drive, a 20TB data drive and a 3TB additional storage drive.<br />
Below are the virtual drives:<br />
<nowiki># megacli -LDInfo -Lall -a0<br />
<br />
<br />
Adapter 0 -- Virtual Drive Information:<br />
Virtual Drive: 0 (Target Id: 0)<br />
Name :OS-Disk<br />
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0<br />
Size : 278.875 GB<br />
Sector Size : 512<br />
Mirror Data : 278.875 GB<br />
State : Optimal<br />
Strip Size : 64 KB<br />
Number Of Drives : 2<br />
Span Depth : 1<br />
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Default Access Policy: Read/Write<br />
Current Access Policy: Read/Write<br />
Disk Cache Policy : Disk's Default<br />
Encryption Type : None<br />
Default Power Savings Policy: Controller Defined<br />
Current Power Savings Policy: None<br />
Can spin up in 1 minute: Yes<br />
LD has drives that support T10 power conditions: Yes<br />
LD's IO profile supports MAX power savings with cached writes: No<br />
Bad Blocks Exist: Yes<br />
Is VD Cached: No<br />
<br />
<br />
Virtual Drive: 1 (Target Id: 1)<br />
Name :spare-r5<br />
RAID Level : Primary-5, Secondary-0, RAID Level Qualifier-3<br />
Size : 2.727 TB<br />
Sector Size : 512<br />
Parity Size : 931.0 GB<br />
State : Optimal<br />
Strip Size : 64 KB<br />
Number Of Drives : 4<br />
Span Depth : 1<br />
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Default Access Policy: Read/Write<br />
Current Access Policy: Read/Write<br />
Disk Cache Policy : Disk's Default<br />
Ongoing Progresses:<br />
Background Initialization: Completed 41%, Taken 933 min.<br />
Encryption Type : None<br />
Default Power Savings Policy: Controller Defined<br />
Current Power Savings Policy: None<br />
Can spin up in 1 minute: Yes<br />
LD has drives that support T10 power conditions: No<br />
LD's IO profile supports MAX power savings with cached writes: No<br />
Bad Blocks Exist: No<br />
Is VD Cached: No<br />
<br />
<br />
Virtual Drive: 2 (Target Id: 2)<br />
Name :<br />
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0<br />
Size : 18.189 TB<br />
Sector Size : 512<br />
Mirror Data : 18.189 TB<br />
State : Optimal<br />
Strip Size : 64 KB<br />
Number Of Drives : 2<br />
Span Depth : 1<br />
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU<br />
Default Access Policy: Read/Write<br />
Current Access Policy: Read/Write<br />
Disk Cache Policy : Disk's Default<br />
Ongoing Progresses:<br />
Background Initialization: Completed 4%, Taken 933 min.<br />
Encryption Type : None<br />
Default Power Savings Policy: Controller Defined<br />
Current Power Savings Policy: None<br />
Can spin up in 1 minute: Yes<br />
LD has drives that support T10 power conditions: No<br />
LD's IO profile supports MAX power savings with cached writes: No<br />
Bad Blocks Exist: No<br />
Is VD Cached: No<br />
<br />
<br />
<br />
Exit Code: 0x00</nowiki><br />
And here are the physical drives. All eight drive bays are filled.<br />
<nowiki># megacli -pdlist -a0<br />
<br />
Adapter #0<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 0<br />
Drive's position: DiskGroup: 1, Span: 0, Arm: 0<br />
Enclosure position: 1<br />
Device Id: 0<br />
WWN: 50014ee057c5c7cd<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 931.512 GB [0x74706db0 Sectors]<br />
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]<br />
Coerced Size: 931.0 GB [0x74600000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: 0C12<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221107000000<br />
Connected Port Number: 7(path0) <br />
Inquiry Data: WD-WMATV8663060WDC WD1002FBYS-18W8B1 03.00C12<br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 3.0Gb/s <br />
Link Speed: 3.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :43C (109.40 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 3.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 1<br />
Drive's position: DiskGroup: 1, Span: 0, Arm: 1<br />
Enclosure position: 1<br />
Device Id: 1<br />
WWN: 50014ee057c5c5f4<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 931.512 GB [0x74706db0 Sectors]<br />
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]<br />
Coerced Size: 931.0 GB [0x74600000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: 0C12<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221106000000<br />
Connected Port Number: 6(path0) <br />
Inquiry Data: WD-WMATV8635175WDC WD1002FBYS-18W8B1 03.00C12<br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 3.0Gb/s <br />
Link Speed: 3.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :47C (116.60 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 3.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 2<br />
Drive's position: DiskGroup: 1, Span: 0, Arm: 2<br />
Enclosure position: 1<br />
Device Id: 2<br />
WWN: 50014ee206916984<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 931.512 GB [0x74706db0 Sectors]<br />
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]<br />
Coerced Size: 931.0 GB [0x74600000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: 1V02<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221105000000<br />
Connected Port Number: 1(path0) <br />
Inquiry Data: WD-WMAW30234603WDC WD1003FBYX-18Y7B0 01.01V02<br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 3.0Gb/s <br />
Link Speed: 3.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :44C (111.20 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 3.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 3<br />
Drive's position: DiskGroup: 1, Span: 0, Arm: 3<br />
Enclosure position: 1<br />
Device Id: 3<br />
WWN: 50014ee057c5c89b<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 931.512 GB [0x74706db0 Sectors]<br />
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]<br />
Coerced Size: 931.0 GB [0x74600000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: 0C12<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221104000000<br />
Connected Port Number: 2(path0) <br />
Inquiry Data: WD-WMATV8637476WDC WD1002FBYS-18W8B1 03.00C12<br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 3.0Gb/s <br />
Link Speed: 3.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :44C (111.20 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 3.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 4<br />
Drive's position: DiskGroup: 0, Span: 0, Arm: 1<br />
Enclosure position: 1<br />
Device Id: 4<br />
WWN: 5000C50072369C50<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SAS<br />
<br />
Raw Size: 279.396 GB [0x22ecb25c Sectors]<br />
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]<br />
Coerced Size: 278.875 GB [0x22dc0000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: YSFA<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x5000c50072369c51<br />
SAS Address(1): 0x0<br />
Connected Port Number: 4(path0) <br />
Inquiry Data: SEAGATE ST9300453SS YSFA6XN69MSN <br />
FDE Capable: Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 6.0Gb/s <br />
Link Speed: 6.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :37C (98.60 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 6.0Gb/s <br />
Port-1 :<br />
Port status: Active<br />
Port's Linkspeed: Unknown <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 5<br />
Drive's position: DiskGroup: 0, Span: 0, Arm: 0<br />
Enclosure position: 1<br />
Device Id: 5<br />
WWN: 5000C50070D8CDEC<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 1<br />
Last Predictive Failure Event Seq Number: 4812<br />
PD Type: SAS<br />
<br />
Raw Size: 279.396 GB [0x22ecb25c Sectors]<br />
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]<br />
Coerced Size: 278.875 GB [0x22dc0000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: ES66<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x5000c50070d8cded<br />
SAS Address(1): 0x0<br />
Connected Port Number: 3(path0) <br />
Inquiry Data: SEAGATE ST3300657SS ES666SJ7P3BJ <br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 6.0Gb/s <br />
Link Speed: 6.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive Temperature :42C (107.60 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 6.0Gb/s <br />
Port-1 :<br />
Port status: Active<br />
Port's Linkspeed: Unknown <br />
Drive has flagged a S.M.A.R.T alert : Yes<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 6<br />
Drive's position: DiskGroup: 2, Span: 0, Arm: 0<br />
Enclosure position: 1<br />
Device Id: 6<br />
WWN: 5000c500e5e26a83<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 18.190 TB [0x918600000 Sectors]<br />
Non Coerced Size: 18.189 TB [0x918500000 Sectors]<br />
Coerced Size: 18.189 TB [0x918500000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: EN01<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221101000000<br />
Connected Port Number: 5(path0) <br />
Inquiry Data: ZVT3DWS4ST20000NE000-3G5101 EN01 <br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 6.0Gb/s <br />
Link Speed: 6.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive: Not Certified<br />
Drive Temperature :38C (100.40 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 6.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
Enclosure Device ID: 32<br />
Slot Number: 7<br />
Drive's position: DiskGroup: 2, Span: 0, Arm: 1<br />
Enclosure position: 1<br />
Device Id: 7<br />
WWN: 5000c500e5e0b4b9<br />
Sequence Number: 2<br />
Media Error Count: 0<br />
Other Error Count: 0<br />
Predictive Failure Count: 0<br />
Last Predictive Failure Event Seq Number: 0<br />
PD Type: SATA<br />
<br />
Raw Size: 18.190 TB [0x918600000 Sectors]<br />
Non Coerced Size: 18.189 TB [0x918500000 Sectors]<br />
Coerced Size: 18.189 TB [0x918500000 Sectors]<br />
Sector Size: 0<br />
Firmware state: Online, Spun Up<br />
Device Firmware Level: EN01<br />
Shield Counter: 0<br />
Successful diagnostics completion on : N/A<br />
SAS Address(0): 0x4433221100000000<br />
Connected Port Number: 0(path0) <br />
Inquiry Data: ZVT4F6DGST20000NE000-3G5101 EN01 <br />
FDE Capable: Not Capable<br />
FDE Enable: Disable<br />
Secured: Unsecured<br />
Locked: Unlocked<br />
Needs EKM Attention: No<br />
Foreign State: None <br />
Device Speed: 6.0Gb/s <br />
Link Speed: 6.0Gb/s <br />
Media Type: Hard Disk Device<br />
Drive: Not Certified<br />
Drive Temperature :36C (96.80 F)<br />
PI Eligibility: No <br />
Drive is formatted for PI information: No<br />
PI: No PI<br />
Drive's NCQ setting : N/A<br />
Port-0 :<br />
Port status: Active<br />
Port's Linkspeed: 6.0Gb/s <br />
Drive has flagged a S.M.A.R.T alert : No<br />
<br />
<br />
<br />
<br />
Exit Code: 0x00</nowiki><br />
One of the 300GB SAS drives (for the OS) is reporting a [SMART|https://techterms.com/definition/smart] error. This disk should be replaced before it fails.</div>
William
https://palfrepedia.palfreman.com/index.php?title=Computing&diff=655
Computing
2024-02-23T14:13:16Z
<p>William: /* Other */ Add megaraid</p>
<hr />
<div>Something new under the sun. We had [[Aristotle|Aristotelian]] logic, and towards the end of the 19th Century boolean logic too, but nobody applied it to electrical circuitry until the 1930s. Once they did it led to an explosion of the logical inner world that is computing, the development of programming languages, operating systems, Internet communication and the replacement of craft after craft with computerised versions.<br />
<br />
==Operating Systems==<br />
* [[MS-DOS]]<br />
* [[UNIX]]<br />
* [[Linux]]<br />
* [[OpenBSD]]<br />
* FreeBSD<br />
* NetBSD<br />
* [[Windows]]<br />
<br />
==Instant Messenger Systems==<br />
* Briar<br />
* Facebook Messenger<br />
* Matrix<br />
* [[Telegram]]<br />
* Session<br />
* [[Signal]]<br />
* Whatsapp<br />
==Games==<br />
[[Commander Keen]]<br />
==Cryptography==<br />
* [[OpenSSL]]<br />
* [[OpenSSH]]<br />
* [[IKE]] and IPsec<br />
<br />
==Other==<br />
* [[Printers]]<br />
* [[Cisco Switches]]<br />
* [[Megaraid SAS]]</div>
William
https://palfrepedia.palfreman.com/index.php?title=IKE&diff=654
IKE
2023-09-15T22:46:04Z
<p>William: First save</p>
<hr />
<div>This is about how to set up Internet Key Exchange for [[IPsec]] on OpenBSD<br />
=== /etc/iked.conf ===<br />
<nowiki><br />
ikev2 'responder_rsa' passive esp \<br />
from any to dynamic \<br />
local 21.32.43.54 peer any \<br />
srcid router.int.palfreman.com \<br />
config address 10.1.0.0/24 \<br />
tag "ROADW"<br />
</nowiki><br />
<br />
PF firewall rules:<br />
<nowiki><br />
# IKE<br />
pass in log on egress proto udp from any to (egress) port {isakmp, ipsec-nat-t} tag IKED<br />
pass in log on egress proto esp from any to (egress) tag IKED<br />
pass log on enc0 tagged ROADW<br />
match out log on egress inet tagged ROADW nat-to (egress:0)<br />
</nowiki></div>
William
https://palfrepedia.palfreman.com/index.php?title=Computing&diff=653
Computing
2023-09-15T22:06:06Z
<p>William: /* Cryptography */ add IKE</p>
<hr />
<div>Something new under the sun. We had [[Aristotle|Aristotelian]] logic, and towards the end of the 19th Century boolean logic too, but nobody applied it to electrical circuitry until the 1930s. Once they did it led to an explosion of the logical inner world that is computing, the development of programming languages, operating systems, Internet communication and the replacement of craft after craft with computerised versions.<br />
<br />
==Operating Systems==<br />
* [[MS-DOS]]<br />
* [[UNIX]]<br />
* [[Linux]]<br />
* [[OpenBSD]]<br />
* FreeBSD<br />
* NetBSD<br />
* [[Windows]]<br />
<br />
==Instant Messenger Systems==<br />
* Briar<br />
* Facebook Messenger<br />
* Matrix<br />
* [[Telegram]]<br />
* Session<br />
* [[Signal]]<br />
* Whatsapp<br />
==Games==<br />
[[Commander Keen]]<br />
==Cryptography==<br />
* [[OpenSSL]]<br />
* [[OpenSSH]]<br />
* [[IKE]] and IPsec<br />
<br />
==Other==<br />
* [[Printers]]<br />
* [[Cisco Switches]]</div>
William
https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World:_Introduction&diff=652
The Vexation of the World: Introduction
2023-09-06T19:50:05Z
<p>William: Start of intro</p>
<hr />
<div>The title speaks for itself on the tenor and content of this book. <i>"The Vexation of the World"</i>, wants<br />
<p><i>[translation to be continued...]</i></div>
William
https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World&diff=651
The Vexation of the World
2023-09-06T19:41:07Z
<p>William: Add Intro</p>
<hr />
<div>An amateur translation of [https://www.amazon.co.uk/MONDO-AL-CONTRARIO-ROBERTO-VANNACCI/dp/B0CF4BJN3D|Il Mondo al Contrario] by the Italian general [[Roberto Vannacci]].<br />
*[[The Vexation of the World: Translator's forward|Translator's forward]]<br />
*[[The Vexation of the World: Author note|Note about the author]]<br />
*[[The Vexation of the World: Introduction|Introduction]]<br />
#[[The Vexation of the World: Common Sense|Common Sense]]<br />
#[[The Vexation of_the World: Environmentalism|Environmentalism]]<br />
#[[The Vexation of_the World: Energy|Energy]]<br />
#[[The Vexation of_the World: Multicultalism|Multicultural and Multi-ethnic Society]]<br />
#[[The Vexation of_the World: Security|Security and Self Defence]]<br />
#[[The Vexation of_the World: Home|Home]]<br />
#[[The Vexation of_the World: Family|Family]]<br />
#[[The Vexation of_the World: Country|Country]]<br />
#[[The Vexation of_the World: LGBT+++_world|LGBT+++ World]]<br />
#[[The Vexation of_the World: Taxation|Taxation]]<br />
#[[The Vexation of_the World: The_New_City|The New City]]<br />
#[[The Vexation of_the World: Animal_Rights|Animal Rights]]<br />
*[[The Vexation of_the World: Acknowledgements|Acknowledgements]]</div>
William
https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World:_Author_note&diff=650
The Vexation of the World: Author note
2023-09-06T19:17:02Z
<p>William: Authors note</p>
<hr />
<div>This work represents the thoughts, expression and personal opinions of the author and not represent any institutional position nor should attributed to any other state or government body.<p><br />
He recommends the book be read by mature adults able to comprehend, to a degree, the arguments put forward without distorting them, or partially or factitiously compromising them, so the correct expressions and original significance are not lost.<p> <br />
The author declines all responsibility for any erroneous interpretation of the text, and dissociates himself, as of now, from any illegal acts that may derive from such misinterpretation.</div>
William
https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World&diff=649
The Vexation of the World
2023-09-06T18:25:13Z
<p>William: Re-style chapters</p>
<hr />
<div>An amateur translation of [https://www.amazon.co.uk/MONDO-AL-CONTRARIO-ROBERTO-VANNACCI/dp/B0CF4BJN3D|Il Mondo al Contrario] by the Italian general [[Roberto Vannacci]].<br />
*[[The Vexation of the World: Translator's forward|Translator's forward]]<br />
*[[The Vexation of the World: Author note|Note about the author]]<br />
#[[The Vexation of the World: Common Sense|Common Sense]]<br />
#[[The Vexation of_the World: Environmentalism|Environmentalism]]<br />
#[[The Vexation of_the World: Energy|Energy]]<br />
#[[The Vexation of_the World: Multiculti|Multicultural and Multi-ethnic Society]]<br />
#[[The Vexation of_the World: Security|Security and Self Defence]]<br />
#[[The Vexation of_the World: Home|Home]]<br />
#[[The Vexation of_the World: Family|Family]]<br />
#[[The Vexation of_the World: Country|Country]]<br />
#[[The Vexation of_the World: LGBT+++_world|LGBT+++ World]]<br />
#[[The Vexation of_the World: Taxation|Taxation]]<br />
#[[The Vexation of_the World: The_New_City|The New City]]<br />
#[[The Vexation of_the World: Animal_Rights|Animal Rights]]<br />
*[[The Vexation of_the World: Acknowledgements|Acknowledgements]]</div>
William
https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World:_Translator%27s_forward&diff=648
The Vexation of the World: Translator's forward
2023-09-06T18:21:17Z
<p>William: William moved page The Vexation of the World: Translators forward to The Vexation of the World: Translator's forward without leaving a redirect</p>
<hr />
<div>I am creating this partly in order to read this interesting book that is currently only available in Italian, and partly to teach myself Italian. It is a language I have never used before so please be patient if the quality of the translation is not up to professional standards.</div>
William
https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World:_Translator%27s_forward&diff=647
The Vexation of the World: Translator's forward
2023-09-06T18:19:48Z
<p>William: William moved page The-vexation-of-the-world-Translators forward to The Vexation of the World: Translators forward without leaving a redirect: Looked ugly before</p>
<hr />
<div>I am creating this partly in order to read this interesting book that is currently only available in Italian, and partly to teach myself Italian. It is a language I have never used before so please be patient if the quality of the translation is not up to professional standards.</div>
William
https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World:_Translator%27s_forward&diff=646
The Vexation of the World: Translator's forward
2023-09-06T18:18:14Z
<p>William: My Forward</p>
<hr />
<div>I am creating this partly in order to read this interesting book that is currently only available in Italian, and partly to teach myself Italian. It is a language I have never used before so please be patient if the quality of the translation is not up to professional standards.</div>
William
https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World&diff=645
The Vexation of the World
2023-09-06T18:15:41Z
<p>William: Title page</p>
<hr />
<div>An amateur translation of [https://www.amazon.co.uk/MONDO-AL-CONTRARIO-ROBERTO-VANNACCI/dp/B0CF4BJN3D|Il Mondo al Contrario] by the Italian general [[Roberto Vannacci]].<br />
*[[the-vexation-of-the-world-Translators_forward|Translator's forward]]<br />
*[[the-vexation-of-the-world-Author_note|Note about the author]]<br />
# [[the_vexation_of_the_world_Common_Sense|Common Sense]]<br />
#[[the_vexation_of_the_world_Environmentalism|Environmentalism]]<br />
#[[the_vexation_of_the_world_Energy|Energy]]<br />
#[[the_vexation_of_the_world_Multiculti|Multicultural and Multi-ethnic Society]]<br />
#[[the_vexation_of_the_world_Security|Security and Self Defence]]<br />
#[[the_vexation_of_the_world_Home|Home]]<br />
#[[the_vexation_of_the_world_Family|Family]]<br />
#[[the_vexation_of_the_world_Country|Country]]<br />
#[[the_vexation_of_the_world_LGBT+++_world|LGBT+++ World]]<br />
#[[the_vexation_of_the_world_Taxation|Taxation]]<br />
#[[the_vexation_of_the_world_The_New_City|The New City]]<br />
#[[the_vexation_of_the_world_Animal_Rights|Animal Rights]]<br />
*[[the_vexation_of_the_world_Acknowledgements|Acknowledgements]]</div>
William
https://palfrepedia.palfreman.com/index.php?title=Books&diff=644
Books
2023-09-06T17:30:30Z
<p>William: /* Politics */ rename</p>
<hr />
<div>==Novels==<br />
===[[Arnold Bennett]]===<br />
====Clayhanger Trilogy====<br />
* [[Clayhanger]]<br />
* Hilda Lessways<br />
* These Twain<br />
====Other works====<br />
* Grand Hotel Babylon<br />
* [[The Card]]<br />
* Buried Alive<br />
===[[C.S. Lewis]]===<br />
* [[Space Trilogy]]<br />
<br />
== Philosophy ==<br />
* [[The World as Will and Representation]] by [[Arthur Schopenhauer]]<br />
===[[Plato]]===<br />
* [[The Republic]]<br />
* [[The Gorgias]]<br />
== History ==<br />
* The History of Florence by Nicolo Machiavelli<br />
* [[The Gun-Wielding Philanthropist]] by [[William H. Cooke]]<br />
== Politics ==<br />
* [[The Vexation of the World]] by General [[Roberto Vannacci]]<br />
<br />
== Religion ==<br />
* [https://www.kingjamesbibleonline.org/Genesis-Chapter-1/ The Holy Bible]</div>
William
https://palfrepedia.palfreman.com/index.php?title=Books&diff=643
Books
2023-09-06T17:04:59Z
<p>William: Add world-vexxationed link</p>
<hr />
<div>==Novels==<br />
===[[Arnold Bennett]]===<br />
====Clayhanger Trilogy====<br />
* [[Clayhanger]]<br />
* Hilda Lessways<br />
* These Twain<br />
====Other works====<br />
* Grand Hotel Babylon<br />
* [[The Card]]<br />
* Buried Alive<br />
===[[C.S. Lewis]]===<br />
* [[Space Trilogy]]<br />
<br />
== Philosophy ==<br />
* [[The World as Will and Representation]] by [[Arthur Schopenhauer]]<br />
===[[Plato]]===<br />
* [[The Republic]]<br />
* [[The Gorgias]]<br />
== History ==<br />
* The History of Florence by Nicolo Machiavelli<br />
* [[The Gun-Wielding Philanthropist]] by [[William H. Cooke]]<br />
== Politics ==<br />
* [[The World Vexed]] by General [[Roberto Vannacci]]<br />
== Religion ==<br />
* [https://www.kingjamesbibleonline.org/Genesis-Chapter-1/ The Holy Bible]</div>
William
https://palfrepedia.palfreman.com/index.php?title=Cisco_Switches&diff=642
Cisco Switches
2023-09-06T16:29:44Z
<p>William: Untagged trunk ports</p>
<hr />
<div>Generally it is better to use Cisco switches as the interface is familier, works better than the web-driven rivals, they are more reliable and familiarity is worth money, unlike any other switch or router (with the exception of Juniper).<br />
<br />
=== Goals ===<br />
Broadly, create the VLAN, add and IP address to VLANs where needed, and move ports into the vlan.<br />
== Fix idle timeout ==<br />
Looking at <i>sh line vty 0</i> around other details I can see the idle timeout is only ten minutes. I like to change it to thirty minutes to give me more thinking time and to make the notes on this page without it logging me out.<br />
<nowiki>switch>sh line vty 0 <br />
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int<br />
* 1 VTY - - - - - 8 0 0/0 -<br />
<br />
Line 1, Location: "", Type: "xterm-256color"<br />
Length: 24 lines, Width: 80 columns<br />
Baud rate (TX/RX) is 9600/9600<br />
Status: PSI Enabled, Ready, Active, No Exit Banner, Ctrl-c Enabled<br />
Automore On, Notify Process<br />
Capabilities: none<br />
Modem state: Ready<br />
Special Chars: Escape Hold Stop Start Disconnect Activation<br />
^^x none - - none <br />
Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch<br />
00:10:00 never none not set</nowiki><br />
This is how I change it to thirty minutes<br />
<nowiki><br />
switch>en<br />
Password: <br />
switch#conf t <br />
Enter configuration commands, one per line. End with CNTL/Z.<br />
switch(config)#line vty 0 15 <br />
switch(config-line)#exec-timeout 30 0<br />
switch(config-line)#exit<br />
switch(config)#exit<br />
switch#disa<br />
switch></nowiki><br />
Now the timeout is thirty minutes. <br />
<nowiki><br />
switch>sh line vty 0<br />
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int<br />
* 1 VTY - - - - - 8 0 0/0 -<br />
<br />
Line 1, Location: "", Type: "xterm-256color"<br />
Length: 24 lines, Width: 80 columns<br />
Baud rate (TX/RX) is 9600/9600<br />
Status: PSI Enabled, Ready, Active, No Exit Banner, Ctrl-c Enabled<br />
Automore On, Notify Process<br />
Capabilities: none<br />
Modem state: Ready<br />
Special Chars: Escape Hold Stop Start Disconnect Activation<br />
^^x none - - none <br />
Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch<br />
00:30:00 never none not set<br />
</nowiki><br />
<br />
== Set IP address ==<br />
So as to be able to telnet or SSH on (if supported) instead of using the serial console<br />
<nowiki><br />
switch#conf t <br />
Enter configuration commands, one per line. End with CNTL/Z. <br />
switch(config)#int vlan1 <br />
switch(config-if)#ip address 192.168.1.2 255.255.255.0 <br />
switch(config-if)#exit <br />
switch(config)#ip default-gateway 192.168.1.1 <br />
switch(config)#exit <br />
switch#</nowiki> <br />
<br />
== Create VLANs ==<br />
Looking at the vlan setup doesn't require enable but changing it does.<br />
<nowiki><br />
switch>sh vlan<br />
<br />
VLAN Name Status Ports<br />
---- -------------------------------- --------- -------------------------------<br />
1 default active Gi1/0/1, Gi1/0/2, Gi1/0/3<br />
Gi1/0/4, Gi1/0/5, Gi1/0/6<br />
Gi1/0/7, Gi1/0/8, Gi1/0/9<br />
Gi1/0/10, Gi1/0/11, Gi1/0/12<br />
Gi1/0/13, Gi1/0/14, Gi1/0/15<br />
Gi1/0/16, Gi1/0/17, Gi1/0/18<br />
Gi1/0/19, Gi1/0/20, Gi1/0/21<br />
Gi1/0/22, Gi1/0/23, Gi1/0/24<br />
Gi1/0/25, Gi1/0/26, Gi1/0/27<br />
Gi1/0/28, Gi1/0/29, Gi1/0/30<br />
Gi1/0/31, Gi1/0/32, Gi1/0/33<br />
Gi1/0/34, Gi1/0/35, Gi1/0/36<br />
Gi1/0/37, Gi1/0/38, Gi1/0/39<br />
Gi1/0/40, Gi1/0/41, Gi1/0/42<br />
Gi1/0/43, Gi1/0/44, Gi1/0/45<br />
Gi1/0/46, Gi1/0/47, Gi1/0/48<br />
Gi1/0/49, Gi1/0/50, Gi1/0/51<br />
Gi1/0/52 <br />
1002 fddi-default act/unsup <br />
1003 trcrf-default act/unsup <br />
1004 fddinet-default act/unsup <br />
1005 trbrf-default act/unsup<br />
</nowiki><br />
<br />
At this point everything is in VLAN1, which is the default configuration. However our goal here is to put ports into a relevant VLAN and turn off VLAN1. First we need to create some VLANs. Go into enable mode and conf t.<br />
<nowiki><br />
switch>en <br />
Password: <br />
switch#conf t<br />
Enter configuration commands, one per line. End with CNTL/Z.<br />
switch(config)#vlan 30<br />
switch(config-vlan)#name servers<br />
switch(config-vlan)#exit<br />
switch(config)#exit<br />
switch#</nowiki><br />
=== Setup trunk to Switch 2 ===<br />
<nowiki><br />
switch#conf t <br />
Enter configuration commands, one per line. End with CNTL/Z.<br />
switch(config)#int gi1/0/4<br />
switch(config-if)#switchport trunk encapsulation dot1q<br />
switch(config-if)#switchport mode trunk<br />
switch(config-if)#switchport trunk allowed vlan remove 1-4094<br />
switch(config-if)#switchport trunk allowed vlan add 30,40<br />
switch(config-if)#exit<br />
switch(config)#exit<br />
switch#</nowiki><br />
=== Setup trunk to Switch 1 ===<br />
<nowiki><br />
switch2#conf t <br />
Enter configuration commands, one per line. End with CNTL/Z.<br />
switch2(config)#int gi1/0/6<br />
switch2(config-if)#switchport trunk encapsulation dot1q<br />
switch2(config-if)#switchport mode trunk<br />
switch2(config-if)#switchport trunk allowed vlan remove 1-4094<br />
switch2(config-if)#switchport trunk allowed vlan add 30,40<br />
switch2(config-if)#exit<br />
switch2(config)#exit</nowiki><br />
This config can now be seen with sh run (only pasting the relevant section)<br />
<nowiki><br />
switch2#sh run<br />
!<br />
interface GigabitEthernet1/0/1<br />
switchport trunk encapsulation dot1q<br />
switchport trunk allowed vlan 30,40<br />
switchport mode trunk<br />
!</nowiki><br />
=== Port with untagged and tagged traffic ===<br />
This is when a port is used as an access port and also has vlans available. Typically necessary for setting up something with a single interface.<br />
<nowiki><br />
!<br />
interface GigabitEthernet1/0/2<br />
description white wire<br />
switchport trunk encapsulation dot1q<br />
switchport trunk native vlan 40<br />
switchport trunk allowed vlan 30,40,50<br />
switchport mode trunk<br />
!<br />
</nowiki><br />
In the above config it is necessary to have the "native" vlan (the equivalent of an access vlan, "switchport access vlan 40") also an allowed vlan for the trunk port.</div>
William
https://palfrepedia.palfreman.com/index.php?title=OpenBSD&diff=641
OpenBSD
2023-07-22T22:56:04Z
<p>William: Adding information about setting up vlans</p>
<hr />
<div>OpenBSD is another 4.4BSD-lite derived [[OS]] like so many others and anyone familiar with Linux and any other Unix will find themselves at home. It's most common use case is a a router, due to its very sophisticated networking features. <br />
<br />
==Using PPPeE==<br />
If you are using OpenBSD as a router, it is likely you will need to use PPPoE (the Point-to-Point Protocol over Ethernet as that is what many ISPs supply.<br />
<br />
In the following example the ethernet cable from the fiber media converter is plugged into em0 network interface<br />
<br />
<nowiki># cat /etc/hostname.em0 <br />
mtu 1508 up<br />
<br />
# cat /etc/hostname.pppoe0 <br />
inet 0.0.0.0 255.255.255.255 NONE \<br />
pppoedev em0 \<br />
authproto chap authname 'my-user-name' authkey 'my-secret' \<br />
mtu 1500 \<br />
up<br />
dest 0.0.0.1<br />
!/sbin/route add default -ifp pppoe0 0.0.0.1<br />
<br />
# sh /etc/netstart</nowiki><br />
<br />
[Todo: add a section of pf firewall usage in a router, for the above]<br />
<br />
== Using VLANs ==<br />
Sometimes you want to run network ports in trunk mode and have the networking on them in vlans. This is common on a router as it gives you more more network interfaces than are physically fitted to the router.<br />
<br />
The current setup is this:<br />
# cat /etc/hostname.em1<br />
inet 10.0.1.1 255.255.255.0<br />
That should be replaced with the singe word "up"<br />
# echo "up" > /etc/hostname.em1<br />
# cat /etc/hostname.em1<br />
up<br />
The reason for this is we will no longer use the interface directly, only vlans within it.<br />
Now setup the vlan interface. Our vlan is going to be vlan 40.<br />
# echo "inet 10.0.1.1 255.255.255.0 NONE vlan 40 vlandev em1" > /etc/hostname.vlan40<br />
# sh /etc/netstart<br />
Then <b>apply changes to /etc/pf.conf</b> to update your firewall to reflect that what was em1 is now vlan40 in firewall terms.<br />
You can add as many more vlans as you need using the same technique.</div>
William
https://palfrepedia.palfreman.com/index.php?title=Alpine_Linux&diff=640
Alpine Linux
2023-05-14T20:11:32Z
<p>William: Extra alpine details</p>
<hr />
<div>Minimalist traditionalist Linux distribution. Can be installed on a [[Raspberry Pi]] too.<br />
<br />
== Installation on Raspberry Pi ==<br />
Set up the [[SD Card]] like so using fdisk, once you have idenfied the name of the sd-card device using [[dmesg]]:<br />
<br />
<nowiki><br />
$ sudo fdisk /dev/mmcblk0<br />
Welcome to fdisk (util-linux 2.37.2).<br />
Changes will remain in memory only, until you decide to write them.<br />
Be careful before using the write command.<br />
<br />
Command (m for help): p<br />
Disk /dev/mmcblk0: 14.84 GiB, 15931539456 bytes, 31116288 sectors<br />
Units: sectors of 1 * 512 = 512 bytes<br />
Sector size (logical/physical): 512 bytes / 512 bytes<br />
I/O size (minimum/optimal): 512 bytes / 512 bytes<br />
Disklabel type: dos<br />
Disk identifier: 0xb007d0b8<br />
<br />
Device Boot Start End Sectors Size Id Type<br />
/dev/mmcblk0p1 * 8192 532479 524288 256M c W95 FAT32 (LBA)<br />
/dev/mmcblk0p2 532480 31116287 30583808 14.6G 83 Linux</nowiki><br />
<br />
Make sure to set the bootable flag for the 256MB W95 partition above. Also needs to be LBA if not already.</div>
William
https://palfrepedia.palfreman.com/index.php?title=Alpine_Linux&diff=639
Alpine Linux
2023-05-05T16:19:36Z
<p>William: First save Alpine Linux</p>
<hr />
<div>Minimalist traditionalist Linux distribution. Can be installed on a [[Rasperry Pi]] too.<br />
<br />
== Installation on Raspbery Pi ==<br />
Set up the [[SD Card]] like so using fdisk, once you have idenfied the name of the sd-card device using [[dmesg]]:<br />
<br />
<nowiki><br />
$ sudo fdisk /dev/mmcblk0<br />
Welcome to fdisk (util-linux 2.37.2).<br />
Changes will remain in memory only, until you decide to write them.<br />
Be careful before using the write command.<br />
<br />
Command (m for help): p<br />
Disk /dev/mmcblk0: 14.84 GiB, 15931539456 bytes, 31116288 sectors<br />
Units: sectors of 1 * 512 = 512 bytes<br />
Sector size (logical/physical): 512 bytes / 512 bytes<br />
I/O size (minimum/optimal): 512 bytes / 512 bytes<br />
Disklabel type: dos<br />
Disk identifier: 0xb007d0b8<br />
<br />
Device Boot Start End Sectors Size Id Type<br />
/dev/mmcblk0p1 8192 532479 524288 256M c W95 FAT32 (LBA)<br />
/dev/mmcblk0p2 532480 31116287 30583808 14.6G 83 Linux</nowiki></div>
William
https://palfrepedia.palfreman.com/index.php?title=Xubuntu&diff=638
Xubuntu
2023-05-05T16:12:35Z
<p>William: Xubuntu first save</p>
<hr />
<div>Popular laptop-orientated Ubuntu-variant. Better UI than Ubuntu.</div>
William
https://palfrepedia.palfreman.com/index.php?title=Raspberry_Pi&diff=637
Raspberry Pi
2023-05-05T16:10:51Z
<p>William: Raspberry Pi first save</p>
<hr />
<div>Small USB-powered ARM computer. Low power usage makes it useful for situations where a physical computer is needed without the electrical costs of a larger system</div>
William
https://palfrepedia.palfreman.com/index.php?title=Raspbian&diff=636
Raspbian
2023-05-05T16:09:37Z
<p>William: Raspbian first save</p>
<hr />
<div>Operating system of choice for the [[Raspberry Pi]]. Closely derived from [[Debian]].</div>
William
https://palfrepedia.palfreman.com/index.php?title=Debian&diff=635
Debian
2023-05-05T16:08:22Z
<p>William: Debian page improved</p>
<hr />
<div>Premier server-orientated Linux distribution. Many distributions are downstream from this. Notoriously slow release cycle.<br />
== Direct descendents ==<br />
* Ubuntu<br />
* [[Raspbian]]</div>
William
https://palfrepedia.palfreman.com/index.php?title=Debian&diff=634
Debian
2023-05-05T16:07:07Z
<p>William: Debian first save</p>
<hr />
<div>Premier server-orientated Linux distribution. Many distributions are downstream from this. Notoriously slow release cycle.</div>
William
https://palfrepedia.palfreman.com/index.php?title=Linux&diff=633
Linux
2023-05-05T16:06:00Z
<p>William: Create link for Linux distro subpages</p>
<hr />
<div>Principle [[Unix]]-like operating systems used today. Divides into distributions:<br />
== Linux Distributions ==<br />
* [[Debian]]<br />
** Ubuntu<br />
*** [[Xubuntu]]<br />
*** Lubuntu<br />
*** Mint<br />
** [[Raspbian]]<br />
* Redhat<br />
** Suse<br />
** Centos<br />
** Scientific Linx<br />
* [[Alpine Linux]]<br />
(indented to indicate descent)</div>
William
https://palfrepedia.palfreman.com/index.php?title=Linux&diff=632
Linux
2023-05-05T16:04:56Z
<p>William: Basic Linux page</p>
<hr />
<div>Principle [[Unix]]-like operating systems used today. Divides into distributions:<br />
== Linux Distributions ==<br />
* Debian<br />
** Ubuntu<br />
*** Xubuntu<br />
*** Lubuntu<br />
*** Mint<br />
** Raspbian<br />
* Redhat<br />
** Suse<br />
** Centos<br />
** Scientific Linx<br />
* [[Alpine Linux]]<br />
(indented to indicate descent)</div>
William
https://palfrepedia.palfreman.com/index.php?title=Cisco_Switches&diff=631
Cisco Switches
2023-05-05T15:51:38Z
<p>William: trunk setup</p>
<hr />
<div>Generally it is better to use Cisco switches as the interface is familier, works better than the web-driven rivals, they are more reliable and familiarity is worth money, unlike any other switch or router (with the exception of Juniper).<br />
<br />
=== Goals ===<br />
Broadly, create the VLAN, add and IP address to VLANs where needed, and move ports into the vlan.<br />
== Fix idle timeout ==<br />
Looking at <i>sh line vty 0</i> around other details I can see the idle timeout is only ten minutes. I like to change it to thirty minutes to give me more thinking time and to make the notes on this page without it logging me out.<br />
<nowiki>switch>sh line vty 0 <br />
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int<br />
* 1 VTY - - - - - 8 0 0/0 -<br />
<br />
Line 1, Location: "", Type: "xterm-256color"<br />
Length: 24 lines, Width: 80 columns<br />
Baud rate (TX/RX) is 9600/9600<br />
Status: PSI Enabled, Ready, Active, No Exit Banner, Ctrl-c Enabled<br />
Automore On, Notify Process<br />
Capabilities: none<br />
Modem state: Ready<br />
Special Chars: Escape Hold Stop Start Disconnect Activation<br />
^^x none - - none <br />
Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch<br />
00:10:00 never none not set</nowiki><br />
This is how I change it to thirty minutes<br />
<nowiki><br />
switch>en<br />
Password: <br />
switch#conf t <br />
Enter configuration commands, one per line. End with CNTL/Z.<br />
switch(config)#line vty 0 15 <br />
switch(config-line)#exec-timeout 30 0<br />
switch(config-line)#exit<br />
switch(config)#exit<br />
switch#disa<br />
switch></nowiki><br />
Now the timeout is thirty minutes. <br />
<nowiki><br />
switch>sh line vty 0<br />
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int<br />
* 1 VTY - - - - - 8 0 0/0 -<br />
<br />
Line 1, Location: "", Type: "xterm-256color"<br />
Length: 24 lines, Width: 80 columns<br />
Baud rate (TX/RX) is 9600/9600<br />
Status: PSI Enabled, Ready, Active, No Exit Banner, Ctrl-c Enabled<br />
Automore On, Notify Process<br />
Capabilities: none<br />
Modem state: Ready<br />
Special Chars: Escape Hold Stop Start Disconnect Activation<br />
^^x none - - none <br />
Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch<br />
00:30:00 never none not set<br />
</nowiki><br />
<br />
== Set IP address ==<br />
So as to be able to telnet or SSH on (if supported) instead of using the serial console<br />
<nowiki><br />
switch#conf t <br />
Enter configuration commands, one per line. End with CNTL/Z. <br />
switch(config)#int vlan1 <br />
switch(config-if)#ip address 192.168.1.2 255.255.255.0 <br />
switch(config-if)#exit <br />
switch(config)#ip default-gateway 192.168.1.1 <br />
switch(config)#exit <br />
switch#</nowiki> <br />
<br />
== Create VLANs ==<br />
Looking at the vlan setup doesn't require enable but changing it does.<br />
<nowiki><br />
switch>sh vlan<br />
<br />
VLAN Name Status Ports<br />
---- -------------------------------- --------- -------------------------------<br />
1 default active Gi1/0/1, Gi1/0/2, Gi1/0/3<br />
Gi1/0/4, Gi1/0/5, Gi1/0/6<br />
Gi1/0/7, Gi1/0/8, Gi1/0/9<br />
Gi1/0/10, Gi1/0/11, Gi1/0/12<br />
Gi1/0/13, Gi1/0/14, Gi1/0/15<br />
Gi1/0/16, Gi1/0/17, Gi1/0/18<br />
Gi1/0/19, Gi1/0/20, Gi1/0/21<br />
Gi1/0/22, Gi1/0/23, Gi1/0/24<br />
Gi1/0/25, Gi1/0/26, Gi1/0/27<br />
Gi1/0/28, Gi1/0/29, Gi1/0/30<br />
Gi1/0/31, Gi1/0/32, Gi1/0/33<br />
Gi1/0/34, Gi1/0/35, Gi1/0/36<br />
Gi1/0/37, Gi1/0/38, Gi1/0/39<br />
Gi1/0/40, Gi1/0/41, Gi1/0/42<br />
Gi1/0/43, Gi1/0/44, Gi1/0/45<br />
Gi1/0/46, Gi1/0/47, Gi1/0/48<br />
Gi1/0/49, Gi1/0/50, Gi1/0/51<br />
Gi1/0/52 <br />
1002 fddi-default act/unsup <br />
1003 trcrf-default act/unsup <br />
1004 fddinet-default act/unsup <br />
1005 trbrf-default act/unsup<br />
</nowiki><br />
<br />
At this point everything is in VLAN1, which is the default configuration. However our goal here is to put ports into a relevant VLAN and turn off VLAN1. First we need to create some VLANs. Go into enable mode and conf t.<br />
<nowiki><br />
switch>en <br />
Password: <br />
switch#conf t<br />
Enter configuration commands, one per line. End with CNTL/Z.<br />
switch(config)#vlan 30<br />
switch(config-vlan)#name servers<br />
switch(config-vlan)#exit<br />
switch(config)#exit<br />
switch#</nowiki><br />
=== Setup trunk to Switch 2 ===<br />
<nowiki><br />
switch#conf t <br />
Enter configuration commands, one per line. End with CNTL/Z.<br />
switch(config)#int gi1/0/4<br />
switch(config-if)#switchport trunk encapsulation dot1q<br />
switch(config-if)#switchport mode trunk<br />
switch(config-if)#switchport trunk allowed vlan remove 1-4094<br />
switch(config-if)#switchport trunk allowed vlan add 30,40<br />
switch(config-if)#exit<br />
switch(config)#exit<br />
switch#</nowiki><br />
=== Setup trunk to Switch 1 ===<br />
<nowiki><br />
switch2#conf t <br />
Enter configuration commands, one per line. End with CNTL/Z.<br />
switch2(config)#int gi1/0/6<br />
switch2(config-if)#switchport trunk encapsulation dot1q<br />
switch2(config-if)#switchport mode trunk<br />
switch2(config-if)#switchport trunk allowed vlan remove 1-4094<br />
switch2(config-if)#switchport trunk allowed vlan add 30,40<br />
switch2(config-if)#exit<br />
switch2(config)#exit</nowiki><br />
This config can now be seen with sh run (only pasting the relevant section)<br />
<nowiki><br />
switch2#sh run<br />
!<br />
interface GigabitEthernet1/0/1<br />
switchport trunk encapsulation dot1q<br />
switchport trunk allowed vlan 30,40<br />
switchport mode trunk<br />
!</nowiki></div>
William
https://palfrepedia.palfreman.com/index.php?title=Cisco_Switches&diff=630
Cisco Switches
2023-05-04T20:58:50Z
<p>William: Added subsection on setting up IP</p>
<hr />
<div>Generally it is better to use Cisco switches as the interface is familier, works better than the web-driven rivals, they are more reliable and familiarity is worth money, unlike any other switch or router (with the exception of Juniper).<br />
<br />
=== Goals ===<br />
Broadly, create the VLAN, add and IP address to VLANs where needed, and move ports into the vlan.<br />
== Fix idle timeout ==<br />
Looking at <i>sh line vty 0</i> around other details I can see the idle timeout is only ten minutes. I like to change it to thirty minutes to give me more thinking time and to make the notes on this page without it logging me out.<br />
<nowiki>switch>sh line vty 0 <br />
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int<br />
* 1 VTY - - - - - 8 0 0/0 -<br />
<br />
Line 1, Location: "", Type: "xterm-256color"<br />
Length: 24 lines, Width: 80 columns<br />
Baud rate (TX/RX) is 9600/9600<br />
Status: PSI Enabled, Ready, Active, No Exit Banner, Ctrl-c Enabled<br />
Automore On, Notify Process<br />
Capabilities: none<br />
Modem state: Ready<br />
Special Chars: Escape Hold Stop Start Disconnect Activation<br />
^^x none - - none <br />
Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch<br />
00:10:00 never none not set</nowiki><br />
This is how I change it to thirty minutes<br />
<nowiki><br />
switch>en<br />
Password: <br />
switch#conf t <br />
Enter configuration commands, one per line. End with CNTL/Z.<br />
switch(config)#line vty 0 15 <br />
switch(config-line)#exec-timeout 30 0<br />
switch(config-line)#exit<br />
switch(config)#exit<br />
switch#disa<br />
switch></nowiki><br />
Now the timeout is thirty minutes. <br />
<nowiki><br />
switch>sh line vty 0<br />
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int<br />
* 1 VTY - - - - - 8 0 0/0 -<br />
<br />
Line 1, Location: "", Type: "xterm-256color"<br />
Length: 24 lines, Width: 80 columns<br />
Baud rate (TX/RX) is 9600/9600<br />
Status: PSI Enabled, Ready, Active, No Exit Banner, Ctrl-c Enabled<br />
Automore On, Notify Process<br />
Capabilities: none<br />
Modem state: Ready<br />
Special Chars: Escape Hold Stop Start Disconnect Activation<br />
^^x none - - none <br />
Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch<br />
00:30:00 never none not set<br />
</nowiki><br />
<br />
== Set IP address ==<br />
So as to be able to telnet or SSH on (if supported) instead of using the serial console<br />
<nowiki><br />
switch#conf t <br />
Enter configuration commands, one per line. End with CNTL/Z. <br />
switch(config)#int vlan1 <br />
switch(config-if)#ip address 192.168.1.2 255.255.255.0 <br />
switch(config-if)#exit <br />
switch(config)#ip default-gateway 192.168.1.1 <br />
switch(config)#exit <br />
switch#</nowiki> <br />
<br />
== Create VLANs ==<br />
Looking at the vlan setup doesn't require enable but changing it does.<br />
<nowiki><br />
switch>sh vlan<br />
<br />
VLAN Name Status Ports<br />
---- -------------------------------- --------- -------------------------------<br />
1 default active Gi1/0/1, Gi1/0/2, Gi1/0/3<br />
Gi1/0/4, Gi1/0/5, Gi1/0/6<br />
Gi1/0/7, Gi1/0/8, Gi1/0/9<br />
Gi1/0/10, Gi1/0/11, Gi1/0/12<br />
Gi1/0/13, Gi1/0/14, Gi1/0/15<br />
Gi1/0/16, Gi1/0/17, Gi1/0/18<br />
Gi1/0/19, Gi1/0/20, Gi1/0/21<br />
Gi1/0/22, Gi1/0/23, Gi1/0/24<br />
Gi1/0/25, Gi1/0/26, Gi1/0/27<br />
Gi1/0/28, Gi1/0/29, Gi1/0/30<br />
Gi1/0/31, Gi1/0/32, Gi1/0/33<br />
Gi1/0/34, Gi1/0/35, Gi1/0/36<br />
Gi1/0/37, Gi1/0/38, Gi1/0/39<br />
Gi1/0/40, Gi1/0/41, Gi1/0/42<br />
Gi1/0/43, Gi1/0/44, Gi1/0/45<br />
Gi1/0/46, Gi1/0/47, Gi1/0/48<br />
Gi1/0/49, Gi1/0/50, Gi1/0/51<br />
Gi1/0/52 <br />
1002 fddi-default act/unsup <br />
1003 trcrf-default act/unsup <br />
1004 fddinet-default act/unsup <br />
1005 trbrf-default act/unsup<br />
</nowiki><br />
<br />
At this point everything is in VLAN1, which is the default configuration. However our goal here is to put ports into a relevant VLAN and turn off VLAN1. First we need to create some VLANs. Go into enable mode and conf t.<br />
<nowiki><br />
switch>en <br />
Password: <br />
switch#conf t<br />
Enter configuration commands, one per line. End with CNTL/Z.<br />
switch(config)#vlan 2<br />
switch(config-vlan)#name dmz<br />
switch(config-vlan)#exit<br />
switch(config)#exit<br />
switch#</nowiki></div>
William
https://palfrepedia.palfreman.com/index.php?title=Main_Page&diff=629
Main Page
2023-05-04T20:38:29Z
<p>William: Removed unused section</p>
<hr />
<div><strong>Palfrepedia</strong><br />
<br />
Better than Wikipedia. Fewer lies. More [[Commander Keen|Keen]].<br />
<br />
* [[Animals]]<br />
* [[Books]]<br />
* [[Classical Languages]]<br />
* [[Colours]]<br />
* [[Computing]], see for [[Commander Keen]].<br />
* [[Countries]]<br />
* [[Films]]<br />
* [[:Category:Kings of England|Kings of]] [[England]]<br />
* [[Lipstick]]<br />
* [[Medicine]]<br />
* [[Nail Polish]]<br />
* [[:Category:Philosophy|Philosophy]]<br />
* [[Religion]]<br />
* [[Teachers]]<br />
* [[Users]] of this website, their pages.</div>
William
https://palfrepedia.palfreman.com/index.php?title=Cisco_Switches&diff=628
Cisco Switches
2023-04-28T12:34:58Z
<p>William: Protected "Cisco Switches" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))</p>
<hr />
<div>Generally it is better to use Cisco switches as the interface is familier, works better than the web-driven rivals, they are more reliable and familiarity is worth money, unlike any other switch or router (with the exception of Juniper).<br />
<br />
=== Goals ===<br />
Broadly, create the VLAN, add and IP address to VLANs where needed, and move ports into the vlan.<br />
== Fix idle timeout ==<br />
Looking at <i>sh line vty 0</i> around other details I can see the idle timeout is only ten minutes. I like to change it to thirty minutes to give me more thinking time and to make the notes on this page without it logging me out.<br />
<nowiki>switch>sh line vty 0 <br />
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int<br />
* 1 VTY - - - - - 8 0 0/0 -<br />
<br />
Line 1, Location: "", Type: "xterm-256color"<br />
Length: 24 lines, Width: 80 columns<br />
Baud rate (TX/RX) is 9600/9600<br />
Status: PSI Enabled, Ready, Active, No Exit Banner, Ctrl-c Enabled<br />
Automore On, Notify Process<br />
Capabilities: none<br />
Modem state: Ready<br />
Special Chars: Escape Hold Stop Start Disconnect Activation<br />
^^x none - - none <br />
Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch<br />
00:10:00 never none not set</nowiki><br />
This is how I change it to thirty minutes<br />
<nowiki><br />
switch>en<br />
Password: <br />
switch#conf t <br />
Enter configuration commands, one per line. End with CNTL/Z.<br />
switch(config)#line vty 0 15 <br />
switch(config-line)#exec-timeout 30 0<br />
switch(config-line)#exit<br />
switch(config)#exit<br />
switch#disa<br />
switch></nowiki><br />
Now the timeout is thirty minutes. <br />
<nowiki><br />
switch>sh line vty 0<br />
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int<br />
* 1 VTY - - - - - 8 0 0/0 -<br />
<br />
Line 1, Location: "", Type: "xterm-256color"<br />
Length: 24 lines, Width: 80 columns<br />
Baud rate (TX/RX) is 9600/9600<br />
Status: PSI Enabled, Ready, Active, No Exit Banner, Ctrl-c Enabled<br />
Automore On, Notify Process<br />
Capabilities: none<br />
Modem state: Ready<br />
Special Chars: Escape Hold Stop Start Disconnect Activation<br />
^^x none - - none <br />
Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch<br />
00:30:00 never none not set<br />
</nowiki><br />
<br />
== Create VLANs ==<br />
Looking at the vlan setup doesn't require enable but changing it does.<br />
<nowiki><br />
switch>sh vlan<br />
<br />
VLAN Name Status Ports<br />
---- -------------------------------- --------- -------------------------------<br />
1 default active Gi1/0/1, Gi1/0/2, Gi1/0/3<br />
Gi1/0/4, Gi1/0/5, Gi1/0/6<br />
Gi1/0/7, Gi1/0/8, Gi1/0/9<br />
Gi1/0/10, Gi1/0/11, Gi1/0/12<br />
Gi1/0/13, Gi1/0/14, Gi1/0/15<br />
Gi1/0/16, Gi1/0/17, Gi1/0/18<br />
Gi1/0/19, Gi1/0/20, Gi1/0/21<br />
Gi1/0/22, Gi1/0/23, Gi1/0/24<br />
Gi1/0/25, Gi1/0/26, Gi1/0/27<br />
Gi1/0/28, Gi1/0/29, Gi1/0/30<br />
Gi1/0/31, Gi1/0/32, Gi1/0/33<br />
Gi1/0/34, Gi1/0/35, Gi1/0/36<br />
Gi1/0/37, Gi1/0/38, Gi1/0/39<br />
Gi1/0/40, Gi1/0/41, Gi1/0/42<br />
Gi1/0/43, Gi1/0/44, Gi1/0/45<br />
Gi1/0/46, Gi1/0/47, Gi1/0/48<br />
Gi1/0/49, Gi1/0/50, Gi1/0/51<br />
Gi1/0/52 <br />
1002 fddi-default act/unsup <br />
1003 trcrf-default act/unsup <br />
1004 fddinet-default act/unsup <br />
1005 trbrf-default act/unsup<br />
</nowiki><br />
<br />
At this point everything is in VLAN1, which is the default configuration. However our goal here is to put ports into a relevant VLAN and turn off VLAN1. First we need to create some VLANs. Go into enable mode and conf t.<br />
<nowiki><br />
switch>en <br />
Password: <br />
switch#conf t<br />
Enter configuration commands, one per line. End with CNTL/Z.<br />
switch(config)#vlan 2<br />
switch(config-vlan)#name dmz<br />
switch(config-vlan)#exit<br />
switch(config)#exit<br />
switch#</nowiki></div>
William
https://palfrepedia.palfreman.com/index.php?title=OpenSSH&diff=627
OpenSSH
2023-04-28T12:34:17Z
<p>William: Protected "OpenSSH" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))</p>
<hr />
<div>I'll expand this to something more comprehensive later but mainly wanted to record something odd that happened to me using [[Gentoo]].<br />
== When PasswordAuthetication=no is ignored ==<br />
Set KeyboardInteractive to no in /etc/ssh/sshd_config<br />
<nowiki><br />
PasswordAuthentication no<br />
KbdInteractiveAuthentication no</nowiki><br />
== Cisco switch options ==<br />
Set these options in $HOME/.ssh/config to be able to ssh onto [[Cisco Switches|Cisco switches]]. Shown where "switch" is the DNS hostname for the switch in question. If you aren't using DNS use an IP address here.<br />
<nowiki><br />
Host switch<br />
KexAlgorithms +diffie-hellman-group1-sha1<br />
HostkeyAlgorithms +ssh-rsa<br />
Ciphers +3des-cbc<br />
ForwardX11 no</nowiki></div>
William
https://palfrepedia.palfreman.com/index.php?title=OpenSSH&diff=626
OpenSSH
2023-04-28T11:59:15Z
<p>William: Move link for neatness</p>
<hr />
<div>I'll expand this to something more comprehensive later but mainly wanted to record something odd that happened to me using [[Gentoo]].<br />
== When PasswordAuthetication=no is ignored ==<br />
Set KeyboardInteractive to no in /etc/ssh/sshd_config<br />
<nowiki><br />
PasswordAuthentication no<br />
KbdInteractiveAuthentication no</nowiki><br />
== Cisco switch options ==<br />
Set these options in $HOME/.ssh/config to be able to ssh onto [[Cisco Switches|Cisco switches]]. Shown where "switch" is the DNS hostname for the switch in question. If you aren't using DNS use an IP address here.<br />
<nowiki><br />
Host switch<br />
KexAlgorithms +diffie-hellman-group1-sha1<br />
HostkeyAlgorithms +ssh-rsa<br />
Ciphers +3des-cbc<br />
ForwardX11 no</nowiki></div>
William
https://palfrepedia.palfreman.com/index.php?title=OpenSSH&diff=625
OpenSSH
2023-04-28T11:55:52Z
<p>William: Added Cisco Switch options and link</p>
<hr />
<div>I'll expand this to something more comprehensive later but mainly wanted to record something odd that happened to me using [[Gentoo]].<br />
== When PasswordAuthetication=no is ignored ==<br />
Set KeyboardInteractive to no<br />
<nowiki><br />
PasswordAuthentication no<br />
KbdInteractiveAuthentication no<br />
</nowiki><br />
== [[Cisco Switches|Cisco Switch]] options ==<br />
Set these options in $HOME/.ssh/config to be able to ssh onto Cisco switches. Shown where "switch" is the DNS hostname for the switch in question. If you aren't using DNS use an IP address here.<br />
<nowiki><br />
Host switch<br />
KexAlgorithms +diffie-hellman-group1-sha1<br />
HostkeyAlgorithms +ssh-rsa<br />
Ciphers +3des-cbc<br />
ForwardX11 no</nowiki></div>
William
https://palfrepedia.palfreman.com/index.php?title=OpenSSH&diff=624
OpenSSH
2023-04-28T09:07:22Z
<p>William: First save minimla details about blocking password auth</p>
<hr />
<div>I'll expand this to something more comprehensive later but mainly wanted to record something odd that happened to me using [[Gentoo]].<br />
== When PasswordAuthetication=no is ignored ==<br />
Set KeyboardInteractive to no<br />
<nowiki><br />
PasswordAuthentication no<br />
KbdInteractiveAuthentication no<br />
</nowiki></div>
William
https://palfrepedia.palfreman.com/index.php?title=Computing&diff=623
Computing
2023-04-28T08:08:36Z
<p>William: /* Cryptography */ fix layout</p>
<hr />
<div>Something new under the sun. We had [[Aristotle|Aristotelian]] logic, and towards the end of the 19th Century boolean logic too, but nobody applied it to electrical circuitry until the 1930s. Once they did it led to an explosion of the logical inner world that is computing, the development of programming languages, operating systems, Internet communication and the replacement of craft after craft with computerised versions.<br />
<br />
==Operating Systems==<br />
* [[MS-DOS]]<br />
* [[UNIX]]<br />
* [[Linux]]<br />
* [[OpenBSD]]<br />
* FreeBSD<br />
* NetBSD<br />
* [[Windows]]<br />
<br />
==Instant Messenger Systems==<br />
* Briar<br />
* Facebook Messenger<br />
* Matrix<br />
* [[Telegram]]<br />
* Session<br />
* [[Signal]]<br />
* Whatsapp<br />
==Games==<br />
[[Commander Keen]]<br />
==Cryptography==<br />
* [[OpenSSL]]<br />
* [[OpenSSH]]<br />
<br />
==Other==<br />
* [[Printers]]<br />
* [[Cisco Switches]]</div>
William
https://palfrepedia.palfreman.com/index.php?title=Computing&diff=622
Computing
2023-04-28T08:08:13Z
<p>William: /* Cryptography */ add openssh</p>
<hr />
<div>Something new under the sun. We had [[Aristotle|Aristotelian]] logic, and towards the end of the 19th Century boolean logic too, but nobody applied it to electrical circuitry until the 1930s. Once they did it led to an explosion of the logical inner world that is computing, the development of programming languages, operating systems, Internet communication and the replacement of craft after craft with computerised versions.<br />
<br />
==Operating Systems==<br />
* [[MS-DOS]]<br />
* [[UNIX]]<br />
* [[Linux]]<br />
* [[OpenBSD]]<br />
* FreeBSD<br />
* NetBSD<br />
* [[Windows]]<br />
<br />
==Instant Messenger Systems==<br />
* Briar<br />
* Facebook Messenger<br />
* Matrix<br />
* [[Telegram]]<br />
* Session<br />
* [[Signal]]<br />
* Whatsapp<br />
==Games==<br />
[[Commander Keen]]<br />
==Cryptography==<br />
[[OpenSSL]]<br />
[[OpenSSH]]<br />
<br />
==Other==<br />
* [[Printers]]<br />
* [[Cisco Switches]]</div>
William
https://palfrepedia.palfreman.com/index.php?title=Cisco_Switches&diff=621
Cisco Switches
2023-04-27T21:12:40Z
<p>William: Proper content added</p>
<hr />
<div>Generally it is better to use Cisco switches as the interface is familier, works better than the web-driven rivals, they are more reliable and familiarity is worth money, unlike any other switch or router (with the exception of Juniper).<br />
<br />
=== Goals ===<br />
Broadly, create the VLAN, add and IP address to VLANs where needed, and move ports into the vlan.<br />
== Fix idle timeout ==<br />
Looking at <i>sh line vty 0</i> around other details I can see the idle timeout is only ten minutes. I like to change it to thirty minutes to give me more thinking time and to make the notes on this page without it logging me out.<br />
<nowiki>switch>sh line vty 0 <br />
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int<br />
* 1 VTY - - - - - 8 0 0/0 -<br />
<br />
Line 1, Location: "", Type: "xterm-256color"<br />
Length: 24 lines, Width: 80 columns<br />
Baud rate (TX/RX) is 9600/9600<br />
Status: PSI Enabled, Ready, Active, No Exit Banner, Ctrl-c Enabled<br />
Automore On, Notify Process<br />
Capabilities: none<br />
Modem state: Ready<br />
Special Chars: Escape Hold Stop Start Disconnect Activation<br />
^^x none - - none <br />
Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch<br />
00:10:00 never none not set</nowiki><br />
This is how I change it to thirty minutes<br />
<nowiki><br />
switch>en<br />
Password: <br />
switch#conf t <br />
Enter configuration commands, one per line. End with CNTL/Z.<br />
switch(config)#line vty 0 15 <br />
switch(config-line)#exec-timeout 30 0<br />
switch(config-line)#exit<br />
switch(config)#exit<br />
switch#disa<br />
switch></nowiki><br />
Now the timeout is thirty minutes. <br />
<nowiki><br />
switch>sh line vty 0<br />
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int<br />
* 1 VTY - - - - - 8 0 0/0 -<br />
<br />
Line 1, Location: "", Type: "xterm-256color"<br />
Length: 24 lines, Width: 80 columns<br />
Baud rate (TX/RX) is 9600/9600<br />
Status: PSI Enabled, Ready, Active, No Exit Banner, Ctrl-c Enabled<br />
Automore On, Notify Process<br />
Capabilities: none<br />
Modem state: Ready<br />
Special Chars: Escape Hold Stop Start Disconnect Activation<br />
^^x none - - none <br />
Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch<br />
00:30:00 never none not set<br />
</nowiki><br />
<br />
== Create VLANs ==<br />
Looking at the vlan setup doesn't require enable but changing it does.<br />
<nowiki><br />
switch>sh vlan<br />
<br />
VLAN Name Status Ports<br />
---- -------------------------------- --------- -------------------------------<br />
1 default active Gi1/0/1, Gi1/0/2, Gi1/0/3<br />
Gi1/0/4, Gi1/0/5, Gi1/0/6<br />
Gi1/0/7, Gi1/0/8, Gi1/0/9<br />
Gi1/0/10, Gi1/0/11, Gi1/0/12<br />
Gi1/0/13, Gi1/0/14, Gi1/0/15<br />
Gi1/0/16, Gi1/0/17, Gi1/0/18<br />
Gi1/0/19, Gi1/0/20, Gi1/0/21<br />
Gi1/0/22, Gi1/0/23, Gi1/0/24<br />
Gi1/0/25, Gi1/0/26, Gi1/0/27<br />
Gi1/0/28, Gi1/0/29, Gi1/0/30<br />
Gi1/0/31, Gi1/0/32, Gi1/0/33<br />
Gi1/0/34, Gi1/0/35, Gi1/0/36<br />
Gi1/0/37, Gi1/0/38, Gi1/0/39<br />
Gi1/0/40, Gi1/0/41, Gi1/0/42<br />
Gi1/0/43, Gi1/0/44, Gi1/0/45<br />
Gi1/0/46, Gi1/0/47, Gi1/0/48<br />
Gi1/0/49, Gi1/0/50, Gi1/0/51<br />
Gi1/0/52 <br />
1002 fddi-default act/unsup <br />
1003 trcrf-default act/unsup <br />
1004 fddinet-default act/unsup <br />
1005 trbrf-default act/unsup<br />
</nowiki><br />
<br />
At this point everything is in VLAN1, which is the default configuration. However our goal here is to put ports into a relevant VLAN and turn off VLAN1. First we need to create some VLANs. Go into enable mode and conf t.<br />
<nowiki><br />
switch>en <br />
Password: <br />
switch#conf t<br />
Enter configuration commands, one per line. End with CNTL/Z.<br />
switch(config)#vlan 2<br />
switch(config-vlan)#name dmz<br />
switch(config-vlan)#exit<br />
switch(config)#exit<br />
switch#</nowiki></div>
William
https://palfrepedia.palfreman.com/index.php?title=Cisco_Switches&diff=620
Cisco Switches
2023-04-19T21:20:45Z
<p>William: First save</p>
<hr />
<div>Generally it is better to use Cisco switches as the interface is familier, works better than the web-driven rivals, they are more reliable and familiarity is worth money, unlike any other switch or router (with the exception of Juniper).</div>
William
https://palfrepedia.palfreman.com/index.php?title=Computing&diff=619
Computing
2023-04-19T20:23:20Z
<p>William: /* Other */</p>
<hr />
<div>Something new under the sun. We had [[Aristotle|Aristotelian]] logic, and towards the end of the 19th Century boolean logic too, but nobody applied it to electrical circuitry until the 1930s. Once they did it led to an explosion of the logical inner world that is computing, the development of programming languages, operating systems, Internet communication and the replacement of craft after craft with computerised versions.<br />
<br />
==Operating Systems==<br />
* [[MS-DOS]]<br />
* [[UNIX]]<br />
* [[Linux]]<br />
* [[OpenBSD]]<br />
* FreeBSD<br />
* NetBSD<br />
* [[Windows]]<br />
<br />
==Instant Messenger Systems==<br />
* Briar<br />
* Facebook Messenger<br />
* Matrix<br />
* [[Telegram]]<br />
* Session<br />
* [[Signal]]<br />
* Whatsapp<br />
==Games==<br />
[[Commander Keen]]<br />
==Cryptography==<br />
[[OpenSSL]]<br />
==Other==<br />
* [[Printers]]<br />
* [[Cisco Switches]]</div>
William
https://palfrepedia.palfreman.com/index.php?title=Computing&diff=618
Computing
2023-04-19T20:22:48Z
<p>William: /* Other */</p>
<hr />
<div>Something new under the sun. We had [[Aristotle|Aristotelian]] logic, and towards the end of the 19th Century boolean logic too, but nobody applied it to electrical circuitry until the 1930s. Once they did it led to an explosion of the logical inner world that is computing, the development of programming languages, operating systems, Internet communication and the replacement of craft after craft with computerised versions.<br />
<br />
==Operating Systems==<br />
* [[MS-DOS]]<br />
* [[UNIX]]<br />
* [[Linux]]<br />
* [[OpenBSD]]<br />
* FreeBSD<br />
* NetBSD<br />
* [[Windows]]<br />
<br />
==Instant Messenger Systems==<br />
* Briar<br />
* Facebook Messenger<br />
* Matrix<br />
* [[Telegram]]<br />
* Session<br />
* [[Signal]]<br />
* Whatsapp<br />
==Games==<br />
[[Commander Keen]]<br />
==Cryptography==<br />
[[OpenSSL]]<br />
==Other==<br />
[[Printers]]<br />
[[Cisco Switches]]</div>
William
https://palfrepedia.palfreman.com/index.php?title=David_Icke&diff=617
David Icke
2023-04-19T19:17:11Z
<p>William: </p>
<hr />
<div>David Icke ws originally a professional footballer. Due to an arthritic injury he left and became a television sports presenter. <br />
[[File:David-icke.jpeg|200px|thumb|right]]<br />
During a trip to South America in the early 1990s he experienced a major religious revelation while under the influence of a popular local hallucinogen. As a result of this he came home a changed man and soon appeared on the Terry Wogan show to talk about this experience, where he claimed to be the son of God, or at least a son of God. This led to Terry Wogan mocking him and ruined his TV sports career.<br />
<br />
Since then he has earned his living producing and selling books regarding the ideas revealed to him and that he has developed since. <br />
== Early Life ==<br />
Must have had one but nothing of note really until the famous Terry Wogan [https://youtu.be/HAbI_1ySbCY interview], after which he was a household name outside sports.</div>
William
https://palfrepedia.palfreman.com/index.php?title=David_Icke&diff=616
David Icke
2023-04-19T19:14:34Z
<p>William: David Icke first save</p>
<hr />
<div>David Icke ws originally a professional footballer. Due to an arthritic injury he left and became a television sports presenter. <br />
[[File:File.png|200px|thumb|left|alt text]]<br />
During a trip to South America in the early 1990s he experienced a major religious revelation while under the influence of a popular local hallucinogen. As a result of this he came home a changed man and soon appeared on the Terry Wogan show to talk about this experience, where he claimed to be the son of God, or at least a son of God. This led to Terry Wogan mocking him and ruined his TV sports career.<br />
<br />
Since then he has earned his living producing and selling books regarding the ideas revealed to him and that he has developed since. <br />
== Early Life ==<br />
Must have had one but nothing of note really until the famous Terry Wogan [https://youtu.be/HAbI_1ySbCY interview], after which he was a household name outside sports.</div>
William
https://palfrepedia.palfreman.com/index.php?title=File:David-icke.jpeg&diff=615
File:David-icke.jpeg
2023-04-19T18:04:16Z
<p>William: Picture of David Icke</p>
<hr />
<div>== Summary ==<br />
Picture of David Icke</div>
William
https://palfrepedia.palfreman.com/index.php?title=Jupiter_Ascending&diff=614
Jupiter Ascending
2023-04-19T18:01:26Z
<p>William: Linkify David Icke</p>
<hr />
<div>It is remarkable that this film ever got produced. It is essentially a film about every claim [[David Icke]] has ever made. Except while he could never so much as get his books published let alone sold in a normal shop, this got made into a Hollywood major motion picture with an all-star cast.<br />
<br />
Must have slipped through the net somehow.</div>
William
https://palfrepedia.palfreman.com/index.php?title=France&diff=613
France
2023-04-19T17:58:47Z
<p>William: </p>
<hr />
<div>Country south of England and west of Germany. Best wine.</div>
William
https://palfrepedia.palfreman.com/index.php?title=Windows&diff=609
Windows
2023-01-08T19:35:46Z
<p>William: Fixing pointer to OS page</p>
<hr />
<div>Irritating unfree [[OS|operating system]]. Good for acceptance testing a new computer before you wipe it and put on [[Linux]].</div>
William
https://palfrepedia.palfreman.com/index.php?title=OS&diff=608
OS
2023-01-08T19:34:30Z
<p>William: Creating OS</p>
<hr />
<div>What makes a computer go. In theory you don't need one and programs could start at the first sector of the hard disk. But people rarely do that. Also sometimes real enthusiasts write their own. Linus Torvalds, famously, producing [[Linux]]. But any halfway decent programmer with the time can as [[Terry A Davis]] did famously with [[TempleOS]].<br />
<br />
But most people want things to just work. So they use an operating system.</div>
William
https://palfrepedia.palfreman.com/index.php?title=Computing&diff=607
Computing
2023-01-08T19:28:29Z
<p>William: Added planned link to Windows page</p>
<hr />
<div>Something new under the sun. We had [[Aristotle|Aristotelian]] logic, and towards the end of the 19th Century boolean logic too, but nobody applied it to electrical circuitry until the 1930s. Once they did it led to an explosion of the logical inner world that is computing, the development of programming languages, operating systems, Internet communication and the replacement of craft after craft with computerised versions.<br />
<br />
==Operating Systems==<br />
* [[MS-DOS]]<br />
* [[UNIX]]<br />
* [[Linux]]<br />
* [[OpenBSD]]<br />
* FreeBSD<br />
* NetBSD<br />
* [[Windows]]<br />
<br />
==Instant Messenger Systems==<br />
* Briar<br />
* Facebook Messenger<br />
* Matrix<br />
* [[Telegram]]<br />
* Session<br />
* [[Signal]]<br />
* Whatsapp<br />
==Games==<br />
[[Commander Keen]]<br />
==Cryptography==<br />
[[OpenSSL]]<br />
==Other==<br />
[[Printers]]</div>
William