Boards.ie uses cookies. By continuing to browse this site you are agreeing to our use of cookies. Click here to find out more x
Post Reply  
 
Thread Tools Search this Thread
20-06-2001, 17:22   #1
Catch_22
Registered User
 
Catch_22's Avatar
 
Join Date: Feb 1998
Location: dublin
Posts: 428
Veritas Question

ok i have a bit of a problem with creating a snapshot of a file system with veritas

heres the scenario, lets say we have a file system "create" made by:

(its only 20 meg to demonstrate the point)
# vxassist make create 20m
# mkfs -F vxfs /dev/vx/rdsk/create


then we have a filesystem which we want to be the snapshot:

# vxassist make create_SNAPSHOT 20m
# mkfs -F vxfs /dev/vx/rdsk/create_SNAPSHOT

now we mount the first one & chuck a few files in it

# mount -F vxfs /dev/vx/dsk/create /create

# find /tmp -depth |cpio -pdumv /create

then to create the snapshot i should be able to do:

#mount -F vxfs -o snapof=/dev/vx/dsk/create,snapsize=20m /dev/vx/dsk/create_SNAPSHOT /create_SNAPSHOT

but this returns

vxfs mount: /dev/vx/dsk/create is not a vxfs file system

so i try using the mount point rather than the device, i.e.

#mount -F vxfs -o snapof=/create,snapsize=20m /dev/vx/dsk/create_SNAPSHOT /create_SNAPSHOT

results in same error

the file systems are definately vxfs as shown by the mkfs commands -- they are also listed by df -g and vxprint as vxfs

so anyone any idea whats going on ??


thanx

c22
Catch_22 is offline  
Advertisement
20-06-2001, 19:42   #2
Catch_22
Registered User
 
Catch_22's Avatar
 
Join Date: Feb 1998
Location: dublin
Posts: 428
to save anyone replying the solution is the snapsize= parameter should be in sectors rather than bytes

c22
Catch_22 is offline  
Post Reply

Quick Reply
Message:
Remove Text Formatting
Bold
Italic
Underline

Insert Image
Wrap [QUOTE] tags around selected text
 
Decrease Size
Increase Size
Please sign up or log in to join the discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search