06-03-2010
External Snapshot using previously defined lv
I prefer to assign my own lv names rather than the automatic LV creation that the snapshot
Can it be done or is IBM's man page flawed?
I am on AIX 6.1 TL 04 Machine type 9133-55A
All local SCSI storage.
I manually create the lv and attempt to create the snapshot:
# mklv -y snapfs99 -t'jfs2' tempvg 1
snapfs99
# /usr/sbin/snapshot -o snapfrom=/clarity -n snapfs99
snapshot: /dev/prdlv27: Operation not permitted.
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi all
Please may you help.
I want to put my unix application backup files using tar cv8 * from a specific folder e.g /u1/sage
With new tapes SONY 4mm-DL 90m i can do it with no problem at all. Now I have run out of tapes and I need to use the same kind but they were once used to back... (5 Replies)
Discussion started by: isaac
5 Replies
2. UNIX for Dummies Questions & Answers
OS: Unix or Linux
I (only) know the pid of the process which was running earlier (say 5 hrs back) but it is not running now.
Is there a way I could find the details of that process? (atleast the name of the process). Please let me know. (2 Replies)
Discussion started by: vijay.d
2 Replies
3. UNIX for Dummies Questions & Answers
Is there a way to go back to the previously visited directory?
say im in /dir1 then went to /dir2 and wanted to go back to /dir1.
besides from aliasing every directory i have, i was wondering if there's a way to maybe alias a command to go to the previously visited directory just to make it more... (8 Replies)
Discussion started by: swag:þ
8 Replies
4. Linux
Hi,
In HP-UNIX I used to use ! before the command and type a portion of the comnand then if that command was previously run the whole line used to appear.
Eg : wc -l samplefile.txt
Next if I type !wc And Tab the previously run command would appear on the command prompt.
How to achive this... (2 Replies)
Discussion started by: preethgideon
2 Replies
5. Shell Programming and Scripting
I want to replace a certain pattern with the variable already defined.
e.g.
set path_verilog = /home/priya/bin/verilogfile
my file contents are :
verilog new
verilog is defined here verilog_path_comes
I am using the below command
sed 's/verilog_path_comes/'$path_verilog'/g' <filename>... (2 Replies)
Discussion started by: nehashine
2 Replies
6. Shell Programming and Scripting
I have changed the premission of a file to 777. Now I would like to change permission to previously used ( UNDO ). Is there any command ?:confused: (3 Replies)
Discussion started by: frintocf
3 Replies
7. Shell Programming and Scripting
while i've used arrays to work with variables, i've never used them to loop through a set of strings and wanted to ask the community for some feedback or assistance.
let me be specific. here's my code:
# URL port Variables
port2195=`nc -z $url2195 2195`
port2196=`nc -z $url2196 2196`... (5 Replies)
Discussion started by: hungryd
5 Replies
8. AIX
Right, now that I've finally worked out this website, I'll ask my question!
I am having an absolute nightmare with NFS on AIX. I have used it many times, and I know what I'm doing, however I cannot fathom what is going on here. I have 2 LPARs, sitting on the same physical host. They are... (12 Replies)
Discussion started by: tmooredba
12 Replies
LEARN ABOUT REDHAT
fssnap
fssnap(1M) System Administration Commands fssnap(1M)
NAME
fssnap - create temporary snapshots of a file system
SYNOPSIS
fssnap [-F FSType] [-V] -o special_options /mount/point
fssnap -d [-F FSType] [-V] /mount/point | dev
fssnap -i [-F FSType] [-V] [-o special_options] [/mount/point | dev]
DESCRIPTION
The fssnap command creates a stable, read-only snapshot of a file system when given either an active mount point or a special device con-
taining a mounted file system, as in the first form of the synopsis. A snapshot is a temporary image of a file system intended for backup
operations.
While the snapshot file system is stable and consistent, an application updating files when the snapshot is created might leave these files
in an internally inconsistent, truncated, or otherwise unusable state. In such a case, the snapshot will contain these partially written or
corrupted files. It is a good idea to ensure active applications are suspended or checkpointed and their associated files are also consis-
tent during snapshot creation.
File access times are not updated while the snapshot is being created.
A path to the virtual device that contains this snapshot is printed to standard output when a snapshot is created.
OPTIONS
The following options are supported:
-d Deletes the snapshot associated with the given file system.
-F FSType Specifies the file system type to be used. The FSType should either be specified here or be determined by matching
the block special device with an entry in the /etc/vfstab table, or by consulting /etc/default/fs.
-i Displays the state of any given FSType snapshot. If a mount-point or device is not given, a list of all snapshots
on the system is displayed. When a mount-point or device is specified, detailed information is provided for the
specified file system snapshot by default. The format and meaning of this information is file-system dependent. See
the FSType-specific fssnap man page for details.
-o special_options See the FSType-specific man page for fssnap.
-V Echoes the complete command line, but does not execute the command.
OPERANDS
The following operands are supported:
/mount/point The directory where the file system resides.
EXAMPLES
See FSType-specific man pages for examples.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
FILES
/etc/vfstab Specifies file system type.
/etc/default/fs Specifies the default local file system type.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
fssnap_ufs(1M), attributes(5)
NOTES
This command might not be supported for all FSTypes.
SunOS 5.10 11 Aug 2004 fssnap(1M)