Skip to content

Commit

Permalink
Update zfs_snapshots.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrahan41 committed Apr 12, 2021
1 parent 7e0f61a commit 437f799
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/petalibrary/zfs_snapshots.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
### ZFS Snapshots
## ZFS Snapshots

# Overview
### Overview

Every ZFS-based PetaLibrary allocation has snapshots enabled by default.
ZFS snapshots are read-only representations of a ZFS filesystem at the
time the snapshot is taken. Many allocations still reside in BeeGFS where
snapshots are not available; we expect to complete migrations from BeeGFS
to ZFS by the end of 2021.

# How to access snapshots
### How to access snapshots

Snapshots are accessible in the root of the filesystem. If, for example,
your allocation is located in /pl/active/rcops, your snapshots are
accessible in /pl/active/rcops/.zfs/snapshot. Note that the .zfs directory
your allocation is located in `/pl/active/rcops`, your snapshots are
accessible in `/pl/active/rcops/.zfs/snapshot`. Note that the `.zfs` directory
is not visible to any utilities that list directory contents, so an 'ls'
of the .zfs directory will fail, although you can 'cd' to it.
of the `.zfs` directory will fail, although you can 'cd' to it.

Snapshots times are in UTC, which is not affected by daylight savings
time. To convert from UTC to MDT, subtract six hours, and to convert
from UTC to MST, subtract seven hours.

# How snapshots affect free space in your allocation
### How snapshots affect free space in your allocation

PetaLibrary allocation sizes are set with quotas, and snapshot use does
count against your quota. Removing a file from your filesystem will
Expand All @@ -31,7 +31,7 @@ can cause confusion about how space is utilized within an allocation,
the default snapshot schedule discards snapshots that are more than one
week old.

# Default snapshot schedule
### Default snapshot schedule

The default snapshot schedule is as follows:

Expand Down

0 comments on commit 437f799

Please sign in to comment.