Wednesday, September 13, 2006

Shadow volumes

I mentioned a few months ago something called Shadow Volumes. I just noticed something today in ncpcon on the test server that grabbed my eye something fierce:
BENCHTEST-LIN:help

change volume
config
connection
create shadow_volume
create volume
dismount
exit
help
mount
purge volume
remove volume
rights
send
shadow
shift
stats
volume
enable login
disable login
files
Note the bolded commands. Perhaps Novell has slipped in Shadow Volumes in a post-SP2 update? Doing help on the 'create shadow_volume' command gives this output:

BENCHTEST-LIN:help create shadow_volume

NAME: create shadow_volume - Create NCP shadow volume

SYNTAX:
create shdadow_volume ncp_volume_name path

DESCRIPTION:
Use this command to create an association between an NCP volume
and a NCP shadow volume. This command only adds the NCP shadow
volume mount information to "/etc/opt/novell/ncpserv.conf".

This command can be added to a cluster load script.

You can run ncpcon console commands without entering NCPCON by
prefacing the command with ncpcon.



EXAMPLE:
create shadow_volume vol1 /home/shadows/vol1
and "help shadow"
BENCHTEST-LIN:help shadow

NAME: shadow - Perform Shadow Volume operations on a NCP Volume - (null)

SYNTAX:
shadow volumename operation [options]

DESCRIPTION:
You can run ncpcon console commands without entering NCPCON by
prefacing the command with ncpcon.


OPTIONS:
operation=[lp][ls][mp][ms] - (lp) List primary files
(ls) List shadow files
(mp) Move files to primary
(ms) Move files to shadow

pattern="searchPattern" - File pattern to match against

owner="username.context" - Username and Context

uid=uidValue - User ID

time=[m][a][c] - (m) Last Time Modified (a) Last Time Accessed
(c) Last Time Changed

range=[time period] - See Time period

size=[size differential] = See Size differential

output="filename" - Output all results to the specified filename

time period=[a][b][c][d][e][f][g][h][i][j]
(a) Within Last Day
(b) 1 Day - 1 Week
(c) 1 Week - 2 Weeks
(d) 2 Weeks - 1 Month
(e) 1 Month - 2 Months
(f) 2 Months - 4 Months
(g) 4 Months - 6 Months
(h) 6 Months - 1 Year
(i) 1 Year - 2 Years
(j) More Than 2 Years

size differential=[a][b][c][d][e][f][g][h][i][j][k]
(a) Less than 1KB
(b) 1 KB - 4 KB
(c) 4 KB - 16 KB
(d) 16 KB - 64 KB
(e) 64 KB - 256 KB
(f) 256 KB - 1 MB
(g) 1 MB - 4 MB
(h) 4 MB - 16 MB
(i) 16 MB - 64 MB
(j) 64 MB - 256 MB
(k) More than 256 MB


EXAMPLE:

Yes, 'EXAMPLE:' is blank in the HELP. Hmmmmmm. I don't see any documentation updates, but those commands are indeed present. Richard Jones mentioned that shadow volumes are an OES2 feature, and to try it out in the beta. Perhaps there is an OES2 beta in the near future? Who knows.

Tags: ,

Labels: ,


Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?