Difference between revisions of "Quick Notes"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
Line 33: Line 33:


== On the PVE Server: ==
== On the PVE Server: ==
(setting up the storage for the test LXCs...)
* <code>mkdir /mnt/Storage-0</code>
* <code>mkdir /mnt/Storage-1</code>
* <code>mount -L Storage-0 /mnt/Storage-0</code>
* <code>mount -L Storage-1 /mnt/Storage-1</code>
* <code>vi /etc/fstab</code>
LABEL=Storage-0    /mnt/Storage-0    ext4  defaults 0 0
LABEL=Storage-1    /mnt/Storage-1    ext4  defaults 0 0
* <code>pct set 999001 -mp0 /mnt/Storage-0,mp=/mnt/Storage # storage</code>
* <code>pct set 999002 -mp0 /mnt/Storage-1,mp=/mnt/Storage # backup</code>
== On "storage" ==
== On "storage" ==
== On "backup" ==
== On "backup" ==

Revision as of 00:34, 2 February 2025

Sections here are really just placeholders with enough information to get started on building actual articles...

Better Permissions Handling

Proven on:
Logo Debian.png
12 (bookworm)
  • sudo apt install acl
  • sudo mkdir /FOOBAR
  • sudo chown -R :users /FOOBAR
  • sudo chmod -R g+ws /FOOBAR
  • sudo setfacl -Rdm g:users:rx /FOOBAR

Now, the directory /FOOBAR is writeable by anyone in the users group.

Some Links

Development Testing for a Backup Server

Proven on:
Logo Debian.png
12 (bookworm)

On the PVE Server:

(setting up the storage for the test LXCs...)

  • mkdir /mnt/Storage-0
  • mkdir /mnt/Storage-1
  • mount -L Storage-0 /mnt/Storage-0
  • mount -L Storage-1 /mnt/Storage-1
  • vi /etc/fstab
LABEL=Storage-0     /mnt/Storage-0    ext4   defaults 0 0
LABEL=Storage-1     /mnt/Storage-1    ext4   defaults 0 0
  • pct set 999001 -mp0 /mnt/Storage-0,mp=/mnt/Storage # storage
  • pct set 999002 -mp0 /mnt/Storage-1,mp=/mnt/Storage # backup

On "storage"

On "backup"