Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Veritas Question

  • 20-06-2001 05: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