Modify, create or view properties of snapshots.
snapshot { -o snapfrom=snappedFS -o size=Size | {-d [-s] | -q [-cfieldSeparator] | -o snapfrom=snappedFS | -o size=Size} Object}
Provides an interface to JFS2 snapshots.
Object | Use depends on other flags specified, see flag description for interpretation of Object. This may be a device or a file system. |
snapshot -o snapfrom=/home/janet/sb /dev/snapsbThis command creates a snapshot for the /home/janet/sb file system on the /dev/snapsb logical volume, which already exists.
snapshot -o snapfrom=/home/janet/sb -o size=16MThis command creates a 16-megabyte logical volume and creates a snapshot for the /home/janet/sb file system on the newly created logical volume.
snapshot -q /home/janet/sbThis command displays each snapshot for the /home/janet/sb file system along with the time when the snapshot was taken, the size of the snapshot storage object, and the remaining free space.
snapshot -o size=64M /dev/snapsbThis command increases the /dev/snapsb device to 64 megabytes along with the snapshot contained on the device.
snapshot -d /dev/snapsbThis command deletes the snapshot contained on the /dev/snapsb device and removes the /dev/snapsb logical volume .