<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://palfrepedia.palfreman.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=William</id>
	<title>Palfrepedia - User contributions [en-gb]</title>
	<link rel="self" type="application/atom+xml" href="https://palfrepedia.palfreman.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=William"/>
	<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php/Special:Contributions/William"/>
	<updated>2026-09-18T12:15:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Double_Tree&amp;diff=717</id>
		<title>Double Tree</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Double_Tree&amp;diff=717"/>
		<updated>2025-06-09T22:21:36Z</updated>

		<summary type="html">&lt;p&gt;William: plural&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An electrical-meteorological phenomenon inferred to be sometimes visible and seen in antiquity. Likely relative of the beanstalk from [[Jack and the Beanstalk]] and the various [[World Tree]]s of legend. A naturally occurring form of the [https://en.wikipedia.org/wiki/Twisted_pair twisted pair] used in data networking and with any electrical work. A two-way electrical plasma rising from the ground that twists around itself towards the [https://en.wikipedia.org/wiki/Van_Allen_radiation_belt Van Allen Belt] where it discharges, either with doughnut-shaped torus - giving the [https://en.wikipedia.org/wiki/Owl_of_Athena owl-eyes of Athena] as seen from the ground - or in a filamentary manner seen with the world-tree.&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
An electrical whirlwind visibly twisting and glowing. The top may also fan out in filaments, for example in the world-tree. A form of static lightning.&lt;br /&gt;
=== Low-quality artist impression ===&lt;br /&gt;
[[File:Double-tree.jpeg||300px]]&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Double_Tree&amp;diff=716</id>
		<title>Double Tree</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Double_Tree&amp;diff=716"/>
		<updated>2025-06-09T21:05:33Z</updated>

		<summary type="html">&lt;p&gt;William: Owl-eyed Athena reference&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An electrical-meteorological phenomenon inferred to be sometimes visible and seen in antiquity. Likely relative of the beanstalk from [[Jack and the Beanstalk]] and the various [[World Tree]]s of legend. A naturally occurring form of the [https://en.wikipedia.org/wiki/Twisted_pair twisted pair] used in data networking and with any electrical work. A two-way electrical plasma rising from the ground that twists around itself towards the [https://en.wikipedia.org/wiki/Van_Allen_radiation_belt Van Allen Belt] where it discharges, either with doughnut-shaped torus - giving the [https://en.wikipedia.org/wiki/Owl_of_Athena owl-eyes of Athena] as seen from the ground - or in a filamentary manner seen with the world-tree.&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
An electrical whirlwind visibly twisting and glowing. The top may also fan out in filaments, for example in the world-tree. A form of static lightning.&lt;br /&gt;
=== Low-quality artists impression ===&lt;br /&gt;
[[File:Double-tree.jpeg||300px]]&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Double_Tree&amp;diff=715</id>
		<title>Double Tree</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Double_Tree&amp;diff=715"/>
		<updated>2025-06-09T21:00:50Z</updated>

		<summary type="html">&lt;p&gt;William: Spelling&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An electrical-meteorological phenomenon inferred to be sometimes visible and seen in antiquity. Likely relative of the beanstalk from [[Jack and the Beanstalk]] and the various [[World Tree]]s of legend. A naturally occurring form of the [https://en.wikipedia.org/wiki/Twisted_pair twisted pair] used in data networking and with any electrical work. A two-way electrical plasma rising from the ground that twists around itself towards the [https://en.wikipedia.org/wiki/Van_Allen_radiation_belt Van Allen Belt] where it discharges, either with doughnut-shaped torus - giving [[own eyes|owl-eyes]] as seen from the ground - or in a filamentary manner seen with the world-tree.&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
An electrical whirlwind visibly twisting and glowing. The top may also fan out in filaments, for example in the world-tree. A form of static lightning.&lt;br /&gt;
=== Low-quality artists impression ===&lt;br /&gt;
[[File:Double-tree.jpeg||300px]]&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Double_Tree&amp;diff=714</id>
		<title>Double Tree</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Double_Tree&amp;diff=714"/>
		<updated>2025-06-09T20:59:12Z</updated>

		<summary type="html">&lt;p&gt;William: Add image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An electrical-meteorological phenomenon inferred to be sometimes visible and seen in antiquity. Likely relative of the beanstalk from [[Jack and the Beanstalk]] and the various [[World Tree]]s of legend. A naturally occurring form of the [https://en.wikipedia.org/wiki/Twisted_pair twisted pair] used in data networking and with any electrical work. A two-way electrical plasma link rising form the ground that twists around itself towards the [https://en.wikipedia.org/wiki/Van_Allen_radiation_belt Van Allen Belt] where it discharges, either with doughnut-shaped torus - giving [[own eyes|owl-eyes]] as seen from the ground - or in a filamentary manner seen with the world-tree.&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
An electrical whirlwind visibly twisting and glowing. The top may also fan out in filaments, for example in the world-tree. A form of static lightning.&lt;br /&gt;
=== Low-quality artists impression ===&lt;br /&gt;
[[File:Double-tree.jpeg||300px]]&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=File:Double-tree.jpeg&amp;diff=713</id>
		<title>File:Double-tree.jpeg</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=File:Double-tree.jpeg&amp;diff=713"/>
		<updated>2025-06-09T20:48:50Z</updated>

		<summary type="html">&lt;p&gt;William: Hastily drawn representation of a two-way electrical plasma. That is, a twisted pair occurring naturally to discharge atmospheric electricity.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Hastily drawn representation of a two-way electrical plasma. That is, a twisted pair occurring naturally to discharge atmospheric electricity.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Folklore&amp;diff=712</id>
		<title>Folklore</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Folklore&amp;diff=712"/>
		<updated>2025-06-09T16:18:26Z</updated>

		<summary type="html">&lt;p&gt;William: Add explanation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Bits of ancient wisdom and history that have come down to the present day as stories that describe something about ancient times, ideally with explanations for what might cause such phenomena and lead to it being remembered.&lt;br /&gt;
* The [[Double Tree]]&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Double_Tree&amp;diff=711</id>
		<title>Double Tree</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Double_Tree&amp;diff=711"/>
		<updated>2025-06-09T16:13:14Z</updated>

		<summary type="html">&lt;p&gt;William: Double Tree page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An electrical-meteorological phenomenon inferred to be sometimes visible and seen in antiquity. Likely relative of the beanstalk from [[Jack and the Beanstalk]] and the various [[World Tree]]s of legend. A naturally occurring form of the [https://en.wikipedia.org/wiki/Twisted_pair twisted pair] used in data networking and with any electrical work. A two-way electrical plasma link rising form the ground that twists around itself towards the [https://en.wikipedia.org/wiki/Van_Allen_radiation_belt Van Allen Belt] where it discharges, either with doughnut-shaped torus - giving [[own eyes|owl-eyes]] as seen from the ground - or in a filamentary manner seen with the world-tree.&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
An electrical whirlwind visibly twisting and glowing. The top may also fan out in filaments, for example in the world-tree. A form of static lightning.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Folklore&amp;diff=710</id>
		<title>Folklore</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Folklore&amp;diff=710"/>
		<updated>2025-06-09T15:51:57Z</updated>

		<summary type="html">&lt;p&gt;William: Reformat&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Bits of ancient wisdom and history that have come down to the present day as stories that describe something about ancient times.&lt;br /&gt;
* The [[Double Tree]]&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Folklore&amp;diff=709</id>
		<title>Folklore</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Folklore&amp;diff=709"/>
		<updated>2025-06-09T15:51:20Z</updated>

		<summary type="html">&lt;p&gt;William: What is folklore? The Double Tree.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Bits of ancient wisdom and history that have come down to the present day as stories that describe something about ancient times.&lt;br /&gt;
The [[Double Tree]]&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Main_Page&amp;diff=708</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Main_Page&amp;diff=708"/>
		<updated>2025-06-09T15:49:29Z</updated>

		<summary type="html">&lt;p&gt;William: Add folklore section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Palfrepedia&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Better than Wikipedia. Fewer lies. More [[Commander Keen|Keen]].&lt;br /&gt;
&lt;br /&gt;
* [[Architecture]]&lt;br /&gt;
* [[Animals]]&lt;br /&gt;
* [[Books]]&lt;br /&gt;
* [[Classical Languages]]&lt;br /&gt;
* [[Colours]]&lt;br /&gt;
* [[Computing]], see for [[Commander Keen]].&lt;br /&gt;
* [[Countries]]&lt;br /&gt;
* [[Films]]&lt;br /&gt;
* [[Folklore]]&lt;br /&gt;
* [[:Category:Kings of England|Kings of]] [[England]]&lt;br /&gt;
* [[Lipstick]]&lt;br /&gt;
* [[Medicine]]&lt;br /&gt;
* [[Music]]&lt;br /&gt;
* [[Nail Polish]]&lt;br /&gt;
* [[:Category:Philosophy|Philosophy]]&lt;br /&gt;
* [[Religion]]&lt;br /&gt;
* [[Teachers]]&lt;br /&gt;
* [[Users]] of this website, their pages.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Patrington_Church&amp;diff=707</id>
		<title>Patrington Church</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Patrington_Church&amp;diff=707"/>
		<updated>2025-04-30T16:48:59Z</updated>

		<summary type="html">&lt;p&gt;William: Add Patrington Church page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;St Patrick's Church, Patrington, in the East Riding of Yorkshire about ten miles beyond Hull. Said by [[Pevsner]] to be a great example of [[13th Century]] [[architecture]] but stronly resembles late 19th Century church design and has no obvious link to 13th Century. More details to follow.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Churches&amp;diff=706</id>
		<title>Churches</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Churches&amp;diff=706"/>
		<updated>2025-04-30T16:46:29Z</updated>

		<summary type="html">&lt;p&gt;William: Add Patrington church section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Information about specific church designs of architectural interest, and likely dating.&lt;br /&gt;
* [[Patrington Church|St Patrick's, Patrington]], Yorkshire.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Architecture&amp;diff=705</id>
		<title>Architecture</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Architecture&amp;diff=705"/>
		<updated>2025-04-30T16:43:37Z</updated>

		<summary type="html">&lt;p&gt;William: Add architecture page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Interesting architecture, typically the old sort. Not modern architecture.&lt;br /&gt;
* [[Churches]]&lt;br /&gt;
* [[Castles]]&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Main_Page&amp;diff=704</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Main_Page&amp;diff=704"/>
		<updated>2025-04-30T16:41:52Z</updated>

		<summary type="html">&lt;p&gt;William: Add architecture section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Palfrepedia&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Better than Wikipedia. Fewer lies. More [[Commander Keen|Keen]].&lt;br /&gt;
&lt;br /&gt;
* [[Architecture]]&lt;br /&gt;
* [[Animals]]&lt;br /&gt;
* [[Books]]&lt;br /&gt;
* [[Classical Languages]]&lt;br /&gt;
* [[Colours]]&lt;br /&gt;
* [[Computing]], see for [[Commander Keen]].&lt;br /&gt;
* [[Countries]]&lt;br /&gt;
* [[Films]]&lt;br /&gt;
* [[:Category:Kings of England|Kings of]] [[England]]&lt;br /&gt;
* [[Lipstick]]&lt;br /&gt;
* [[Medicine]]&lt;br /&gt;
* [[Music]]&lt;br /&gt;
* [[Nail Polish]]&lt;br /&gt;
* [[:Category:Philosophy|Philosophy]]&lt;br /&gt;
* [[Religion]]&lt;br /&gt;
* [[Teachers]]&lt;br /&gt;
* [[Users]] of this website, their pages.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=OpenSSL&amp;diff=703</id>
		<title>OpenSSL</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=OpenSSL&amp;diff=703"/>
		<updated>2025-02-11T15:14:28Z</updated>

		<summary type="html">&lt;p&gt;William: Add CASetserial for real-world use&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://www.openssl.org/ OpenSSL]is the widely used encryption layer in [[UNIX]] operating systems. The most common day to day use is providing transport layer security to websites, such as this one and indicated by the use of https in the URL.&lt;br /&gt;
&lt;br /&gt;
Points to be covered in this document&lt;br /&gt;
&lt;br /&gt;
* Generating a private key&lt;br /&gt;
* Generating a Certificate Signing Request&lt;br /&gt;
* Fitting an SSL key&lt;br /&gt;
* Verification&lt;br /&gt;
* Starting a Certificate Authority.&lt;br /&gt;
&lt;br /&gt;
Will be fleshed out as time allows.&lt;br /&gt;
&lt;br /&gt;
== Creating and using S/MIME ==&lt;br /&gt;
This is how to create a self-signed S/MIME certificate, used for email encryption and decryption in an email client.&lt;br /&gt;
&lt;br /&gt;
First, generate your new key for the sender:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ openssl genrsa -out smime.key 2048&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then create a [[Certificate Signing Request]]:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ openssl req -new -key smime.key -out smime.csr&lt;br /&gt;
You are about to be asked to enter information that will be incorporated&lt;br /&gt;
into your certificate request.&lt;br /&gt;
What you are about to enter is what is called a Distinguished Name or a DN.&lt;br /&gt;
There are quite a few fields but you can leave some blank&lt;br /&gt;
For some fields there will be a default value,&lt;br /&gt;
If you enter '.', the field will be left blank.&lt;br /&gt;
-----&lt;br /&gt;
Country Name (2 letter code) [AU]:GB&lt;br /&gt;
State or Province Name (full name) [Some-State]:Leeds&lt;br /&gt;
Locality Name (eg, city) []:Leeds&lt;br /&gt;
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Palfreman Trading Ltd&lt;br /&gt;
Organizational Unit Name (eg, section) []:&lt;br /&gt;
Common Name (e.g. server FQDN or YOUR name) []:William Palfreman&lt;br /&gt;
Email Address []:william@palfreman.com&lt;br /&gt;
&lt;br /&gt;
Please enter the following 'extra' attributes&lt;br /&gt;
to be sent with your certificate request&lt;br /&gt;
A challenge password []:&lt;br /&gt;
An optional company name []:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then sign the [[Certificate Signing Request|CSR]] using your own [[Certificate Authority]].&lt;br /&gt;
&amp;lt;pre&amp;gt;$ openssl x509 -req -days 730 -in csr/smime.csr -CA certs/intermediate.crt -CAkey private/intermediate.key -set_serial 1 -out ../smime/smime.crt&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then the receiver needs to create a key and a certificate signing request. This is their server.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ openssl genrsa -out sender-smime.key 2048&lt;br /&gt;
Generating RSA private key, 2048 bit long modulus (2 primes)&lt;br /&gt;
........................................................................................+++++&lt;br /&gt;
........+++++&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then create the Certificate Request using the new key&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ openssl req -new -key sender-smime.key -out sender-smime.csr&lt;br /&gt;
You are about to be asked to enter information that will be incorporated&lt;br /&gt;
into your certificate request.&lt;br /&gt;
What you are about to enter is what is called a Distinguished Name or a DN.&lt;br /&gt;
There are quite a few fields but you can leave some blank&lt;br /&gt;
For some fields there will be a default value,&lt;br /&gt;
If you enter '.', the field will be left blank.&lt;br /&gt;
-----&lt;br /&gt;
Country Name (2 letter code) [AU]:GB&lt;br /&gt;
State or Province Name (full name) [Some-State]:London&lt;br /&gt;
Locality Name (eg, city) []:LONDON&lt;br /&gt;
Organization Name (eg, company) [Internet Widgits Pty Ltd]:University of Grantchester&lt;br /&gt;
Organizational Unit Name (eg, section) []:Grantchester HostCo&lt;br /&gt;
Common Name (e.g. server FQDN or YOUR name) []:William Palfreman&lt;br /&gt;
Email Address []:william.palfreman@grantchester.ac.uk&lt;br /&gt;
&lt;br /&gt;
Please enter the following 'extra' attributes&lt;br /&gt;
to be sent with your certificate request&lt;br /&gt;
A challenge password []:&lt;br /&gt;
An optional company name []:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The creates a certificate request (CSR) which isn't confidential but I won't list here. Take that CSR to your Certificate Authority (CA) and issue the certificate&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ openssl x509 -req -days 365 -in csr/grant.csr -CA certs/intermediate.crt -CAkey private/intermediate.key -out grant.crt&lt;br /&gt;
Certificate request self-signature ok&lt;br /&gt;
subject=C = GB, ST = London, L = LONDON, O = University of Granchester, OU = HostCo, CN = William Palfreman, emailAddress = william.palfreman@grantchester.ac.uk&lt;br /&gt;
Enter pass phrase for private/intermediate.key:&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then pass the receiver sender certificate back to the sending server.&lt;br /&gt;
&lt;br /&gt;
[Next, details about the openssl pipeline to sign and encrypt the smime attachment.]&lt;br /&gt;
== Keys and CSRs for websites ==&lt;br /&gt;
=== Create Key ===&lt;br /&gt;
Create the new RSA key. This should be done for each new certificate and should remain on the server it is intended for.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ openssl genrsa -out www.mydomain.com.key 2048&lt;br /&gt;
$ chmod 400 www.mydomain.com.key&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Create CSR ===&lt;br /&gt;
# Make a local copy of openssl.cnf&lt;br /&gt;
# Uncomment the line about v3_extensions&amp;lt;pre&amp;gt;req_extensions = v3_req&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Add a subjectAltName under basicConstraints and keyUsage in &amp;lt;i&amp;gt;[ v3_req ]&amp;lt;/i&amp;gt; section.&lt;br /&gt;
    &amp;lt;pre&amp;gt;[ v3_req ]&lt;br /&gt;
basicConstraints = CA:FALSE&lt;br /&gt;
keyUsage = nonRepudiation, digitalSignature, keyEncipherment&lt;br /&gt;
subjectAltName = DNS:www.mydomain.com,DNS:mydomain.com,DNS:other.mydomain.com&amp;lt;/pre&amp;gt;&lt;br /&gt;
There is some debate whether wildcard domains can be SANs. I think they can.&amp;lt;p&amp;gt;&lt;br /&gt;
Now create the CSR for the website.&amp;lt;pre&amp;gt;$ openssl req -new -key www.mydomain.com.key -sha256 -config openssl.cnf -subj '/C=GB/ST=Yorkshire/L=Leeds/O=Company Name/OU=Company IT Dept/CN=www.mydomain.com' &amp;gt; www.mydomain.com.csr&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The file &amp;lt;i&amp;gt;www.mydomain.com.csr&amp;lt;/i&amp;gt; can be provided to the certificate authority for signing.&lt;br /&gt;
=== Signing Cert with own CA ===&lt;br /&gt;
This assumes you have your own certificate authority as many people do for internal use. In this example the above CSR has been sent to you to sign.&lt;br /&gt;
# Create this file in the directory where the CSR is&lt;br /&gt;
&amp;lt;pre&amp;gt;cat mydomain-extensions.cnf&lt;br /&gt;
&lt;br /&gt;
[ v3_req ]&lt;br /&gt;
&lt;br /&gt;
# Extensions to add to a certificate request&lt;br /&gt;
&lt;br /&gt;
basicConstraints = CA:FALSE&lt;br /&gt;
keyUsage = nonRepudiation, digitalSignature, keyEncipherment&lt;br /&gt;
subjectAltName = DNS:www.mydomain.com,DNS:mydomain.com,DNS:other.mydomain.com&lt;br /&gt;
&lt;br /&gt;
[ ca_extensions ]&lt;br /&gt;
&lt;br /&gt;
subjectKeyIdentifier   = hash&lt;br /&gt;
authorityKeyIdentifier = keyid:always, issuer&lt;br /&gt;
basicConstraints       = critical, CA:true&lt;br /&gt;
keyUsage               = keyCertSign, cRLSign&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Sign the CSR to make the certificate&lt;br /&gt;
&amp;lt;pre&amp;gt;intermediate$ openssl x509 -req -days 1830 -in csr/www.mydomain.com.csr -CA certs/intermediate.crt -CAkey private/intermediate.key -extensions v3_req -extfile extensions.cnf -set_serial 1 -out mydomain.com/www.mydomain.com.crt&lt;br /&gt;
Certificate request self-signature ok&lt;br /&gt;
subject=C = GB, ST = Yorkshire, L = Leeds, O = Company Name, CN = www.mydomain.com&lt;br /&gt;
Enter pass phrase for private/intermediate.key:&amp;lt;/pre&amp;gt;&lt;br /&gt;
For later certificates use the -CAcreateserial switch instead to increment the serial number:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ openssl x509 -req -days 397 -in csr/www.mydomain.com.csr -CA certs/intermediate.crt -CAkey private/intermediate.key -extensions v3_req -extfile extensions.cnf -CAcreateserial -out newcerts/www.mydomain.com.crt&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now you have created the certificate, check all the details are correct:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ openssl x509 -text -noout -in www.mydomain.com.crt &lt;br /&gt;
Certificate:&lt;br /&gt;
    Data:&lt;br /&gt;
        Version: 3 (0x2)&lt;br /&gt;
        Serial Number: 1 (0x1)&lt;br /&gt;
        Signature Algorithm: sha256WithRSAEncryption&lt;br /&gt;
        Issuer: C = GB, ST = England, O = My Company, OU = My Company Certificate Authority, CN = My Company Intermediate CA&lt;br /&gt;
        Validity&lt;br /&gt;
            Not Before: Aug  7 18:57:24 2024 GMT&lt;br /&gt;
            Not After : Aug 11 18:57:24 2029 GMT&lt;br /&gt;
        Subject: C = GB, ST = Yorkshire, L = Leeds, O = My Company Name, CN = www.mydomain.com&lt;br /&gt;
        Subject Public Key Info:&lt;br /&gt;
            Public Key Algorithm: rsaEncryption&lt;br /&gt;
                Public-Key: (4096 bit)&lt;br /&gt;
                Modulus:&amp;lt;snipped&amp;gt;&lt;br /&gt;
                Exponent: 65537 (0x10001)&lt;br /&gt;
        X509v3 extensions:&lt;br /&gt;
            X509v3 Basic Constraints: &lt;br /&gt;
                CA:FALSE&lt;br /&gt;
            X509v3 Key Usage: &lt;br /&gt;
                Digital Signature, Non Repudiation, Key Encipherment&lt;br /&gt;
            X509v3 Subject Alternative Name: &lt;br /&gt;
                DNS:mydomain.com, DNS:www.mydomain.com&lt;br /&gt;
            X509v3 Subject Key Identifier: &lt;br /&gt;
                &amp;lt;snipped&amp;gt;&lt;br /&gt;
            X509v3 Authority Key Identifier: &lt;br /&gt;
                &amp;lt;snipped&amp;gt;&lt;br /&gt;
    Signature Algorithm: sha256WithRSAEncryption&lt;br /&gt;
    Signature Value:&amp;lt;snipped&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Moduli ===&lt;br /&gt;
You must check the moduli line up on the server. Each file, the RSA, the CSR and the certificate should have the same modulus. You can append you ca-chain.pem to the certificate file. OpenSSL will only look at the first.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ sudo openssl rsa -modulus -noout -in private/www.mydomain.com.key | openssl md5&lt;br /&gt;
(stdin)= 5e7b29b4369f6f7a7f79e1d78c5dd672&lt;br /&gt;
$ openssl x509 -modulus -noout -in www.mydomain.com.crt | openssl md5&lt;br /&gt;
(stdin)= 5e7b29b4369f6f7a7f79e1d78c5dd672&lt;br /&gt;
$ openssl req -modulus -noout -in www.mydomain.com.csr | openssl md5&lt;br /&gt;
(stdin)= 5e7b29b4369f6f7a7f79e1d78c5dd672&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then the certificate can be fitted to the webserver.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Writing random seed with writerand ==&lt;br /&gt;
Sometimes openssl lacks a random seed and fails. You can easily create a file for this.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ openssl rand -writerand $HOME/.rnd&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Music&amp;diff=698</id>
		<title>Music</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Music&amp;diff=698"/>
		<updated>2024-09-08T20:27:12Z</updated>

		<summary type="html">&lt;p&gt;William: Created music page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Music on one of the least understood of human activities. It is not easy to say outright what its purpose is, yet we do it and enjoy it to such an extend that people find within music often the whole meaning of their life.&lt;br /&gt;
= Categories of music =&lt;br /&gt;
Not all music fits neatly into one category and often crosses several, but here is an attempt.&lt;br /&gt;
== Religious music ==&lt;br /&gt;
* [[Hymns]]&lt;br /&gt;
* Sung masses&lt;br /&gt;
== Classical music ==&lt;br /&gt;
* European polyphony&lt;br /&gt;
== Popular music ==&lt;br /&gt;
* [[Folk|Folk music]] or traditional music&lt;br /&gt;
* Traditional sung popular music, like [[Music Hall]]&lt;br /&gt;
* [[Pre-recorded popular music]], &amp;quot;pop&amp;quot;&lt;br /&gt;
* Modern music, essentially pseudo-classical of the modern era without fulfilling the requirement of being of the best.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Main_Page&amp;diff=697</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Main_Page&amp;diff=697"/>
		<updated>2024-09-08T20:10:14Z</updated>

		<summary type="html">&lt;p&gt;William: Created Music page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Palfrepedia&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Better than Wikipedia. Fewer lies. More [[Commander Keen|Keen]].&lt;br /&gt;
&lt;br /&gt;
* [[Animals]]&lt;br /&gt;
* [[Books]]&lt;br /&gt;
* [[Classical Languages]]&lt;br /&gt;
* [[Colours]]&lt;br /&gt;
* [[Computing]], see for [[Commander Keen]].&lt;br /&gt;
* [[Countries]]&lt;br /&gt;
* [[Films]]&lt;br /&gt;
* [[:Category:Kings of England|Kings of]] [[England]]&lt;br /&gt;
* [[Lipstick]]&lt;br /&gt;
* [[Medicine]]&lt;br /&gt;
* [[Music]]&lt;br /&gt;
* [[Nail Polish]]&lt;br /&gt;
* [[:Category:Philosophy|Philosophy]]&lt;br /&gt;
* [[Religion]]&lt;br /&gt;
* [[Teachers]]&lt;br /&gt;
* [[Users]] of this website, their pages.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Religion&amp;diff=696</id>
		<title>Religion</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Religion&amp;diff=696"/>
		<updated>2024-09-08T20:07:55Z</updated>

		<summary type="html">&lt;p&gt;William: Delinking some pages that don't exist.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The six most common Religions consist of a god, and punishment after death if bad, reward if good. Here they are: &lt;br /&gt;
* [[Christianity]]&lt;br /&gt;
* [[Judaism]]&lt;br /&gt;
* [[Islam]]&lt;br /&gt;
* Buddhism&lt;br /&gt;
* Sikhism&lt;br /&gt;
* Hinduism&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Islam&amp;diff=695</id>
		<title>Islam</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Islam&amp;diff=695"/>
		<updated>2024-09-08T20:05:52Z</updated>

		<summary type="html">&lt;p&gt;William: Creation of page on Islam&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Islam the religion, Muslims the people. Their principle prophet is Muhammad, who is explicitly not recognised in Christianity. Differs also from Christianity in that there is no Trinity and Jesus is considered a prophet rather than the Son of God. The origins of Islam are mysterious but could be considered as the form of religion adopted by the people cast out of Jerusalem by the Romans. Differing from Christians who while sharing much the same religious background are explicitly Roman-derived. Early Christian history includes Arians who seem to have existed in every part of the world where Muslims are today and to have shared the strictly monotheistic approach. It is possible therefore that the difference between Arians then and Muslims today is simply a labelling error. Arguably the result of Trinitarian Christian persecution of Arians in areas where today Muslims predominate could the the precursor the prophesy of Mohammed.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Main_Page&amp;diff=694</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Main_Page&amp;diff=694"/>
		<updated>2024-09-08T19:45:41Z</updated>

		<summary type="html">&lt;p&gt;William: Undo revision 677 by Teal Yorp (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Palfrepedia&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Better than Wikipedia. Fewer lies. More [[Commander Keen|Keen]].&lt;br /&gt;
&lt;br /&gt;
* [[Animals]]&lt;br /&gt;
* [[Books]]&lt;br /&gt;
* [[Classical Languages]]&lt;br /&gt;
* [[Colours]]&lt;br /&gt;
* [[Computing]], see for [[Commander Keen]].&lt;br /&gt;
* [[Countries]]&lt;br /&gt;
* [[Films]]&lt;br /&gt;
* [[:Category:Kings of England|Kings of]] [[England]]&lt;br /&gt;
* [[Lipstick]]&lt;br /&gt;
* [[Medicine]]&lt;br /&gt;
* [[Nail Polish]]&lt;br /&gt;
* [[:Category:Philosophy|Philosophy]]&lt;br /&gt;
* [[Religion]]&lt;br /&gt;
* [[Teachers]]&lt;br /&gt;
* [[Users]] of this website, their pages.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=OpenSSL&amp;diff=671</id>
		<title>OpenSSL</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=OpenSSL&amp;diff=671"/>
		<updated>2024-08-07T20:05:36Z</updated>

		<summary type="html">&lt;p&gt;William: Added signing a CSR&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://www.openssl.org/ OpenSSL]is the widely used encryption layer in [[UNIX]] operating systems. The most common day to day use is providing transport layer security to websites, such as this one and indicated by the use of https in the URL.&lt;br /&gt;
&lt;br /&gt;
Points to be covered in this document&lt;br /&gt;
&lt;br /&gt;
* Generating a private key&lt;br /&gt;
* Generating a Certificate Signing Request&lt;br /&gt;
* Fitting an SSL key&lt;br /&gt;
* Verification&lt;br /&gt;
* Starting a Certificate Authority.&lt;br /&gt;
&lt;br /&gt;
Will be fleshed out as time allows.&lt;br /&gt;
&lt;br /&gt;
== Creating and using S/MIME ==&lt;br /&gt;
This is how to create a self-signed S/MIME certificate, used for email encryption and decryption in an email client.&lt;br /&gt;
&lt;br /&gt;
First, generate your new key for the sender:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ openssl genrsa -out smime.key 2048&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then create a [[Certificate Signing Request]]:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ openssl req -new -key smime.key -out smime.csr&lt;br /&gt;
You are about to be asked to enter information that will be incorporated&lt;br /&gt;
into your certificate request.&lt;br /&gt;
What you are about to enter is what is called a Distinguished Name or a DN.&lt;br /&gt;
There are quite a few fields but you can leave some blank&lt;br /&gt;
For some fields there will be a default value,&lt;br /&gt;
If you enter '.', the field will be left blank.&lt;br /&gt;
-----&lt;br /&gt;
Country Name (2 letter code) [AU]:GB&lt;br /&gt;
State or Province Name (full name) [Some-State]:Leeds&lt;br /&gt;
Locality Name (eg, city) []:Leeds&lt;br /&gt;
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Palfreman Trading Ltd&lt;br /&gt;
Organizational Unit Name (eg, section) []:&lt;br /&gt;
Common Name (e.g. server FQDN or YOUR name) []:William Palfreman&lt;br /&gt;
Email Address []:william@palfreman.com&lt;br /&gt;
&lt;br /&gt;
Please enter the following 'extra' attributes&lt;br /&gt;
to be sent with your certificate request&lt;br /&gt;
A challenge password []:&lt;br /&gt;
An optional company name []:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then sign the [[Certificate Signing Request|CSR]] using your own [[Certificate Authority]].&lt;br /&gt;
&amp;lt;pre&amp;gt;$ openssl x509 -req -days 730 -in csr/smime.csr -CA certs/intermediate.crt -CAkey private/intermediate.key -set_serial 1 -out ../smime/smime.crt&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then the receiver needs to create a key and a certificate signing request. This is their server.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ openssl genrsa -out sender-smime.key 2048&lt;br /&gt;
Generating RSA private key, 2048 bit long modulus (2 primes)&lt;br /&gt;
........................................................................................+++++&lt;br /&gt;
........+++++&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then create the Certificate Request using the new key&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ openssl req -new -key sender-smime.key -out sender-smime.csr&lt;br /&gt;
You are about to be asked to enter information that will be incorporated&lt;br /&gt;
into your certificate request.&lt;br /&gt;
What you are about to enter is what is called a Distinguished Name or a DN.&lt;br /&gt;
There are quite a few fields but you can leave some blank&lt;br /&gt;
For some fields there will be a default value,&lt;br /&gt;
If you enter '.', the field will be left blank.&lt;br /&gt;
-----&lt;br /&gt;
Country Name (2 letter code) [AU]:GB&lt;br /&gt;
State or Province Name (full name) [Some-State]:London&lt;br /&gt;
Locality Name (eg, city) []:LONDON&lt;br /&gt;
Organization Name (eg, company) [Internet Widgits Pty Ltd]:University of Grantchester&lt;br /&gt;
Organizational Unit Name (eg, section) []:Grantchester HostCo&lt;br /&gt;
Common Name (e.g. server FQDN or YOUR name) []:William Palfreman&lt;br /&gt;
Email Address []:william.palfreman@grantchester.ac.uk&lt;br /&gt;
&lt;br /&gt;
Please enter the following 'extra' attributes&lt;br /&gt;
to be sent with your certificate request&lt;br /&gt;
A challenge password []:&lt;br /&gt;
An optional company name []:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The creates a certificate request (CSR) which isn't confidential but I won't list here. Take that CSR to your Certificate Authority (CA) and issue the certificate&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ openssl x509 -req -days 365 -in csr/grant.csr -CA certs/intermediate.crt -CAkey private/intermediate.key -out grant.crt&lt;br /&gt;
Certificate request self-signature ok&lt;br /&gt;
subject=C = GB, ST = London, L = LONDON, O = University of Granchester, OU = HostCo, CN = William Palfreman, emailAddress = william.palfreman@grantchester.ac.uk&lt;br /&gt;
Enter pass phrase for private/intermediate.key:&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then pass the receiver sender certificate back to the sending server.&lt;br /&gt;
&lt;br /&gt;
[Next, details about the openssl pipeline to sign and encrypt the smime attachment.]&lt;br /&gt;
== Keys and CSRs for websites ==&lt;br /&gt;
=== Create Key ===&lt;br /&gt;
Create the new RSA key. This should be done for each new certificate and should remain on the server it is intended for.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ openssl genrsa -out www.mydomain.com.key 2048&lt;br /&gt;
$ chmod 400 www.mydomain.com.key&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Create CSR ===&lt;br /&gt;
# Make a local copy of openssl.cnf&lt;br /&gt;
# Uncomment the line about v3_extensions&amp;lt;pre&amp;gt;req_extensions = v3_req&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Add a subjectAltName under basicConstraints and keyUsage in &amp;lt;i&amp;gt;[ v3_req ]&amp;lt;/i&amp;gt; section.&lt;br /&gt;
    &amp;lt;pre&amp;gt;[ v3_req ]&lt;br /&gt;
basicConstraints = CA:FALSE&lt;br /&gt;
keyUsage = nonRepudiation, digitalSignature, keyEncipherment&lt;br /&gt;
subjectAltName = DNS:www.mydomain.com,DNS:mydomain.com,DNS:other.mydomain.com&amp;lt;/pre&amp;gt;&lt;br /&gt;
There is some debate whether wildcard domains can be SANs. I think they can.&amp;lt;p&amp;gt;&lt;br /&gt;
Now create the CSR for the website.&amp;lt;pre&amp;gt;$ openssl req -new -key www.mydomain.com.key -sha256 -config openssl.cnf -subj '/C=GB/ST=Yorkshire/L=Leeds/O=Company Name/OU=Company IT Dept/CN=www.mydomain.com' &amp;gt; www.mydomain.com.csr&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The file &amp;lt;i&amp;gt;www.mydomain.com.csr&amp;lt;/i&amp;gt; can be provided to the certificate authority for signing.&lt;br /&gt;
=== Signing Cert with own CA ===&lt;br /&gt;
This assumes you have your own certificate authority as many people do for internal use. In this example the above CSR has been sent to you to sign.&lt;br /&gt;
# Create this file in the directory where the CSR is&lt;br /&gt;
&amp;lt;pre&amp;gt;cat mydomain-extensions.cnf&lt;br /&gt;
&lt;br /&gt;
[ v3_req ]&lt;br /&gt;
&lt;br /&gt;
# Extensions to add to a certificate request&lt;br /&gt;
&lt;br /&gt;
basicConstraints = CA:FALSE&lt;br /&gt;
keyUsage = nonRepudiation, digitalSignature, keyEncipherment&lt;br /&gt;
subjectAltName = DNS:www.mydomain.com,DNS:mydomain.com,DNS:other.mydomain.com&lt;br /&gt;
&lt;br /&gt;
[ ca_extensions ]&lt;br /&gt;
&lt;br /&gt;
subjectKeyIdentifier   = hash&lt;br /&gt;
authorityKeyIdentifier = keyid:always, issuer&lt;br /&gt;
basicConstraints       = critical, CA:true&lt;br /&gt;
keyUsage               = keyCertSign, cRLSign&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Sign the CSR to make the certificate&lt;br /&gt;
&amp;lt;pre&amp;gt;intermediate$ openssl x509 -req -days 1830 -in csr/www.mydomain.com.csr -CA certs/intermediate.crt -CAkey private/intermediate.key -extensions v3_req -extfile extensions.cnf -set_serial 1 -out mydomain.com/www.mydomain.com.crt&lt;br /&gt;
Certificate request self-signature ok&lt;br /&gt;
subject=C = GB, ST = Yorkshire, L = Leeds, O = Company Name, CN = www.mydomain.com&lt;br /&gt;
Enter pass phrase for private/intermediate.key:&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now you have created the certificate, check all the details are correct:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ openssl x509 -text -noout -in www.mydomain.com.crt &lt;br /&gt;
Certificate:&lt;br /&gt;
    Data:&lt;br /&gt;
        Version: 3 (0x2)&lt;br /&gt;
        Serial Number: 1 (0x1)&lt;br /&gt;
        Signature Algorithm: sha256WithRSAEncryption&lt;br /&gt;
        Issuer: C = GB, ST = England, O = My Company, OU = My Company Certificate Authority, CN = My Company Intermediate CA&lt;br /&gt;
        Validity&lt;br /&gt;
            Not Before: Aug  7 18:57:24 2024 GMT&lt;br /&gt;
            Not After : Aug 11 18:57:24 2029 GMT&lt;br /&gt;
        Subject: C = GB, ST = Yorkshire, L = Leeds, O = My Company Name, CN = www.mydomain.com&lt;br /&gt;
        Subject Public Key Info:&lt;br /&gt;
            Public Key Algorithm: rsaEncryption&lt;br /&gt;
                Public-Key: (4096 bit)&lt;br /&gt;
                Modulus:&amp;lt;snipped&amp;gt;&lt;br /&gt;
                Exponent: 65537 (0x10001)&lt;br /&gt;
        X509v3 extensions:&lt;br /&gt;
            X509v3 Basic Constraints: &lt;br /&gt;
                CA:FALSE&lt;br /&gt;
            X509v3 Key Usage: &lt;br /&gt;
                Digital Signature, Non Repudiation, Key Encipherment&lt;br /&gt;
            X509v3 Subject Alternative Name: &lt;br /&gt;
                DNS:mydomain.com, DNS:www.mydomain.com&lt;br /&gt;
            X509v3 Subject Key Identifier: &lt;br /&gt;
                &amp;lt;snipped&amp;gt;&lt;br /&gt;
            X509v3 Authority Key Identifier: &lt;br /&gt;
                &amp;lt;snipped&amp;gt;&lt;br /&gt;
    Signature Algorithm: sha256WithRSAEncryption&lt;br /&gt;
    Signature Value:&amp;lt;snipped&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Moduli ===&lt;br /&gt;
You must check the moduli line up on the server. Each file, the RSA, the CSR and the certificate should have the same modulus. You can append you ca-chain.pem to the certificate file. OpenSSL will only look at the first.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ sudo openssl rsa -modulus -noout -in private/www.mydomain.com.key | openssl md5&lt;br /&gt;
(stdin)= 5e7b29b4369f6f7a7f79e1d78c5dd672&lt;br /&gt;
$ openssl x509 -modulus -noout -in www.mydomain.com.crt | openssl md5&lt;br /&gt;
(stdin)= 5e7b29b4369f6f7a7f79e1d78c5dd672&lt;br /&gt;
$ openssl req -modulus -noout -in www.mydomain.com.csr | openssl md5&lt;br /&gt;
(stdin)= 5e7b29b4369f6f7a7f79e1d78c5dd672&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then the certificate can be fitted to the webserver.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Writing random seed with writerand ==&lt;br /&gt;
Sometimes openssl lacks a random seed and fails. You can easily create a file for this.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ openssl rand -writerand $HOME/.rnd&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Megaraid_SAS&amp;diff=670</id>
		<title>Megaraid SAS</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Megaraid_SAS&amp;diff=670"/>
		<updated>2024-02-25T22:06:34Z</updated>

		<summary type="html">&lt;p&gt;William: Better formatting.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These The MegaRAID SAS controllers re called Percraid on Dell Poweredge servers.  They use the MegaCLI utility, which is described here.&lt;br /&gt;
== MegaCLI ==&lt;br /&gt;
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.&lt;br /&gt;
Below are the virtual drives:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# megacli -LDInfo -Lall -a0&lt;br /&gt;
                                     &lt;br /&gt;
&lt;br /&gt;
Adapter 0 -- Virtual Drive Information:&lt;br /&gt;
Virtual Drive: 0 (Target Id: 0)&lt;br /&gt;
Name                :OS-Disk&lt;br /&gt;
RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0&lt;br /&gt;
Size                : 278.875 GB&lt;br /&gt;
Sector Size         : 512&lt;br /&gt;
Mirror Data         : 278.875 GB&lt;br /&gt;
State               : Optimal&lt;br /&gt;
Strip Size          : 64 KB&lt;br /&gt;
Number Of Drives    : 2&lt;br /&gt;
Span Depth          : 1&lt;br /&gt;
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Default Access Policy: Read/Write&lt;br /&gt;
Current Access Policy: Read/Write&lt;br /&gt;
Disk Cache Policy   : Disk's Default&lt;br /&gt;
Encryption Type     : None&lt;br /&gt;
Default Power Savings Policy: Controller Defined&lt;br /&gt;
Current Power Savings Policy: None&lt;br /&gt;
Can spin up in 1 minute: Yes&lt;br /&gt;
LD has drives that support T10 power conditions: Yes&lt;br /&gt;
LD's IO profile supports MAX power savings with cached writes: No&lt;br /&gt;
Bad Blocks Exist: Yes&lt;br /&gt;
Is VD Cached: No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Virtual Drive: 1 (Target Id: 1)&lt;br /&gt;
Name                :spare-r5&lt;br /&gt;
RAID Level          : Primary-5, Secondary-0, RAID Level Qualifier-3&lt;br /&gt;
Size                : 2.727 TB&lt;br /&gt;
Sector Size         : 512&lt;br /&gt;
Parity Size         : 931.0 GB&lt;br /&gt;
State               : Optimal&lt;br /&gt;
Strip Size          : 64 KB&lt;br /&gt;
Number Of Drives    : 4&lt;br /&gt;
Span Depth          : 1&lt;br /&gt;
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Default Access Policy: Read/Write&lt;br /&gt;
Current Access Policy: Read/Write&lt;br /&gt;
Disk Cache Policy   : Disk's Default&lt;br /&gt;
Ongoing Progresses:&lt;br /&gt;
  Background Initialization: Completed 41%, Taken 933 min.&lt;br /&gt;
Encryption Type     : None&lt;br /&gt;
Default Power Savings Policy: Controller Defined&lt;br /&gt;
Current Power Savings Policy: None&lt;br /&gt;
Can spin up in 1 minute: Yes&lt;br /&gt;
LD has drives that support T10 power conditions: No&lt;br /&gt;
LD's IO profile supports MAX power savings with cached writes: No&lt;br /&gt;
Bad Blocks Exist: No&lt;br /&gt;
Is VD Cached: No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Virtual Drive: 2 (Target Id: 2)&lt;br /&gt;
Name                :&lt;br /&gt;
RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0&lt;br /&gt;
Size                : 18.189 TB&lt;br /&gt;
Sector Size         : 512&lt;br /&gt;
Mirror Data         : 18.189 TB&lt;br /&gt;
State               : Optimal&lt;br /&gt;
Strip Size          : 64 KB&lt;br /&gt;
Number Of Drives    : 2&lt;br /&gt;
Span Depth          : 1&lt;br /&gt;
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Default Access Policy: Read/Write&lt;br /&gt;
Current Access Policy: Read/Write&lt;br /&gt;
Disk Cache Policy   : Disk's Default&lt;br /&gt;
Ongoing Progresses:&lt;br /&gt;
  Background Initialization: Completed 4%, Taken 933 min.&lt;br /&gt;
Encryption Type     : None&lt;br /&gt;
Default Power Savings Policy: Controller Defined&lt;br /&gt;
Current Power Savings Policy: None&lt;br /&gt;
Can spin up in 1 minute: Yes&lt;br /&gt;
LD has drives that support T10 power conditions: No&lt;br /&gt;
LD's IO profile supports MAX power savings with cached writes: No&lt;br /&gt;
Bad Blocks Exist: No&lt;br /&gt;
Is VD Cached: No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Exit Code: 0x00&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
And here are the physical drives.  All eight drive bays are filled.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# megacli -pdlist -a0&lt;br /&gt;
                                     &lt;br /&gt;
Adapter #0&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 0&lt;br /&gt;
Drive's position: DiskGroup: 1, Span: 0, Arm: 0&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 0&lt;br /&gt;
WWN: 50014ee057c5c7cd&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 931.512 GB [0x74706db0 Sectors]&lt;br /&gt;
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]&lt;br /&gt;
Coerced Size: 931.0 GB [0x74600000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: 0C12&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221107000000&lt;br /&gt;
Connected Port Number: 7(path0) &lt;br /&gt;
Inquiry Data:      WD-WMATV8663060WDC WD1002FBYS-18W8B1                   03.00C12&lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 3.0Gb/s &lt;br /&gt;
Link Speed: 3.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :43C (109.40 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 3.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 1&lt;br /&gt;
Drive's position: DiskGroup: 1, Span: 0, Arm: 1&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 1&lt;br /&gt;
WWN: 50014ee057c5c5f4&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 931.512 GB [0x74706db0 Sectors]&lt;br /&gt;
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]&lt;br /&gt;
Coerced Size: 931.0 GB [0x74600000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: 0C12&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221106000000&lt;br /&gt;
Connected Port Number: 6(path0) &lt;br /&gt;
Inquiry Data:      WD-WMATV8635175WDC WD1002FBYS-18W8B1                   03.00C12&lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 3.0Gb/s &lt;br /&gt;
Link Speed: 3.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :47C (116.60 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 3.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 2&lt;br /&gt;
Drive's position: DiskGroup: 1, Span: 0, Arm: 2&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 2&lt;br /&gt;
WWN: 50014ee206916984&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 931.512 GB [0x74706db0 Sectors]&lt;br /&gt;
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]&lt;br /&gt;
Coerced Size: 931.0 GB [0x74600000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: 1V02&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221105000000&lt;br /&gt;
Connected Port Number: 1(path0) &lt;br /&gt;
Inquiry Data:      WD-WMAW30234603WDC WD1003FBYX-18Y7B0                   01.01V02&lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 3.0Gb/s &lt;br /&gt;
Link Speed: 3.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :44C (111.20 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 3.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 3&lt;br /&gt;
Drive's position: DiskGroup: 1, Span: 0, Arm: 3&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 3&lt;br /&gt;
WWN: 50014ee057c5c89b&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 931.512 GB [0x74706db0 Sectors]&lt;br /&gt;
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]&lt;br /&gt;
Coerced Size: 931.0 GB [0x74600000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: 0C12&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221104000000&lt;br /&gt;
Connected Port Number: 2(path0) &lt;br /&gt;
Inquiry Data:      WD-WMATV8637476WDC WD1002FBYS-18W8B1                   03.00C12&lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 3.0Gb/s &lt;br /&gt;
Link Speed: 3.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :44C (111.20 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 3.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 4&lt;br /&gt;
Drive's position: DiskGroup: 0, Span: 0, Arm: 1&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 4&lt;br /&gt;
WWN: 5000C50072369C50&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SAS&lt;br /&gt;
&lt;br /&gt;
Raw Size: 279.396 GB [0x22ecb25c Sectors]&lt;br /&gt;
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]&lt;br /&gt;
Coerced Size: 278.875 GB [0x22dc0000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: YSFA&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x5000c50072369c51&lt;br /&gt;
SAS Address(1): 0x0&lt;br /&gt;
Connected Port Number: 4(path0) &lt;br /&gt;
Inquiry Data: SEAGATE ST9300453SS     YSFA6XN69MSN            &lt;br /&gt;
FDE Capable: Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 6.0Gb/s &lt;br /&gt;
Link Speed: 6.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :37C (98.60 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 6.0Gb/s &lt;br /&gt;
Port-1 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: Unknown &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 5&lt;br /&gt;
Drive's position: DiskGroup: 0, Span: 0, Arm: 0&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 5&lt;br /&gt;
WWN: 5000C50070D8CDEC&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 1&lt;br /&gt;
Last Predictive Failure Event Seq Number: 4812&lt;br /&gt;
PD Type: SAS&lt;br /&gt;
&lt;br /&gt;
Raw Size: 279.396 GB [0x22ecb25c Sectors]&lt;br /&gt;
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]&lt;br /&gt;
Coerced Size: 278.875 GB [0x22dc0000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: ES66&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x5000c50070d8cded&lt;br /&gt;
SAS Address(1): 0x0&lt;br /&gt;
Connected Port Number: 3(path0) &lt;br /&gt;
Inquiry Data: SEAGATE ST3300657SS     ES666SJ7P3BJ            &lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 6.0Gb/s &lt;br /&gt;
Link Speed: 6.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :42C (107.60 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 6.0Gb/s &lt;br /&gt;
Port-1 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: Unknown &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : Yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 6&lt;br /&gt;
Drive's position: DiskGroup: 2, Span: 0, Arm: 0&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 6&lt;br /&gt;
WWN: 5000c500e5e26a83&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 18.190 TB [0x918600000 Sectors]&lt;br /&gt;
Non Coerced Size: 18.189 TB [0x918500000 Sectors]&lt;br /&gt;
Coerced Size: 18.189 TB [0x918500000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: EN01&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221101000000&lt;br /&gt;
Connected Port Number: 5(path0) &lt;br /&gt;
Inquiry Data:             ZVT3DWS4ST20000NE000-3G5101                     EN01    &lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 6.0Gb/s &lt;br /&gt;
Link Speed: 6.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive:  Not Certified&lt;br /&gt;
Drive Temperature :38C (100.40 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 6.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 7&lt;br /&gt;
Drive's position: DiskGroup: 2, Span: 0, Arm: 1&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 7&lt;br /&gt;
WWN: 5000c500e5e0b4b9&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 18.190 TB [0x918600000 Sectors]&lt;br /&gt;
Non Coerced Size: 18.189 TB [0x918500000 Sectors]&lt;br /&gt;
Coerced Size: 18.189 TB [0x918500000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: EN01&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221100000000&lt;br /&gt;
Connected Port Number: 0(path0) &lt;br /&gt;
Inquiry Data:             ZVT4F6DGST20000NE000-3G5101                     EN01    &lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 6.0Gb/s &lt;br /&gt;
Link Speed: 6.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive:  Not Certified&lt;br /&gt;
Drive Temperature :36C (96.80 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 6.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Exit Code: 0x00&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
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.&lt;br /&gt;
=== Disk swap ===&lt;br /&gt;
This is where the disk is swapped over. Once the new disk is inserted it rebuilds itself.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# megacli -pdoffline -physdrv[32:5] -a0&lt;br /&gt;
                                     &lt;br /&gt;
Adapter: 0: EnclId-32 SlotId-5 state changed to OffLine.&lt;br /&gt;
&lt;br /&gt;
Exit Code: 0x00&lt;br /&gt;
# megacli -pdmarkmissing -physdrv[32:5] -a0&lt;br /&gt;
                                     &lt;br /&gt;
EnclId-32 SlotId-5 is marked Missing.&lt;br /&gt;
&lt;br /&gt;
Exit Code: 0x00&lt;br /&gt;
# megacli -pdprprmv -physdrv[32:5] -a0&lt;br /&gt;
                                     &lt;br /&gt;
&lt;br /&gt;
Prepare for removal Success&lt;br /&gt;
&lt;br /&gt;
Exit Code: 0x00&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
=== Check the rebuild ===&lt;br /&gt;
You can see how the rebuild is progressing like this:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# megacli -PDRbld -ShowProg -PhysDrv[32:5] -a0&lt;br /&gt;
                                     &lt;br /&gt;
Rebuild Progress on Device at Enclosure 32, Slot 5 Completed 7% in 8 Minutes.&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Megaraid_SAS&amp;diff=658</id>
		<title>Megaraid SAS</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Megaraid_SAS&amp;diff=658"/>
		<updated>2024-02-24T20:52:21Z</updated>

		<summary type="html">&lt;p&gt;William: Add disk swap info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These adapters are called Percraid on Dell Poweredge servers.  Uses the MegaCLI utility.&lt;br /&gt;
== MegaCLI ==&lt;br /&gt;
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.&lt;br /&gt;
Below are the virtual drives:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# megacli -LDInfo -Lall -a0&lt;br /&gt;
                                     &lt;br /&gt;
&lt;br /&gt;
Adapter 0 -- Virtual Drive Information:&lt;br /&gt;
Virtual Drive: 0 (Target Id: 0)&lt;br /&gt;
Name                :OS-Disk&lt;br /&gt;
RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0&lt;br /&gt;
Size                : 278.875 GB&lt;br /&gt;
Sector Size         : 512&lt;br /&gt;
Mirror Data         : 278.875 GB&lt;br /&gt;
State               : Optimal&lt;br /&gt;
Strip Size          : 64 KB&lt;br /&gt;
Number Of Drives    : 2&lt;br /&gt;
Span Depth          : 1&lt;br /&gt;
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Default Access Policy: Read/Write&lt;br /&gt;
Current Access Policy: Read/Write&lt;br /&gt;
Disk Cache Policy   : Disk's Default&lt;br /&gt;
Encryption Type     : None&lt;br /&gt;
Default Power Savings Policy: Controller Defined&lt;br /&gt;
Current Power Savings Policy: None&lt;br /&gt;
Can spin up in 1 minute: Yes&lt;br /&gt;
LD has drives that support T10 power conditions: Yes&lt;br /&gt;
LD's IO profile supports MAX power savings with cached writes: No&lt;br /&gt;
Bad Blocks Exist: Yes&lt;br /&gt;
Is VD Cached: No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Virtual Drive: 1 (Target Id: 1)&lt;br /&gt;
Name                :spare-r5&lt;br /&gt;
RAID Level          : Primary-5, Secondary-0, RAID Level Qualifier-3&lt;br /&gt;
Size                : 2.727 TB&lt;br /&gt;
Sector Size         : 512&lt;br /&gt;
Parity Size         : 931.0 GB&lt;br /&gt;
State               : Optimal&lt;br /&gt;
Strip Size          : 64 KB&lt;br /&gt;
Number Of Drives    : 4&lt;br /&gt;
Span Depth          : 1&lt;br /&gt;
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Default Access Policy: Read/Write&lt;br /&gt;
Current Access Policy: Read/Write&lt;br /&gt;
Disk Cache Policy   : Disk's Default&lt;br /&gt;
Ongoing Progresses:&lt;br /&gt;
  Background Initialization: Completed 41%, Taken 933 min.&lt;br /&gt;
Encryption Type     : None&lt;br /&gt;
Default Power Savings Policy: Controller Defined&lt;br /&gt;
Current Power Savings Policy: None&lt;br /&gt;
Can spin up in 1 minute: Yes&lt;br /&gt;
LD has drives that support T10 power conditions: No&lt;br /&gt;
LD's IO profile supports MAX power savings with cached writes: No&lt;br /&gt;
Bad Blocks Exist: No&lt;br /&gt;
Is VD Cached: No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Virtual Drive: 2 (Target Id: 2)&lt;br /&gt;
Name                :&lt;br /&gt;
RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0&lt;br /&gt;
Size                : 18.189 TB&lt;br /&gt;
Sector Size         : 512&lt;br /&gt;
Mirror Data         : 18.189 TB&lt;br /&gt;
State               : Optimal&lt;br /&gt;
Strip Size          : 64 KB&lt;br /&gt;
Number Of Drives    : 2&lt;br /&gt;
Span Depth          : 1&lt;br /&gt;
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Default Access Policy: Read/Write&lt;br /&gt;
Current Access Policy: Read/Write&lt;br /&gt;
Disk Cache Policy   : Disk's Default&lt;br /&gt;
Ongoing Progresses:&lt;br /&gt;
  Background Initialization: Completed 4%, Taken 933 min.&lt;br /&gt;
Encryption Type     : None&lt;br /&gt;
Default Power Savings Policy: Controller Defined&lt;br /&gt;
Current Power Savings Policy: None&lt;br /&gt;
Can spin up in 1 minute: Yes&lt;br /&gt;
LD has drives that support T10 power conditions: No&lt;br /&gt;
LD's IO profile supports MAX power savings with cached writes: No&lt;br /&gt;
Bad Blocks Exist: No&lt;br /&gt;
Is VD Cached: No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Exit Code: 0x00&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
And here are the physical drives.  All eight drive bays are filled.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# megacli -pdlist -a0&lt;br /&gt;
                                     &lt;br /&gt;
Adapter #0&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 0&lt;br /&gt;
Drive's position: DiskGroup: 1, Span: 0, Arm: 0&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 0&lt;br /&gt;
WWN: 50014ee057c5c7cd&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 931.512 GB [0x74706db0 Sectors]&lt;br /&gt;
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]&lt;br /&gt;
Coerced Size: 931.0 GB [0x74600000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: 0C12&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221107000000&lt;br /&gt;
Connected Port Number: 7(path0) &lt;br /&gt;
Inquiry Data:      WD-WMATV8663060WDC WD1002FBYS-18W8B1                   03.00C12&lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 3.0Gb/s &lt;br /&gt;
Link Speed: 3.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :43C (109.40 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 3.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 1&lt;br /&gt;
Drive's position: DiskGroup: 1, Span: 0, Arm: 1&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 1&lt;br /&gt;
WWN: 50014ee057c5c5f4&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 931.512 GB [0x74706db0 Sectors]&lt;br /&gt;
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]&lt;br /&gt;
Coerced Size: 931.0 GB [0x74600000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: 0C12&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221106000000&lt;br /&gt;
Connected Port Number: 6(path0) &lt;br /&gt;
Inquiry Data:      WD-WMATV8635175WDC WD1002FBYS-18W8B1                   03.00C12&lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 3.0Gb/s &lt;br /&gt;
Link Speed: 3.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :47C (116.60 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 3.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 2&lt;br /&gt;
Drive's position: DiskGroup: 1, Span: 0, Arm: 2&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 2&lt;br /&gt;
WWN: 50014ee206916984&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 931.512 GB [0x74706db0 Sectors]&lt;br /&gt;
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]&lt;br /&gt;
Coerced Size: 931.0 GB [0x74600000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: 1V02&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221105000000&lt;br /&gt;
Connected Port Number: 1(path0) &lt;br /&gt;
Inquiry Data:      WD-WMAW30234603WDC WD1003FBYX-18Y7B0                   01.01V02&lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 3.0Gb/s &lt;br /&gt;
Link Speed: 3.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :44C (111.20 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 3.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 3&lt;br /&gt;
Drive's position: DiskGroup: 1, Span: 0, Arm: 3&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 3&lt;br /&gt;
WWN: 50014ee057c5c89b&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 931.512 GB [0x74706db0 Sectors]&lt;br /&gt;
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]&lt;br /&gt;
Coerced Size: 931.0 GB [0x74600000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: 0C12&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221104000000&lt;br /&gt;
Connected Port Number: 2(path0) &lt;br /&gt;
Inquiry Data:      WD-WMATV8637476WDC WD1002FBYS-18W8B1                   03.00C12&lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 3.0Gb/s &lt;br /&gt;
Link Speed: 3.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :44C (111.20 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 3.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 4&lt;br /&gt;
Drive's position: DiskGroup: 0, Span: 0, Arm: 1&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 4&lt;br /&gt;
WWN: 5000C50072369C50&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SAS&lt;br /&gt;
&lt;br /&gt;
Raw Size: 279.396 GB [0x22ecb25c Sectors]&lt;br /&gt;
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]&lt;br /&gt;
Coerced Size: 278.875 GB [0x22dc0000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: YSFA&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x5000c50072369c51&lt;br /&gt;
SAS Address(1): 0x0&lt;br /&gt;
Connected Port Number: 4(path0) &lt;br /&gt;
Inquiry Data: SEAGATE ST9300453SS     YSFA6XN69MSN            &lt;br /&gt;
FDE Capable: Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 6.0Gb/s &lt;br /&gt;
Link Speed: 6.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :37C (98.60 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 6.0Gb/s &lt;br /&gt;
Port-1 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: Unknown &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 5&lt;br /&gt;
Drive's position: DiskGroup: 0, Span: 0, Arm: 0&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 5&lt;br /&gt;
WWN: 5000C50070D8CDEC&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 1&lt;br /&gt;
Last Predictive Failure Event Seq Number: 4812&lt;br /&gt;
PD Type: SAS&lt;br /&gt;
&lt;br /&gt;
Raw Size: 279.396 GB [0x22ecb25c Sectors]&lt;br /&gt;
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]&lt;br /&gt;
Coerced Size: 278.875 GB [0x22dc0000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: ES66&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x5000c50070d8cded&lt;br /&gt;
SAS Address(1): 0x0&lt;br /&gt;
Connected Port Number: 3(path0) &lt;br /&gt;
Inquiry Data: SEAGATE ST3300657SS     ES666SJ7P3BJ            &lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 6.0Gb/s &lt;br /&gt;
Link Speed: 6.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :42C (107.60 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 6.0Gb/s &lt;br /&gt;
Port-1 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: Unknown &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : Yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 6&lt;br /&gt;
Drive's position: DiskGroup: 2, Span: 0, Arm: 0&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 6&lt;br /&gt;
WWN: 5000c500e5e26a83&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 18.190 TB [0x918600000 Sectors]&lt;br /&gt;
Non Coerced Size: 18.189 TB [0x918500000 Sectors]&lt;br /&gt;
Coerced Size: 18.189 TB [0x918500000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: EN01&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221101000000&lt;br /&gt;
Connected Port Number: 5(path0) &lt;br /&gt;
Inquiry Data:             ZVT3DWS4ST20000NE000-3G5101                     EN01    &lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 6.0Gb/s &lt;br /&gt;
Link Speed: 6.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive:  Not Certified&lt;br /&gt;
Drive Temperature :38C (100.40 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 6.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 7&lt;br /&gt;
Drive's position: DiskGroup: 2, Span: 0, Arm: 1&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 7&lt;br /&gt;
WWN: 5000c500e5e0b4b9&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 18.190 TB [0x918600000 Sectors]&lt;br /&gt;
Non Coerced Size: 18.189 TB [0x918500000 Sectors]&lt;br /&gt;
Coerced Size: 18.189 TB [0x918500000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: EN01&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221100000000&lt;br /&gt;
Connected Port Number: 0(path0) &lt;br /&gt;
Inquiry Data:             ZVT4F6DGST20000NE000-3G5101                     EN01    &lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 6.0Gb/s &lt;br /&gt;
Link Speed: 6.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive:  Not Certified&lt;br /&gt;
Drive Temperature :36C (96.80 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 6.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Exit Code: 0x00&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
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.&lt;br /&gt;
=== Disk swap ===&lt;br /&gt;
This is where the disk is swapped over. Once the new disk is inserted it rebuilds itself.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# megacli -pdoffline -physdrv[32:5] -a0&lt;br /&gt;
                                     &lt;br /&gt;
Adapter: 0: EnclId-32 SlotId-5 state changed to OffLine.&lt;br /&gt;
&lt;br /&gt;
Exit Code: 0x00&lt;br /&gt;
# megacli -pdmarkmissing -physdrv[32:5] -a0&lt;br /&gt;
                                     &lt;br /&gt;
EnclId-32 SlotId-5 is marked Missing.&lt;br /&gt;
&lt;br /&gt;
Exit Code: 0x00&lt;br /&gt;
# megacli -pdprprmv -physdrv[32:5] -a0&lt;br /&gt;
                                     &lt;br /&gt;
&lt;br /&gt;
Prepare for removal Success&lt;br /&gt;
&lt;br /&gt;
Exit Code: 0x00&lt;br /&gt;
&lt;br /&gt;
# megacli -PDRbld -ShowProg -PhysDrv[32:5] -a0&lt;br /&gt;
                                     &lt;br /&gt;
Rebuild Progress on Device at Enclosure 32, Slot 5 Completed 7% in 8 Minutes.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Megaraid_SAS&amp;diff=657</id>
		<title>Megaraid SAS</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Megaraid_SAS&amp;diff=657"/>
		<updated>2024-02-23T14:39:32Z</updated>

		<summary type="html">&lt;p&gt;William: typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These adapters are called Percraid on Dell Poweredge servers.  Uses the MegaCLI utility.&lt;br /&gt;
== MegaCLI ==&lt;br /&gt;
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.&lt;br /&gt;
Below are the virtual drives:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# megacli -LDInfo -Lall -a0&lt;br /&gt;
                                     &lt;br /&gt;
&lt;br /&gt;
Adapter 0 -- Virtual Drive Information:&lt;br /&gt;
Virtual Drive: 0 (Target Id: 0)&lt;br /&gt;
Name                :OS-Disk&lt;br /&gt;
RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0&lt;br /&gt;
Size                : 278.875 GB&lt;br /&gt;
Sector Size         : 512&lt;br /&gt;
Mirror Data         : 278.875 GB&lt;br /&gt;
State               : Optimal&lt;br /&gt;
Strip Size          : 64 KB&lt;br /&gt;
Number Of Drives    : 2&lt;br /&gt;
Span Depth          : 1&lt;br /&gt;
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Default Access Policy: Read/Write&lt;br /&gt;
Current Access Policy: Read/Write&lt;br /&gt;
Disk Cache Policy   : Disk's Default&lt;br /&gt;
Encryption Type     : None&lt;br /&gt;
Default Power Savings Policy: Controller Defined&lt;br /&gt;
Current Power Savings Policy: None&lt;br /&gt;
Can spin up in 1 minute: Yes&lt;br /&gt;
LD has drives that support T10 power conditions: Yes&lt;br /&gt;
LD's IO profile supports MAX power savings with cached writes: No&lt;br /&gt;
Bad Blocks Exist: Yes&lt;br /&gt;
Is VD Cached: No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Virtual Drive: 1 (Target Id: 1)&lt;br /&gt;
Name                :spare-r5&lt;br /&gt;
RAID Level          : Primary-5, Secondary-0, RAID Level Qualifier-3&lt;br /&gt;
Size                : 2.727 TB&lt;br /&gt;
Sector Size         : 512&lt;br /&gt;
Parity Size         : 931.0 GB&lt;br /&gt;
State               : Optimal&lt;br /&gt;
Strip Size          : 64 KB&lt;br /&gt;
Number Of Drives    : 4&lt;br /&gt;
Span Depth          : 1&lt;br /&gt;
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Default Access Policy: Read/Write&lt;br /&gt;
Current Access Policy: Read/Write&lt;br /&gt;
Disk Cache Policy   : Disk's Default&lt;br /&gt;
Ongoing Progresses:&lt;br /&gt;
  Background Initialization: Completed 41%, Taken 933 min.&lt;br /&gt;
Encryption Type     : None&lt;br /&gt;
Default Power Savings Policy: Controller Defined&lt;br /&gt;
Current Power Savings Policy: None&lt;br /&gt;
Can spin up in 1 minute: Yes&lt;br /&gt;
LD has drives that support T10 power conditions: No&lt;br /&gt;
LD's IO profile supports MAX power savings with cached writes: No&lt;br /&gt;
Bad Blocks Exist: No&lt;br /&gt;
Is VD Cached: No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Virtual Drive: 2 (Target Id: 2)&lt;br /&gt;
Name                :&lt;br /&gt;
RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0&lt;br /&gt;
Size                : 18.189 TB&lt;br /&gt;
Sector Size         : 512&lt;br /&gt;
Mirror Data         : 18.189 TB&lt;br /&gt;
State               : Optimal&lt;br /&gt;
Strip Size          : 64 KB&lt;br /&gt;
Number Of Drives    : 2&lt;br /&gt;
Span Depth          : 1&lt;br /&gt;
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Default Access Policy: Read/Write&lt;br /&gt;
Current Access Policy: Read/Write&lt;br /&gt;
Disk Cache Policy   : Disk's Default&lt;br /&gt;
Ongoing Progresses:&lt;br /&gt;
  Background Initialization: Completed 4%, Taken 933 min.&lt;br /&gt;
Encryption Type     : None&lt;br /&gt;
Default Power Savings Policy: Controller Defined&lt;br /&gt;
Current Power Savings Policy: None&lt;br /&gt;
Can spin up in 1 minute: Yes&lt;br /&gt;
LD has drives that support T10 power conditions: No&lt;br /&gt;
LD's IO profile supports MAX power savings with cached writes: No&lt;br /&gt;
Bad Blocks Exist: No&lt;br /&gt;
Is VD Cached: No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Exit Code: 0x00&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
And here are the physical drives.  All eight drive bays are filled.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# megacli -pdlist -a0&lt;br /&gt;
                                     &lt;br /&gt;
Adapter #0&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 0&lt;br /&gt;
Drive's position: DiskGroup: 1, Span: 0, Arm: 0&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 0&lt;br /&gt;
WWN: 50014ee057c5c7cd&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 931.512 GB [0x74706db0 Sectors]&lt;br /&gt;
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]&lt;br /&gt;
Coerced Size: 931.0 GB [0x74600000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: 0C12&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221107000000&lt;br /&gt;
Connected Port Number: 7(path0) &lt;br /&gt;
Inquiry Data:      WD-WMATV8663060WDC WD1002FBYS-18W8B1                   03.00C12&lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 3.0Gb/s &lt;br /&gt;
Link Speed: 3.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :43C (109.40 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 3.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 1&lt;br /&gt;
Drive's position: DiskGroup: 1, Span: 0, Arm: 1&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 1&lt;br /&gt;
WWN: 50014ee057c5c5f4&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 931.512 GB [0x74706db0 Sectors]&lt;br /&gt;
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]&lt;br /&gt;
Coerced Size: 931.0 GB [0x74600000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: 0C12&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221106000000&lt;br /&gt;
Connected Port Number: 6(path0) &lt;br /&gt;
Inquiry Data:      WD-WMATV8635175WDC WD1002FBYS-18W8B1                   03.00C12&lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 3.0Gb/s &lt;br /&gt;
Link Speed: 3.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :47C (116.60 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 3.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 2&lt;br /&gt;
Drive's position: DiskGroup: 1, Span: 0, Arm: 2&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 2&lt;br /&gt;
WWN: 50014ee206916984&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 931.512 GB [0x74706db0 Sectors]&lt;br /&gt;
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]&lt;br /&gt;
Coerced Size: 931.0 GB [0x74600000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: 1V02&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221105000000&lt;br /&gt;
Connected Port Number: 1(path0) &lt;br /&gt;
Inquiry Data:      WD-WMAW30234603WDC WD1003FBYX-18Y7B0                   01.01V02&lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 3.0Gb/s &lt;br /&gt;
Link Speed: 3.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :44C (111.20 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 3.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 3&lt;br /&gt;
Drive's position: DiskGroup: 1, Span: 0, Arm: 3&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 3&lt;br /&gt;
WWN: 50014ee057c5c89b&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 931.512 GB [0x74706db0 Sectors]&lt;br /&gt;
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]&lt;br /&gt;
Coerced Size: 931.0 GB [0x74600000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: 0C12&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221104000000&lt;br /&gt;
Connected Port Number: 2(path0) &lt;br /&gt;
Inquiry Data:      WD-WMATV8637476WDC WD1002FBYS-18W8B1                   03.00C12&lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 3.0Gb/s &lt;br /&gt;
Link Speed: 3.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :44C (111.20 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 3.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 4&lt;br /&gt;
Drive's position: DiskGroup: 0, Span: 0, Arm: 1&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 4&lt;br /&gt;
WWN: 5000C50072369C50&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SAS&lt;br /&gt;
&lt;br /&gt;
Raw Size: 279.396 GB [0x22ecb25c Sectors]&lt;br /&gt;
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]&lt;br /&gt;
Coerced Size: 278.875 GB [0x22dc0000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: YSFA&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x5000c50072369c51&lt;br /&gt;
SAS Address(1): 0x0&lt;br /&gt;
Connected Port Number: 4(path0) &lt;br /&gt;
Inquiry Data: SEAGATE ST9300453SS     YSFA6XN69MSN            &lt;br /&gt;
FDE Capable: Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 6.0Gb/s &lt;br /&gt;
Link Speed: 6.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :37C (98.60 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 6.0Gb/s &lt;br /&gt;
Port-1 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: Unknown &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 5&lt;br /&gt;
Drive's position: DiskGroup: 0, Span: 0, Arm: 0&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 5&lt;br /&gt;
WWN: 5000C50070D8CDEC&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 1&lt;br /&gt;
Last Predictive Failure Event Seq Number: 4812&lt;br /&gt;
PD Type: SAS&lt;br /&gt;
&lt;br /&gt;
Raw Size: 279.396 GB [0x22ecb25c Sectors]&lt;br /&gt;
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]&lt;br /&gt;
Coerced Size: 278.875 GB [0x22dc0000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: ES66&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x5000c50070d8cded&lt;br /&gt;
SAS Address(1): 0x0&lt;br /&gt;
Connected Port Number: 3(path0) &lt;br /&gt;
Inquiry Data: SEAGATE ST3300657SS     ES666SJ7P3BJ            &lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 6.0Gb/s &lt;br /&gt;
Link Speed: 6.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :42C (107.60 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 6.0Gb/s &lt;br /&gt;
Port-1 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: Unknown &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : Yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 6&lt;br /&gt;
Drive's position: DiskGroup: 2, Span: 0, Arm: 0&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 6&lt;br /&gt;
WWN: 5000c500e5e26a83&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 18.190 TB [0x918600000 Sectors]&lt;br /&gt;
Non Coerced Size: 18.189 TB [0x918500000 Sectors]&lt;br /&gt;
Coerced Size: 18.189 TB [0x918500000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: EN01&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221101000000&lt;br /&gt;
Connected Port Number: 5(path0) &lt;br /&gt;
Inquiry Data:             ZVT3DWS4ST20000NE000-3G5101                     EN01    &lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 6.0Gb/s &lt;br /&gt;
Link Speed: 6.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive:  Not Certified&lt;br /&gt;
Drive Temperature :38C (100.40 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 6.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 7&lt;br /&gt;
Drive's position: DiskGroup: 2, Span: 0, Arm: 1&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 7&lt;br /&gt;
WWN: 5000c500e5e0b4b9&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 18.190 TB [0x918600000 Sectors]&lt;br /&gt;
Non Coerced Size: 18.189 TB [0x918500000 Sectors]&lt;br /&gt;
Coerced Size: 18.189 TB [0x918500000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: EN01&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221100000000&lt;br /&gt;
Connected Port Number: 0(path0) &lt;br /&gt;
Inquiry Data:             ZVT4F6DGST20000NE000-3G5101                     EN01    &lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 6.0Gb/s &lt;br /&gt;
Link Speed: 6.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive:  Not Certified&lt;br /&gt;
Drive Temperature :36C (96.80 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 6.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Exit Code: 0x00&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
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.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Megaraid_SAS&amp;diff=656</id>
		<title>Megaraid SAS</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Megaraid_SAS&amp;diff=656"/>
		<updated>2024-02-23T14:27:23Z</updated>

		<summary type="html">&lt;p&gt;William: First save&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These adapters are called Percraid on Dell Poweredge servers.  Uses the MegaCLI utility.&lt;br /&gt;
== MegaCLI ==&lt;br /&gt;
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.&lt;br /&gt;
Below are the virtual drives:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# megacli -LDInfo -Lall -a0&lt;br /&gt;
                                     &lt;br /&gt;
&lt;br /&gt;
Adapter 0 -- Virtual Drive Information:&lt;br /&gt;
Virtual Drive: 0 (Target Id: 0)&lt;br /&gt;
Name                :OS-Disk&lt;br /&gt;
RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0&lt;br /&gt;
Size                : 278.875 GB&lt;br /&gt;
Sector Size         : 512&lt;br /&gt;
Mirror Data         : 278.875 GB&lt;br /&gt;
State               : Optimal&lt;br /&gt;
Strip Size          : 64 KB&lt;br /&gt;
Number Of Drives    : 2&lt;br /&gt;
Span Depth          : 1&lt;br /&gt;
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Default Access Policy: Read/Write&lt;br /&gt;
Current Access Policy: Read/Write&lt;br /&gt;
Disk Cache Policy   : Disk's Default&lt;br /&gt;
Encryption Type     : None&lt;br /&gt;
Default Power Savings Policy: Controller Defined&lt;br /&gt;
Current Power Savings Policy: None&lt;br /&gt;
Can spin up in 1 minute: Yes&lt;br /&gt;
LD has drives that support T10 power conditions: Yes&lt;br /&gt;
LD's IO profile supports MAX power savings with cached writes: No&lt;br /&gt;
Bad Blocks Exist: Yes&lt;br /&gt;
Is VD Cached: No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Virtual Drive: 1 (Target Id: 1)&lt;br /&gt;
Name                :spare-r5&lt;br /&gt;
RAID Level          : Primary-5, Secondary-0, RAID Level Qualifier-3&lt;br /&gt;
Size                : 2.727 TB&lt;br /&gt;
Sector Size         : 512&lt;br /&gt;
Parity Size         : 931.0 GB&lt;br /&gt;
State               : Optimal&lt;br /&gt;
Strip Size          : 64 KB&lt;br /&gt;
Number Of Drives    : 4&lt;br /&gt;
Span Depth          : 1&lt;br /&gt;
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Default Access Policy: Read/Write&lt;br /&gt;
Current Access Policy: Read/Write&lt;br /&gt;
Disk Cache Policy   : Disk's Default&lt;br /&gt;
Ongoing Progresses:&lt;br /&gt;
  Background Initialization: Completed 41%, Taken 933 min.&lt;br /&gt;
Encryption Type     : None&lt;br /&gt;
Default Power Savings Policy: Controller Defined&lt;br /&gt;
Current Power Savings Policy: None&lt;br /&gt;
Can spin up in 1 minute: Yes&lt;br /&gt;
LD has drives that support T10 power conditions: No&lt;br /&gt;
LD's IO profile supports MAX power savings with cached writes: No&lt;br /&gt;
Bad Blocks Exist: No&lt;br /&gt;
Is VD Cached: No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Virtual Drive: 2 (Target Id: 2)&lt;br /&gt;
Name                :&lt;br /&gt;
RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0&lt;br /&gt;
Size                : 18.189 TB&lt;br /&gt;
Sector Size         : 512&lt;br /&gt;
Mirror Data         : 18.189 TB&lt;br /&gt;
State               : Optimal&lt;br /&gt;
Strip Size          : 64 KB&lt;br /&gt;
Number Of Drives    : 2&lt;br /&gt;
Span Depth          : 1&lt;br /&gt;
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU&lt;br /&gt;
Default Access Policy: Read/Write&lt;br /&gt;
Current Access Policy: Read/Write&lt;br /&gt;
Disk Cache Policy   : Disk's Default&lt;br /&gt;
Ongoing Progresses:&lt;br /&gt;
  Background Initialization: Completed 4%, Taken 933 min.&lt;br /&gt;
Encryption Type     : None&lt;br /&gt;
Default Power Savings Policy: Controller Defined&lt;br /&gt;
Current Power Savings Policy: None&lt;br /&gt;
Can spin up in 1 minute: Yes&lt;br /&gt;
LD has drives that support T10 power conditions: No&lt;br /&gt;
LD's IO profile supports MAX power savings with cached writes: No&lt;br /&gt;
Bad Blocks Exist: No&lt;br /&gt;
Is VD Cached: No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Exit Code: 0x00&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
And here are the physical drives.  All eight drive bays are filled.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# megacli -pdlist -a0&lt;br /&gt;
                                     &lt;br /&gt;
Adapter #0&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 0&lt;br /&gt;
Drive's position: DiskGroup: 1, Span: 0, Arm: 0&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 0&lt;br /&gt;
WWN: 50014ee057c5c7cd&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 931.512 GB [0x74706db0 Sectors]&lt;br /&gt;
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]&lt;br /&gt;
Coerced Size: 931.0 GB [0x74600000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: 0C12&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221107000000&lt;br /&gt;
Connected Port Number: 7(path0) &lt;br /&gt;
Inquiry Data:      WD-WMATV8663060WDC WD1002FBYS-18W8B1                   03.00C12&lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 3.0Gb/s &lt;br /&gt;
Link Speed: 3.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :43C (109.40 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 3.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 1&lt;br /&gt;
Drive's position: DiskGroup: 1, Span: 0, Arm: 1&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 1&lt;br /&gt;
WWN: 50014ee057c5c5f4&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 931.512 GB [0x74706db0 Sectors]&lt;br /&gt;
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]&lt;br /&gt;
Coerced Size: 931.0 GB [0x74600000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: 0C12&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221106000000&lt;br /&gt;
Connected Port Number: 6(path0) &lt;br /&gt;
Inquiry Data:      WD-WMATV8635175WDC WD1002FBYS-18W8B1                   03.00C12&lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 3.0Gb/s &lt;br /&gt;
Link Speed: 3.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :47C (116.60 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 3.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 2&lt;br /&gt;
Drive's position: DiskGroup: 1, Span: 0, Arm: 2&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 2&lt;br /&gt;
WWN: 50014ee206916984&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 931.512 GB [0x74706db0 Sectors]&lt;br /&gt;
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]&lt;br /&gt;
Coerced Size: 931.0 GB [0x74600000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: 1V02&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221105000000&lt;br /&gt;
Connected Port Number: 1(path0) &lt;br /&gt;
Inquiry Data:      WD-WMAW30234603WDC WD1003FBYX-18Y7B0                   01.01V02&lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 3.0Gb/s &lt;br /&gt;
Link Speed: 3.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :44C (111.20 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 3.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 3&lt;br /&gt;
Drive's position: DiskGroup: 1, Span: 0, Arm: 3&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 3&lt;br /&gt;
WWN: 50014ee057c5c89b&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 931.512 GB [0x74706db0 Sectors]&lt;br /&gt;
Non Coerced Size: 931.012 GB [0x74606db0 Sectors]&lt;br /&gt;
Coerced Size: 931.0 GB [0x74600000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: 0C12&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221104000000&lt;br /&gt;
Connected Port Number: 2(path0) &lt;br /&gt;
Inquiry Data:      WD-WMATV8637476WDC WD1002FBYS-18W8B1                   03.00C12&lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 3.0Gb/s &lt;br /&gt;
Link Speed: 3.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :44C (111.20 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 3.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 4&lt;br /&gt;
Drive's position: DiskGroup: 0, Span: 0, Arm: 1&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 4&lt;br /&gt;
WWN: 5000C50072369C50&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SAS&lt;br /&gt;
&lt;br /&gt;
Raw Size: 279.396 GB [0x22ecb25c Sectors]&lt;br /&gt;
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]&lt;br /&gt;
Coerced Size: 278.875 GB [0x22dc0000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: YSFA&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x5000c50072369c51&lt;br /&gt;
SAS Address(1): 0x0&lt;br /&gt;
Connected Port Number: 4(path0) &lt;br /&gt;
Inquiry Data: SEAGATE ST9300453SS     YSFA6XN69MSN            &lt;br /&gt;
FDE Capable: Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 6.0Gb/s &lt;br /&gt;
Link Speed: 6.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :37C (98.60 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 6.0Gb/s &lt;br /&gt;
Port-1 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: Unknown &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 5&lt;br /&gt;
Drive's position: DiskGroup: 0, Span: 0, Arm: 0&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 5&lt;br /&gt;
WWN: 5000C50070D8CDEC&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 1&lt;br /&gt;
Last Predictive Failure Event Seq Number: 4812&lt;br /&gt;
PD Type: SAS&lt;br /&gt;
&lt;br /&gt;
Raw Size: 279.396 GB [0x22ecb25c Sectors]&lt;br /&gt;
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]&lt;br /&gt;
Coerced Size: 278.875 GB [0x22dc0000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: ES66&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x5000c50070d8cded&lt;br /&gt;
SAS Address(1): 0x0&lt;br /&gt;
Connected Port Number: 3(path0) &lt;br /&gt;
Inquiry Data: SEAGATE ST3300657SS     ES666SJ7P3BJ            &lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 6.0Gb/s &lt;br /&gt;
Link Speed: 6.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive Temperature :42C (107.60 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 6.0Gb/s &lt;br /&gt;
Port-1 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: Unknown &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : Yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 6&lt;br /&gt;
Drive's position: DiskGroup: 2, Span: 0, Arm: 0&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 6&lt;br /&gt;
WWN: 5000c500e5e26a83&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 18.190 TB [0x918600000 Sectors]&lt;br /&gt;
Non Coerced Size: 18.189 TB [0x918500000 Sectors]&lt;br /&gt;
Coerced Size: 18.189 TB [0x918500000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: EN01&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221101000000&lt;br /&gt;
Connected Port Number: 5(path0) &lt;br /&gt;
Inquiry Data:             ZVT3DWS4ST20000NE000-3G5101                     EN01    &lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 6.0Gb/s &lt;br /&gt;
Link Speed: 6.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive:  Not Certified&lt;br /&gt;
Drive Temperature :38C (100.40 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 6.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enclosure Device ID: 32&lt;br /&gt;
Slot Number: 7&lt;br /&gt;
Drive's position: DiskGroup: 2, Span: 0, Arm: 1&lt;br /&gt;
Enclosure position: 1&lt;br /&gt;
Device Id: 7&lt;br /&gt;
WWN: 5000c500e5e0b4b9&lt;br /&gt;
Sequence Number: 2&lt;br /&gt;
Media Error Count: 0&lt;br /&gt;
Other Error Count: 0&lt;br /&gt;
Predictive Failure Count: 0&lt;br /&gt;
Last Predictive Failure Event Seq Number: 0&lt;br /&gt;
PD Type: SATA&lt;br /&gt;
&lt;br /&gt;
Raw Size: 18.190 TB [0x918600000 Sectors]&lt;br /&gt;
Non Coerced Size: 18.189 TB [0x918500000 Sectors]&lt;br /&gt;
Coerced Size: 18.189 TB [0x918500000 Sectors]&lt;br /&gt;
Sector Size:  0&lt;br /&gt;
Firmware state: Online, Spun Up&lt;br /&gt;
Device Firmware Level: EN01&lt;br /&gt;
Shield Counter: 0&lt;br /&gt;
Successful diagnostics completion on :  N/A&lt;br /&gt;
SAS Address(0): 0x4433221100000000&lt;br /&gt;
Connected Port Number: 0(path0) &lt;br /&gt;
Inquiry Data:             ZVT4F6DGST20000NE000-3G5101                     EN01    &lt;br /&gt;
FDE Capable: Not Capable&lt;br /&gt;
FDE Enable: Disable&lt;br /&gt;
Secured: Unsecured&lt;br /&gt;
Locked: Unlocked&lt;br /&gt;
Needs EKM Attention: No&lt;br /&gt;
Foreign State: None &lt;br /&gt;
Device Speed: 6.0Gb/s &lt;br /&gt;
Link Speed: 6.0Gb/s &lt;br /&gt;
Media Type: Hard Disk Device&lt;br /&gt;
Drive:  Not Certified&lt;br /&gt;
Drive Temperature :36C (96.80 F)&lt;br /&gt;
PI Eligibility:  No &lt;br /&gt;
Drive is formatted for PI information:  No&lt;br /&gt;
PI: No PI&lt;br /&gt;
Drive's NCQ setting : N/A&lt;br /&gt;
Port-0 :&lt;br /&gt;
Port status: Active&lt;br /&gt;
Port's Linkspeed: 6.0Gb/s &lt;br /&gt;
Drive has flagged a S.M.A.R.T alert : No&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Exit Code: 0x00&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
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.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Computing&amp;diff=655</id>
		<title>Computing</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Computing&amp;diff=655"/>
		<updated>2024-02-23T14:13:16Z</updated>

		<summary type="html">&lt;p&gt;William: /* Other */ Add megaraid&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;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.&lt;br /&gt;
&lt;br /&gt;
==Operating Systems==&lt;br /&gt;
* [[MS-DOS]]&lt;br /&gt;
* [[UNIX]]&lt;br /&gt;
* [[Linux]]&lt;br /&gt;
* [[OpenBSD]]&lt;br /&gt;
* FreeBSD&lt;br /&gt;
* NetBSD&lt;br /&gt;
* [[Windows]]&lt;br /&gt;
&lt;br /&gt;
==Instant Messenger Systems==&lt;br /&gt;
* Briar&lt;br /&gt;
* Facebook Messenger&lt;br /&gt;
* Matrix&lt;br /&gt;
* [[Telegram]]&lt;br /&gt;
* Session&lt;br /&gt;
* [[Signal]]&lt;br /&gt;
* Whatsapp&lt;br /&gt;
==Games==&lt;br /&gt;
[[Commander Keen]]&lt;br /&gt;
==Cryptography==&lt;br /&gt;
* [[OpenSSL]]&lt;br /&gt;
* [[OpenSSH]]&lt;br /&gt;
* [[IKE]] and IPsec&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
* [[Printers]]&lt;br /&gt;
* [[Cisco Switches]]&lt;br /&gt;
* [[Megaraid SAS]]&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=IKE&amp;diff=654</id>
		<title>IKE</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=IKE&amp;diff=654"/>
		<updated>2023-09-15T22:46:04Z</updated>

		<summary type="html">&lt;p&gt;William: First save&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is about how to set up Internet Key Exchange for [[IPsec]] on OpenBSD&lt;br /&gt;
=== /etc/iked.conf ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ikev2 'responder_rsa' passive esp \&lt;br /&gt;
        from any to dynamic \&lt;br /&gt;
        local 21.32.43.54 peer any \&lt;br /&gt;
        srcid router.int.palfreman.com \&lt;br /&gt;
        config address 10.1.0.0/24 \&lt;br /&gt;
        tag &amp;quot;ROADW&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
PF firewall rules:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
# IKE&lt;br /&gt;
pass in log on egress proto udp from any to (egress) port {isakmp, ipsec-nat-t} tag IKED&lt;br /&gt;
pass in log on egress proto esp from any to (egress) tag IKED&lt;br /&gt;
pass log on enc0 tagged ROADW&lt;br /&gt;
match out log on egress inet tagged ROADW nat-to (egress:0)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Computing&amp;diff=653</id>
		<title>Computing</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Computing&amp;diff=653"/>
		<updated>2023-09-15T22:06:06Z</updated>

		<summary type="html">&lt;p&gt;William: /* Cryptography */ add IKE&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;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.&lt;br /&gt;
&lt;br /&gt;
==Operating Systems==&lt;br /&gt;
* [[MS-DOS]]&lt;br /&gt;
* [[UNIX]]&lt;br /&gt;
* [[Linux]]&lt;br /&gt;
* [[OpenBSD]]&lt;br /&gt;
* FreeBSD&lt;br /&gt;
* NetBSD&lt;br /&gt;
* [[Windows]]&lt;br /&gt;
&lt;br /&gt;
==Instant Messenger Systems==&lt;br /&gt;
* Briar&lt;br /&gt;
* Facebook Messenger&lt;br /&gt;
* Matrix&lt;br /&gt;
* [[Telegram]]&lt;br /&gt;
* Session&lt;br /&gt;
* [[Signal]]&lt;br /&gt;
* Whatsapp&lt;br /&gt;
==Games==&lt;br /&gt;
[[Commander Keen]]&lt;br /&gt;
==Cryptography==&lt;br /&gt;
* [[OpenSSL]]&lt;br /&gt;
* [[OpenSSH]]&lt;br /&gt;
* [[IKE]] and IPsec&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
* [[Printers]]&lt;br /&gt;
* [[Cisco Switches]]&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World:_Introduction&amp;diff=652</id>
		<title>The Vexation of the World: Introduction</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World:_Introduction&amp;diff=652"/>
		<updated>2023-09-06T19:50:05Z</updated>

		<summary type="html">&lt;p&gt;William: Start of intro&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The title speaks for itself on the tenor and content of this book. &amp;lt;i&amp;gt;&amp;quot;The Vexation of the World&amp;quot;&amp;lt;/i&amp;gt;, wants&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;i&amp;gt;[translation to be continued...]&amp;lt;/i&amp;gt;&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World&amp;diff=651</id>
		<title>The Vexation of the World</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World&amp;diff=651"/>
		<updated>2023-09-06T19:41:07Z</updated>

		<summary type="html">&lt;p&gt;William: Add Intro&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;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]].&lt;br /&gt;
*[[The Vexation of the World: Translator's forward|Translator's forward]]&lt;br /&gt;
*[[The Vexation of the World: Author note|Note about the author]]&lt;br /&gt;
*[[The Vexation of the World: Introduction|Introduction]]&lt;br /&gt;
#[[The Vexation of the World: Common Sense|Common Sense]]&lt;br /&gt;
#[[The Vexation of_the World: Environmentalism|Environmentalism]]&lt;br /&gt;
#[[The Vexation of_the World: Energy|Energy]]&lt;br /&gt;
#[[The Vexation of_the World: Multicultalism|Multicultural and Multi-ethnic Society]]&lt;br /&gt;
#[[The Vexation of_the World: Security|Security and Self Defence]]&lt;br /&gt;
#[[The Vexation of_the World: Home|Home]]&lt;br /&gt;
#[[The Vexation of_the World: Family|Family]]&lt;br /&gt;
#[[The Vexation of_the World: Country|Country]]&lt;br /&gt;
#[[The Vexation of_the World: LGBT+++_world|LGBT+++ World]]&lt;br /&gt;
#[[The Vexation of_the World: Taxation|Taxation]]&lt;br /&gt;
#[[The Vexation of_the World: The_New_City|The New City]]&lt;br /&gt;
#[[The Vexation of_the World: Animal_Rights|Animal Rights]]&lt;br /&gt;
*[[The Vexation of_the World: Acknowledgements|Acknowledgements]]&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World:_Author_note&amp;diff=650</id>
		<title>The Vexation of the World: Author note</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World:_Author_note&amp;diff=650"/>
		<updated>2023-09-06T19:17:02Z</updated>

		<summary type="html">&lt;p&gt;William: Authors note&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;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.&amp;lt;p&amp;gt;&lt;br /&gt;
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.&amp;lt;p&amp;gt; &lt;br /&gt;
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.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World&amp;diff=649</id>
		<title>The Vexation of the World</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World&amp;diff=649"/>
		<updated>2023-09-06T18:25:13Z</updated>

		<summary type="html">&lt;p&gt;William: Re-style chapters&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;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]].&lt;br /&gt;
*[[The Vexation of the World: Translator's forward|Translator's forward]]&lt;br /&gt;
*[[The Vexation of the World: Author note|Note about the author]]&lt;br /&gt;
#[[The Vexation of the World: Common Sense|Common Sense]]&lt;br /&gt;
#[[The Vexation of_the World: Environmentalism|Environmentalism]]&lt;br /&gt;
#[[The Vexation of_the World: Energy|Energy]]&lt;br /&gt;
#[[The Vexation of_the World: Multiculti|Multicultural and Multi-ethnic Society]]&lt;br /&gt;
#[[The Vexation of_the World: Security|Security and Self Defence]]&lt;br /&gt;
#[[The Vexation of_the World: Home|Home]]&lt;br /&gt;
#[[The Vexation of_the World: Family|Family]]&lt;br /&gt;
#[[The Vexation of_the World: Country|Country]]&lt;br /&gt;
#[[The Vexation of_the World: LGBT+++_world|LGBT+++ World]]&lt;br /&gt;
#[[The Vexation of_the World: Taxation|Taxation]]&lt;br /&gt;
#[[The Vexation of_the World: The_New_City|The New City]]&lt;br /&gt;
#[[The Vexation of_the World: Animal_Rights|Animal Rights]]&lt;br /&gt;
*[[The Vexation of_the World: Acknowledgements|Acknowledgements]]&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World:_Translator%27s_forward&amp;diff=648</id>
		<title>The Vexation of the World: Translator's forward</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World:_Translator%27s_forward&amp;diff=648"/>
		<updated>2023-09-06T18:21:17Z</updated>

		<summary type="html">&lt;p&gt;William: William moved page The Vexation of the World: Translators forward to The Vexation of the World: Translator's forward without leaving a redirect&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;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.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World:_Translator%27s_forward&amp;diff=647</id>
		<title>The Vexation of the World: Translator's forward</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World:_Translator%27s_forward&amp;diff=647"/>
		<updated>2023-09-06T18:19:48Z</updated>

		<summary type="html">&lt;p&gt;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&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;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.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World:_Translator%27s_forward&amp;diff=646</id>
		<title>The Vexation of the World: Translator's forward</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World:_Translator%27s_forward&amp;diff=646"/>
		<updated>2023-09-06T18:18:14Z</updated>

		<summary type="html">&lt;p&gt;William: My Forward&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;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.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World&amp;diff=645</id>
		<title>The Vexation of the World</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=The_Vexation_of_the_World&amp;diff=645"/>
		<updated>2023-09-06T18:15:41Z</updated>

		<summary type="html">&lt;p&gt;William: Title page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;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]].&lt;br /&gt;
*[[the-vexation-of-the-world-Translators_forward|Translator's forward]]&lt;br /&gt;
*[[the-vexation-of-the-world-Author_note|Note about the author]]&lt;br /&gt;
# [[the_vexation_of_the_world_Common_Sense|Common Sense]]&lt;br /&gt;
#[[the_vexation_of_the_world_Environmentalism|Environmentalism]]&lt;br /&gt;
#[[the_vexation_of_the_world_Energy|Energy]]&lt;br /&gt;
#[[the_vexation_of_the_world_Multiculti|Multicultural and Multi-ethnic Society]]&lt;br /&gt;
#[[the_vexation_of_the_world_Security|Security and Self Defence]]&lt;br /&gt;
#[[the_vexation_of_the_world_Home|Home]]&lt;br /&gt;
#[[the_vexation_of_the_world_Family|Family]]&lt;br /&gt;
#[[the_vexation_of_the_world_Country|Country]]&lt;br /&gt;
#[[the_vexation_of_the_world_LGBT+++_world|LGBT+++ World]]&lt;br /&gt;
#[[the_vexation_of_the_world_Taxation|Taxation]]&lt;br /&gt;
#[[the_vexation_of_the_world_The_New_City|The New City]]&lt;br /&gt;
#[[the_vexation_of_the_world_Animal_Rights|Animal Rights]]&lt;br /&gt;
*[[the_vexation_of_the_world_Acknowledgements|Acknowledgements]]&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Books&amp;diff=644</id>
		<title>Books</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Books&amp;diff=644"/>
		<updated>2023-09-06T17:30:30Z</updated>

		<summary type="html">&lt;p&gt;William: /* Politics */  rename&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Novels==&lt;br /&gt;
===[[Arnold Bennett]]===&lt;br /&gt;
====Clayhanger Trilogy====&lt;br /&gt;
* [[Clayhanger]]&lt;br /&gt;
* Hilda Lessways&lt;br /&gt;
* These Twain&lt;br /&gt;
====Other works====&lt;br /&gt;
* Grand Hotel Babylon&lt;br /&gt;
* [[The Card]]&lt;br /&gt;
* Buried Alive&lt;br /&gt;
===[[C.S. Lewis]]===&lt;br /&gt;
* [[Space Trilogy]]&lt;br /&gt;
&lt;br /&gt;
== Philosophy ==&lt;br /&gt;
* [[The World as Will and Representation]] by [[Arthur Schopenhauer]]&lt;br /&gt;
===[[Plato]]===&lt;br /&gt;
* [[The Republic]]&lt;br /&gt;
* [[The Gorgias]]&lt;br /&gt;
== History ==&lt;br /&gt;
* The History of Florence by Nicolo Machiavelli&lt;br /&gt;
* [[The Gun-Wielding Philanthropist]] by [[William H. Cooke]]&lt;br /&gt;
== Politics ==&lt;br /&gt;
* [[The Vexation of the World]] by General [[Roberto Vannacci]]&lt;br /&gt;
&lt;br /&gt;
== Religion ==&lt;br /&gt;
* [https://www.kingjamesbibleonline.org/Genesis-Chapter-1/ The Holy Bible]&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Books&amp;diff=643</id>
		<title>Books</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Books&amp;diff=643"/>
		<updated>2023-09-06T17:04:59Z</updated>

		<summary type="html">&lt;p&gt;William: Add world-vexxationed link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Novels==&lt;br /&gt;
===[[Arnold Bennett]]===&lt;br /&gt;
====Clayhanger Trilogy====&lt;br /&gt;
* [[Clayhanger]]&lt;br /&gt;
* Hilda Lessways&lt;br /&gt;
* These Twain&lt;br /&gt;
====Other works====&lt;br /&gt;
* Grand Hotel Babylon&lt;br /&gt;
* [[The Card]]&lt;br /&gt;
* Buried Alive&lt;br /&gt;
===[[C.S. Lewis]]===&lt;br /&gt;
* [[Space Trilogy]]&lt;br /&gt;
&lt;br /&gt;
== Philosophy ==&lt;br /&gt;
* [[The World as Will and Representation]] by [[Arthur Schopenhauer]]&lt;br /&gt;
===[[Plato]]===&lt;br /&gt;
* [[The Republic]]&lt;br /&gt;
* [[The Gorgias]]&lt;br /&gt;
== History ==&lt;br /&gt;
* The History of Florence by Nicolo Machiavelli&lt;br /&gt;
* [[The Gun-Wielding Philanthropist]] by [[William H. Cooke]]&lt;br /&gt;
== Politics ==&lt;br /&gt;
* [[The World Vexed]] by General [[Roberto Vannacci]]&lt;br /&gt;
== Religion ==&lt;br /&gt;
* [https://www.kingjamesbibleonline.org/Genesis-Chapter-1/ The Holy Bible]&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Cisco_Switches&amp;diff=642</id>
		<title>Cisco Switches</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Cisco_Switches&amp;diff=642"/>
		<updated>2023-09-06T16:29:44Z</updated>

		<summary type="html">&lt;p&gt;William: Untagged trunk ports&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;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).&lt;br /&gt;
&lt;br /&gt;
=== Goals ===&lt;br /&gt;
Broadly, create the VLAN, add and IP address to VLANs where needed, and move ports into the vlan.&lt;br /&gt;
== Fix idle timeout ==&lt;br /&gt;
Looking at &amp;lt;i&amp;gt;sh line vty 0&amp;lt;/i&amp;gt; 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.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;switch&amp;gt;sh line vty 0   &lt;br /&gt;
   Tty Typ     Tx/Rx    A Modem  Roty AccO AccI   Uses   Noise  Overruns   Int&lt;br /&gt;
*    1 VTY              -    -      -    -    -      8       0     0/0       -&lt;br /&gt;
&lt;br /&gt;
Line 1, Location: &amp;quot;&amp;quot;, Type: &amp;quot;xterm-256color&amp;quot;&lt;br /&gt;
Length: 24 lines, Width: 80 columns&lt;br /&gt;
Baud rate (TX/RX) is 9600/9600&lt;br /&gt;
Status: PSI Enabled, Ready, Active, No Exit Banner, Ctrl-c Enabled&lt;br /&gt;
  Automore On, Notify Process&lt;br /&gt;
Capabilities: none&lt;br /&gt;
Modem state: Ready&lt;br /&gt;
Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation&lt;br /&gt;
                ^^x    none   -     -       none         &lt;br /&gt;
Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session   Dispatch&lt;br /&gt;
               00:10:00        never                        none     not set&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
This is how I change it to thirty minutes&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
switch&amp;gt;en&lt;br /&gt;
Password: &lt;br /&gt;
switch#conf t         &lt;br /&gt;
Enter configuration commands, one per line.  End with CNTL/Z.&lt;br /&gt;
switch(config)#line vty 0 15    &lt;br /&gt;
switch(config-line)#exec-timeout 30 0&lt;br /&gt;
switch(config-line)#exit&lt;br /&gt;
switch(config)#exit&lt;br /&gt;
switch#disa&lt;br /&gt;
switch&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Now the timeout is thirty minutes. &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
switch&amp;gt;sh line vty 0&lt;br /&gt;
   Tty Typ     Tx/Rx    A Modem  Roty AccO AccI   Uses   Noise  Overruns   Int&lt;br /&gt;
*    1 VTY              -    -      -    -    -      8       0     0/0       -&lt;br /&gt;
&lt;br /&gt;
Line 1, Location: &amp;quot;&amp;quot;, Type: &amp;quot;xterm-256color&amp;quot;&lt;br /&gt;
Length: 24 lines, Width: 80 columns&lt;br /&gt;
Baud rate (TX/RX) is 9600/9600&lt;br /&gt;
Status: PSI Enabled, Ready, Active, No Exit Banner, Ctrl-c Enabled&lt;br /&gt;
  Automore On, Notify Process&lt;br /&gt;
Capabilities: none&lt;br /&gt;
Modem state: Ready&lt;br /&gt;
Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation&lt;br /&gt;
                ^^x    none   -     -       none         &lt;br /&gt;
Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session   Dispatch&lt;br /&gt;
               00:30:00        never                        none     not set&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Set IP address ==&lt;br /&gt;
So as to be able to telnet or SSH on (if supported) instead of using the serial console&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
switch#conf t                                                              &lt;br /&gt;
Enter configuration commands, one per line.  End with CNTL/Z.             &lt;br /&gt;
switch(config)#int vlan1                                                   &lt;br /&gt;
switch(config-if)#ip address 192.168.1.2 255.255.255.0                    &lt;br /&gt;
switch(config-if)#exit                                                                                                                  &lt;br /&gt;
switch(config)#ip default-gateway 192.168.1.1                                     &lt;br /&gt;
switch(config)#exit                                                              &lt;br /&gt;
switch#&amp;lt;/nowiki&amp;gt;                                   &lt;br /&gt;
                              &lt;br /&gt;
== Create VLANs ==&lt;br /&gt;
Looking at the vlan setup doesn't require enable but changing it does.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
switch&amp;gt;sh vlan&lt;br /&gt;
&lt;br /&gt;
VLAN Name                             Status    Ports&lt;br /&gt;
---- -------------------------------- --------- -------------------------------&lt;br /&gt;
1    default                          active    Gi1/0/1, Gi1/0/2, Gi1/0/3&lt;br /&gt;
                                                Gi1/0/4, Gi1/0/5, Gi1/0/6&lt;br /&gt;
                                                Gi1/0/7, Gi1/0/8, Gi1/0/9&lt;br /&gt;
                                                Gi1/0/10, Gi1/0/11, Gi1/0/12&lt;br /&gt;
                                                Gi1/0/13, Gi1/0/14, Gi1/0/15&lt;br /&gt;
                                                Gi1/0/16, Gi1/0/17, Gi1/0/18&lt;br /&gt;
                                                Gi1/0/19, Gi1/0/20, Gi1/0/21&lt;br /&gt;
                                                Gi1/0/22, Gi1/0/23, Gi1/0/24&lt;br /&gt;
                                                Gi1/0/25, Gi1/0/26, Gi1/0/27&lt;br /&gt;
                                                Gi1/0/28, Gi1/0/29, Gi1/0/30&lt;br /&gt;
                                                Gi1/0/31, Gi1/0/32, Gi1/0/33&lt;br /&gt;
                                                Gi1/0/34, Gi1/0/35, Gi1/0/36&lt;br /&gt;
                                                Gi1/0/37, Gi1/0/38, Gi1/0/39&lt;br /&gt;
                                                Gi1/0/40, Gi1/0/41, Gi1/0/42&lt;br /&gt;
                                                Gi1/0/43, Gi1/0/44, Gi1/0/45&lt;br /&gt;
                                                Gi1/0/46, Gi1/0/47, Gi1/0/48&lt;br /&gt;
                                                Gi1/0/49, Gi1/0/50, Gi1/0/51&lt;br /&gt;
                                                Gi1/0/52   &lt;br /&gt;
1002 fddi-default                     act/unsup &lt;br /&gt;
1003 trcrf-default                    act/unsup &lt;br /&gt;
1004 fddinet-default                  act/unsup &lt;br /&gt;
1005 trbrf-default                    act/unsup&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
switch&amp;gt;en  &lt;br /&gt;
Password: &lt;br /&gt;
switch#conf t&lt;br /&gt;
Enter configuration commands, one per line.  End with CNTL/Z.&lt;br /&gt;
switch(config)#vlan 30&lt;br /&gt;
switch(config-vlan)#name servers&lt;br /&gt;
switch(config-vlan)#exit&lt;br /&gt;
switch(config)#exit&lt;br /&gt;
switch#&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
=== Setup trunk to Switch 2 ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
switch#conf t    &lt;br /&gt;
Enter configuration commands, one per line.  End with CNTL/Z.&lt;br /&gt;
switch(config)#int gi1/0/4&lt;br /&gt;
switch(config-if)#switchport trunk encapsulation dot1q&lt;br /&gt;
switch(config-if)#switchport mode trunk&lt;br /&gt;
switch(config-if)#switchport trunk allowed vlan remove 1-4094&lt;br /&gt;
switch(config-if)#switchport trunk allowed vlan add 30,40&lt;br /&gt;
switch(config-if)#exit&lt;br /&gt;
switch(config)#exit&lt;br /&gt;
switch#&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
=== Setup trunk to Switch 1 ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
switch2#conf t   &lt;br /&gt;
Enter configuration commands, one per line.  End with CNTL/Z.&lt;br /&gt;
switch2(config)#int gi1/0/6&lt;br /&gt;
switch2(config-if)#switchport trunk encapsulation dot1q&lt;br /&gt;
switch2(config-if)#switchport mode trunk&lt;br /&gt;
switch2(config-if)#switchport trunk allowed vlan remove 1-4094&lt;br /&gt;
switch2(config-if)#switchport trunk allowed vlan add 30,40&lt;br /&gt;
switch2(config-if)#exit&lt;br /&gt;
switch2(config)#exit&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
This config can now be seen with sh run (only pasting the relevant section)&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
switch2#sh run&lt;br /&gt;
!&lt;br /&gt;
interface GigabitEthernet1/0/1&lt;br /&gt;
 switchport trunk encapsulation dot1q&lt;br /&gt;
 switchport trunk allowed vlan 30,40&lt;br /&gt;
 switchport mode trunk&lt;br /&gt;
!&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
=== Port with untagged and tagged traffic ===&lt;br /&gt;
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.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
!&lt;br /&gt;
interface GigabitEthernet1/0/2&lt;br /&gt;
 description white wire&lt;br /&gt;
 switchport trunk encapsulation dot1q&lt;br /&gt;
 switchport trunk native vlan 40&lt;br /&gt;
 switchport trunk allowed vlan 30,40,50&lt;br /&gt;
 switchport mode trunk&lt;br /&gt;
!&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
In the above config it is necessary to have the &amp;quot;native&amp;quot; vlan (the equivalent of an access vlan, &amp;quot;switchport access vlan 40&amp;quot;) also an allowed vlan for the trunk port.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=OpenBSD&amp;diff=641</id>
		<title>OpenBSD</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=OpenBSD&amp;diff=641"/>
		<updated>2023-07-22T22:56:04Z</updated>

		<summary type="html">&lt;p&gt;William: Adding information about setting up vlans&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;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. &lt;br /&gt;
&lt;br /&gt;
==Using PPPeE==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
In the following example the ethernet cable from the fiber media converter is plugged into em0 network interface&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# cat /etc/hostname.em0                                                        &lt;br /&gt;
mtu 1508 up&lt;br /&gt;
&lt;br /&gt;
# cat /etc/hostname.pppoe0                                                     &lt;br /&gt;
inet 0.0.0.0 255.255.255.255 NONE \&lt;br /&gt;
pppoedev em0 \&lt;br /&gt;
authproto chap authname 'my-user-name' authkey 'my-secret' \&lt;br /&gt;
mtu 1500 \&lt;br /&gt;
up&lt;br /&gt;
dest 0.0.0.1&lt;br /&gt;
!/sbin/route add default -ifp pppoe0 0.0.0.1&lt;br /&gt;
&lt;br /&gt;
# sh /etc/netstart&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[Todo: add a section of pf firewall usage in a router, for the above]&lt;br /&gt;
&lt;br /&gt;
== Using VLANs ==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
The current setup is this:&lt;br /&gt;
 # cat /etc/hostname.em1&lt;br /&gt;
 inet 10.0.1.1 255.255.255.0&lt;br /&gt;
That should be replaced with the singe word &amp;quot;up&amp;quot;&lt;br /&gt;
 # echo &amp;quot;up&amp;quot; &amp;gt; /etc/hostname.em1&lt;br /&gt;
 # cat /etc/hostname.em1&lt;br /&gt;
 up&lt;br /&gt;
The reason for this is we will no longer use the interface directly, only vlans within it.&lt;br /&gt;
Now setup the vlan interface. Our vlan is going to be vlan 40.&lt;br /&gt;
 # echo &amp;quot;inet 10.0.1.1 255.255.255.0 NONE vlan 40 vlandev em1&amp;quot; &amp;gt; /etc/hostname.vlan40&lt;br /&gt;
 # sh /etc/netstart&lt;br /&gt;
Then &amp;lt;b&amp;gt;apply changes to /etc/pf.conf&amp;lt;/b&amp;gt; to update your firewall to reflect that what was em1 is now vlan40 in firewall terms.&lt;br /&gt;
You can add as many more vlans as you need using the same technique.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Alpine_Linux&amp;diff=640</id>
		<title>Alpine Linux</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Alpine_Linux&amp;diff=640"/>
		<updated>2023-05-14T20:11:32Z</updated>

		<summary type="html">&lt;p&gt;William: Extra alpine details&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Minimalist traditionalist Linux distribution. Can be installed on a [[Raspberry Pi]] too.&lt;br /&gt;
&lt;br /&gt;
== Installation on Raspberry Pi ==&lt;br /&gt;
Set up the [[SD Card]] like so using fdisk, once you have idenfied the name of the sd-card device using [[dmesg]]:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ sudo fdisk /dev/mmcblk0&lt;br /&gt;
Welcome to fdisk (util-linux 2.37.2).&lt;br /&gt;
Changes will remain in memory only, until you decide to write them.&lt;br /&gt;
Be careful before using the write command.&lt;br /&gt;
&lt;br /&gt;
Command (m for help): p&lt;br /&gt;
Disk /dev/mmcblk0: 14.84 GiB, 15931539456 bytes, 31116288 sectors&lt;br /&gt;
Units: sectors of 1 * 512 = 512 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disklabel type: dos&lt;br /&gt;
Disk identifier: 0xb007d0b8&lt;br /&gt;
&lt;br /&gt;
Device         Boot  Start      End  Sectors  Size Id Type&lt;br /&gt;
/dev/mmcblk0p1 *      8192   532479   524288  256M  c W95 FAT32 (LBA)&lt;br /&gt;
/dev/mmcblk0p2      532480 31116287 30583808 14.6G 83 Linux&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure to set the bootable flag for the 256MB W95 partition above. Also needs to be LBA if not already.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Alpine_Linux&amp;diff=639</id>
		<title>Alpine Linux</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Alpine_Linux&amp;diff=639"/>
		<updated>2023-05-05T16:19:36Z</updated>

		<summary type="html">&lt;p&gt;William: First save Alpine Linux&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Minimalist traditionalist Linux distribution. Can be installed on a [[Rasperry Pi]] too.&lt;br /&gt;
&lt;br /&gt;
== Installation on Raspbery Pi ==&lt;br /&gt;
Set up the [[SD Card]] like so using fdisk, once you have idenfied the name of the sd-card device using [[dmesg]]:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ sudo fdisk /dev/mmcblk0&lt;br /&gt;
Welcome to fdisk (util-linux 2.37.2).&lt;br /&gt;
Changes will remain in memory only, until you decide to write them.&lt;br /&gt;
Be careful before using the write command.&lt;br /&gt;
&lt;br /&gt;
Command (m for help): p&lt;br /&gt;
Disk /dev/mmcblk0: 14.84 GiB, 15931539456 bytes, 31116288 sectors&lt;br /&gt;
Units: sectors of 1 * 512 = 512 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disklabel type: dos&lt;br /&gt;
Disk identifier: 0xb007d0b8&lt;br /&gt;
&lt;br /&gt;
Device         Boot  Start      End  Sectors  Size Id Type&lt;br /&gt;
/dev/mmcblk0p1        8192   532479   524288  256M  c W95 FAT32 (LBA)&lt;br /&gt;
/dev/mmcblk0p2      532480 31116287 30583808 14.6G 83 Linux&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Xubuntu&amp;diff=638</id>
		<title>Xubuntu</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Xubuntu&amp;diff=638"/>
		<updated>2023-05-05T16:12:35Z</updated>

		<summary type="html">&lt;p&gt;William: Xubuntu first save&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Popular laptop-orientated Ubuntu-variant. Better UI than Ubuntu.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Raspberry_Pi&amp;diff=637</id>
		<title>Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Raspberry_Pi&amp;diff=637"/>
		<updated>2023-05-05T16:10:51Z</updated>

		<summary type="html">&lt;p&gt;William: Raspberry Pi first save&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;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&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Raspbian&amp;diff=636</id>
		<title>Raspbian</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Raspbian&amp;diff=636"/>
		<updated>2023-05-05T16:09:37Z</updated>

		<summary type="html">&lt;p&gt;William: Raspbian first save&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Operating system of choice for the [[Raspberry Pi]]. Closely derived from [[Debian]].&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Debian&amp;diff=635</id>
		<title>Debian</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Debian&amp;diff=635"/>
		<updated>2023-05-05T16:08:22Z</updated>

		<summary type="html">&lt;p&gt;William: Debian page improved&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Premier server-orientated Linux distribution. Many distributions are downstream from this. Notoriously slow release cycle.&lt;br /&gt;
== Direct descendents ==&lt;br /&gt;
* Ubuntu&lt;br /&gt;
* [[Raspbian]]&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Debian&amp;diff=634</id>
		<title>Debian</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Debian&amp;diff=634"/>
		<updated>2023-05-05T16:07:07Z</updated>

		<summary type="html">&lt;p&gt;William: Debian first save&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Premier server-orientated Linux distribution. Many distributions are downstream from this. Notoriously slow release cycle.&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Linux&amp;diff=633</id>
		<title>Linux</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Linux&amp;diff=633"/>
		<updated>2023-05-05T16:06:00Z</updated>

		<summary type="html">&lt;p&gt;William: Create link for Linux distro subpages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Principle [[Unix]]-like operating systems used today. Divides into distributions:&lt;br /&gt;
== Linux Distributions ==&lt;br /&gt;
* [[Debian]]&lt;br /&gt;
** Ubuntu&lt;br /&gt;
*** [[Xubuntu]]&lt;br /&gt;
*** Lubuntu&lt;br /&gt;
*** Mint&lt;br /&gt;
** [[Raspbian]]&lt;br /&gt;
* Redhat&lt;br /&gt;
** Suse&lt;br /&gt;
** Centos&lt;br /&gt;
** Scientific Linx&lt;br /&gt;
* [[Alpine Linux]]&lt;br /&gt;
(indented to indicate descent)&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Linux&amp;diff=632</id>
		<title>Linux</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Linux&amp;diff=632"/>
		<updated>2023-05-05T16:04:56Z</updated>

		<summary type="html">&lt;p&gt;William: Basic Linux page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Principle [[Unix]]-like operating systems used today. Divides into distributions:&lt;br /&gt;
== Linux Distributions ==&lt;br /&gt;
* Debian&lt;br /&gt;
** Ubuntu&lt;br /&gt;
*** Xubuntu&lt;br /&gt;
*** Lubuntu&lt;br /&gt;
*** Mint&lt;br /&gt;
** Raspbian&lt;br /&gt;
* Redhat&lt;br /&gt;
** Suse&lt;br /&gt;
** Centos&lt;br /&gt;
** Scientific Linx&lt;br /&gt;
* [[Alpine Linux]]&lt;br /&gt;
(indented to indicate descent)&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
	<entry>
		<id>https://palfrepedia.palfreman.com/index.php?title=Cisco_Switches&amp;diff=631</id>
		<title>Cisco Switches</title>
		<link rel="alternate" type="text/html" href="https://palfrepedia.palfreman.com/index.php?title=Cisco_Switches&amp;diff=631"/>
		<updated>2023-05-05T15:51:38Z</updated>

		<summary type="html">&lt;p&gt;William: trunk setup&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;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).&lt;br /&gt;
&lt;br /&gt;
=== Goals ===&lt;br /&gt;
Broadly, create the VLAN, add and IP address to VLANs where needed, and move ports into the vlan.&lt;br /&gt;
== Fix idle timeout ==&lt;br /&gt;
Looking at &amp;lt;i&amp;gt;sh line vty 0&amp;lt;/i&amp;gt; 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.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;switch&amp;gt;sh line vty 0   &lt;br /&gt;
   Tty Typ     Tx/Rx    A Modem  Roty AccO AccI   Uses   Noise  Overruns   Int&lt;br /&gt;
*    1 VTY              -    -      -    -    -      8       0     0/0       -&lt;br /&gt;
&lt;br /&gt;
Line 1, Location: &amp;quot;&amp;quot;, Type: &amp;quot;xterm-256color&amp;quot;&lt;br /&gt;
Length: 24 lines, Width: 80 columns&lt;br /&gt;
Baud rate (TX/RX) is 9600/9600&lt;br /&gt;
Status: PSI Enabled, Ready, Active, No Exit Banner, Ctrl-c Enabled&lt;br /&gt;
  Automore On, Notify Process&lt;br /&gt;
Capabilities: none&lt;br /&gt;
Modem state: Ready&lt;br /&gt;
Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation&lt;br /&gt;
                ^^x    none   -     -       none         &lt;br /&gt;
Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session   Dispatch&lt;br /&gt;
               00:10:00        never                        none     not set&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
This is how I change it to thirty minutes&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
switch&amp;gt;en&lt;br /&gt;
Password: &lt;br /&gt;
switch#conf t         &lt;br /&gt;
Enter configuration commands, one per line.  End with CNTL/Z.&lt;br /&gt;
switch(config)#line vty 0 15    &lt;br /&gt;
switch(config-line)#exec-timeout 30 0&lt;br /&gt;
switch(config-line)#exit&lt;br /&gt;
switch(config)#exit&lt;br /&gt;
switch#disa&lt;br /&gt;
switch&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Now the timeout is thirty minutes. &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
switch&amp;gt;sh line vty 0&lt;br /&gt;
   Tty Typ     Tx/Rx    A Modem  Roty AccO AccI   Uses   Noise  Overruns   Int&lt;br /&gt;
*    1 VTY              -    -      -    -    -      8       0     0/0       -&lt;br /&gt;
&lt;br /&gt;
Line 1, Location: &amp;quot;&amp;quot;, Type: &amp;quot;xterm-256color&amp;quot;&lt;br /&gt;
Length: 24 lines, Width: 80 columns&lt;br /&gt;
Baud rate (TX/RX) is 9600/9600&lt;br /&gt;
Status: PSI Enabled, Ready, Active, No Exit Banner, Ctrl-c Enabled&lt;br /&gt;
  Automore On, Notify Process&lt;br /&gt;
Capabilities: none&lt;br /&gt;
Modem state: Ready&lt;br /&gt;
Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation&lt;br /&gt;
                ^^x    none   -     -       none         &lt;br /&gt;
Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session   Dispatch&lt;br /&gt;
               00:30:00        never                        none     not set&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Set IP address ==&lt;br /&gt;
So as to be able to telnet or SSH on (if supported) instead of using the serial console&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
switch#conf t                                                              &lt;br /&gt;
Enter configuration commands, one per line.  End with CNTL/Z.             &lt;br /&gt;
switch(config)#int vlan1                                                   &lt;br /&gt;
switch(config-if)#ip address 192.168.1.2 255.255.255.0                    &lt;br /&gt;
switch(config-if)#exit                                                                                                                  &lt;br /&gt;
switch(config)#ip default-gateway 192.168.1.1                                     &lt;br /&gt;
switch(config)#exit                                                              &lt;br /&gt;
switch#&amp;lt;/nowiki&amp;gt;                                   &lt;br /&gt;
                              &lt;br /&gt;
== Create VLANs ==&lt;br /&gt;
Looking at the vlan setup doesn't require enable but changing it does.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
switch&amp;gt;sh vlan&lt;br /&gt;
&lt;br /&gt;
VLAN Name                             Status    Ports&lt;br /&gt;
---- -------------------------------- --------- -------------------------------&lt;br /&gt;
1    default                          active    Gi1/0/1, Gi1/0/2, Gi1/0/3&lt;br /&gt;
                                                Gi1/0/4, Gi1/0/5, Gi1/0/6&lt;br /&gt;
                                                Gi1/0/7, Gi1/0/8, Gi1/0/9&lt;br /&gt;
                                                Gi1/0/10, Gi1/0/11, Gi1/0/12&lt;br /&gt;
                                                Gi1/0/13, Gi1/0/14, Gi1/0/15&lt;br /&gt;
                                                Gi1/0/16, Gi1/0/17, Gi1/0/18&lt;br /&gt;
                                                Gi1/0/19, Gi1/0/20, Gi1/0/21&lt;br /&gt;
                                                Gi1/0/22, Gi1/0/23, Gi1/0/24&lt;br /&gt;
                                                Gi1/0/25, Gi1/0/26, Gi1/0/27&lt;br /&gt;
                                                Gi1/0/28, Gi1/0/29, Gi1/0/30&lt;br /&gt;
                                                Gi1/0/31, Gi1/0/32, Gi1/0/33&lt;br /&gt;
                                                Gi1/0/34, Gi1/0/35, Gi1/0/36&lt;br /&gt;
                                                Gi1/0/37, Gi1/0/38, Gi1/0/39&lt;br /&gt;
                                                Gi1/0/40, Gi1/0/41, Gi1/0/42&lt;br /&gt;
                                                Gi1/0/43, Gi1/0/44, Gi1/0/45&lt;br /&gt;
                                                Gi1/0/46, Gi1/0/47, Gi1/0/48&lt;br /&gt;
                                                Gi1/0/49, Gi1/0/50, Gi1/0/51&lt;br /&gt;
                                                Gi1/0/52   &lt;br /&gt;
1002 fddi-default                     act/unsup &lt;br /&gt;
1003 trcrf-default                    act/unsup &lt;br /&gt;
1004 fddinet-default                  act/unsup &lt;br /&gt;
1005 trbrf-default                    act/unsup&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
switch&amp;gt;en  &lt;br /&gt;
Password: &lt;br /&gt;
switch#conf t&lt;br /&gt;
Enter configuration commands, one per line.  End with CNTL/Z.&lt;br /&gt;
switch(config)#vlan 30&lt;br /&gt;
switch(config-vlan)#name servers&lt;br /&gt;
switch(config-vlan)#exit&lt;br /&gt;
switch(config)#exit&lt;br /&gt;
switch#&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
=== Setup trunk to Switch 2 ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
switch#conf t    &lt;br /&gt;
Enter configuration commands, one per line.  End with CNTL/Z.&lt;br /&gt;
switch(config)#int gi1/0/4&lt;br /&gt;
switch(config-if)#switchport trunk encapsulation dot1q&lt;br /&gt;
switch(config-if)#switchport mode trunk&lt;br /&gt;
switch(config-if)#switchport trunk allowed vlan remove 1-4094&lt;br /&gt;
switch(config-if)#switchport trunk allowed vlan add 30,40&lt;br /&gt;
switch(config-if)#exit&lt;br /&gt;
switch(config)#exit&lt;br /&gt;
switch#&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
=== Setup trunk to Switch 1 ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
switch2#conf t   &lt;br /&gt;
Enter configuration commands, one per line.  End with CNTL/Z.&lt;br /&gt;
switch2(config)#int gi1/0/6&lt;br /&gt;
switch2(config-if)#switchport trunk encapsulation dot1q&lt;br /&gt;
switch2(config-if)#switchport mode trunk&lt;br /&gt;
switch2(config-if)#switchport trunk allowed vlan remove 1-4094&lt;br /&gt;
switch2(config-if)#switchport trunk allowed vlan add 30,40&lt;br /&gt;
switch2(config-if)#exit&lt;br /&gt;
switch2(config)#exit&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
This config can now be seen with sh run (only pasting the relevant section)&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
switch2#sh run&lt;br /&gt;
!&lt;br /&gt;
interface GigabitEthernet1/0/1&lt;br /&gt;
 switchport trunk encapsulation dot1q&lt;br /&gt;
 switchport trunk allowed vlan 30,40&lt;br /&gt;
 switchport mode trunk&lt;br /&gt;
!&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>William</name></author>
	</entry>
</feed>