4,348
edits
→Adding a new disk to a LVM: separating out /srv to a dedicated LVM |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 72: | Line 72: | ||
* xargs - to be processed - [http://offbytwo.com/2011/06/26/things-you-didnt-know-about-xargs.html Things you (probably) didn’t know about xargs] | * xargs - to be processed - [http://offbytwo.com/2011/06/26/things-you-didnt-know-about-xargs.html Things you (probably) didn’t know about xargs] | ||
Ignore "Permission denied" errors | |||
<syntaxhighlight lang="bash"> | |||
$ find . 2>&1 | grep -si "sfrrgam" | |||
</syntaxhighlight> | |||
== LVM == | == LVM == | ||
Line 368: | Line 374: | ||
=== Separating out /srv to a dedicated LVM === | === Separating out /srv to a dedicated LVM === | ||
{{testedon|2023-10-09|RHEL 8.8}}. LoboCloud VM w/ 250 addl. | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
# pvcreate /dev/sdb | # pvcreate /dev/sdb | ||
# vgcreate vgapps /dev/sdb | # vgcreate vgapps /dev/sdb | ||
Line 585: | Line 592: | ||
|- | |- | ||
| Check for an open port | | Check for an open port | ||
| class="cli" | $ nc -zv 192.168.86.108 1523 | | class="cli" | $ nc -zv 192.168.86.108 1523<br/>$ cat < /dev/tcp/host.server.com/22 | ||
| | | | ||
|} | |} |