Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Veritas Question

  • 20-06-2001 4:22pm
    #1
    Registered Users, Registered Users 2 Posts: 432 ✭✭


    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


Comments

  • Registered Users, Registered Users 2 Posts: 432 ✭✭Catch_22


    to save anyone replying the solution is the snapsize= parameter should be in sectors rather than bytes

    c22


Advertisement