Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

zfs Speicherort der Snapshots in Unraid

Featured Replies

Hallo,

 

ich teste gerade die zfs Funktionen und habe Snapshots vom Cache erstellt. Das Erstellen funktioniert, per Konsole kann man die Snapshots auflisten. Laut Internet soll man dann die Snapshots im Stammverzeichnis mit dem Namen .zfs/snapshot finden. Ich finde aber keinen Ordner der so beginnt, habe schon in / und in /mnt und in /mnt/cache gesucht aber finde dort nichts.

 

 

They are hidden by default, they will be under the dataset snapshotted, e.g., if you snapshotted:

 

zfs snapshot cache/dataset_name@now

they will be under

/mnt/cache/dataset_name/.zfs/snapshot

just do cd /mnt/cache/dataset_name/.zfs/snapshot

 

 

Wie erstellst du die snapshots? Ich habe meine Cache-Laufwerke in ZFS umformatiert. und wollte das Ganze mal testen.

I use a very basic script made by me, there's a snapshot plugin, but I believe for now is mostly for btrfs, zfs support is still being added.

  • Author
1 hour ago, blinddark said:

Wie erstellst du die snapshots? Ich habe meine Cache-Laufwerke in ZFS umformatiert. und wollte das Ganze mal testen.

Du öffnest das Terminal in Unraid und tippst einfach:  zfs snapshot -r cache@irgendeinebezeichnung . Das vor dem @ ist der name des zfs pools, bei mir heißt er cache und nach dem @ schreibst du deine Snapshot-Bezeichnung rein.

Mit: zfs list -t snapshot siehst du deine snapshots und was diese an Speicher belegen.

Mit: zfs destroy -r cache@irgendeinebezeichnung löscht du den Snapshot, also nach dem rumspielen daran denken wieder alles zu löschen weil das mit der Zeit enetuell viel Speicherplat verbraucht und man später nicht versteht was da im Hintergrund den Speicher belegt.

Mit: cd /mnt/cache/.zfs/snapshot kommst du in den Snapshot rein, dann ls eintippen und du siehtst deine Snapshot Ordner. Der Pfad ist wirklich unsichtbar und muss direkt eingegeben werden.

Man kann die Snapshots auch mounten wie ein Laufwerk.

 

  • Community Expert

Um bei dem obigen Beispiel zu bleiben:

 

Ins Verzeichnis Wechseln

cd /mnt/cache

 

Und dann sollte

ls -a

alles listen. Auch Unsichtbares (mit führendem Punkt).

Edited by saber1

  • 3 months later...
On 5/23/2023 at 8:54 PM, Artur01 said:

Du öffnest das Terminal in Unraid und tippst einfach:  zfs snapshot -r cache@irgendeinebezeichnung . Das vor dem @ ist der name des zfs pools, bei mir heißt er cache und nach dem @ schreibst du deine Snapshot-Bezeichnung rein.

Mit: zfs list -t snapshot siehst du deine snapshots und was diese an Speicher belegen.

Mit: zfs destroy -r cache@irgendeinebezeichnung löscht du den Snapshot, also nach dem rumspielen daran denken wieder alles zu löschen weil das mit der Zeit enetuell viel Speicherplat verbraucht und man später nicht versteht was da im Hintergrund den Speicher belegt.

Mit: cd /mnt/cache/.zfs/snapshot kommst du in den Snapshot rein, dann ls eintippen und du siehtst deine Snapshot Ordner. Der Pfad ist wirklich unsichtbar und muss direkt eingegeben werden.

Man kann die Snapshots auch mounten wie ein Laufwerk.

 

Wie kann ich die Snapshots denn als Laufwerk mounten bzw. ein SMB zugriff einrichten?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.