ONTAP Discussions

snapdrive snap create failed

jimshomer
6,213 Views

Can snapdrive creates a snapshot of a 'connected' file system?

1) on host A I created a snapshot using "snapdrive snap create -fs /home/data -snapname mysnap"

2) on host B I then connected to the filesystem "snapdrive snap connect -fs /home/data -snapname mysnap"
3) on host B I tried to create a snapshot "snapdrive snap create -fs /home/data -snapname xxxxxx"

3 REPLIES 3

jimshomer
6,069 Views

sorry, here is the rest of the question.

----

snapdrive camback with the following error:


     Starting snap create /home/data
          WARNING:  DO NOT CONTROL-C!
          If snap create is interrupted, incomplete snapdrive
                 generated data may remain on the filer volume(s)
                 which may interfere with other snap operations.
              0001-016 Command error: Could not acquire lock file on storage system -
              more than one instance of snapdrive may be trying to create snapshots.

      If no other instance is trying to create a snapshot (even on other hosts),
      please delete file /vol/vol1_0/.snapdrive_lock on storage system netapp and retry.
      To delete the file, login to storage system netapp, enter advanced privilege
      mode and execute the command
      'rm /vol/vol1_0/.snapdrive_lock' at storage system prompt.

I tried this several time and very sure no one else is trying to take a snapshot

of the file system.

Is this the way it is supposed to work? Am I doing something wrong?

Many thanks

JS

tshah
6,069 Views

I am seeing similar error when trying to take snapshot through SMO

--[ INFO] SD-00017: Finished storage discovery for /cmadbf.

--[ INFO] SD-00001: Beginning snapshot with name smo_dbrestore_psprod_f_c_1_ff8080812f01f3a8012f01f3abd20001_0 for [cmadbf_SdDg, cmaarch_SdDg].

--[ERROR] FLOW-11019: Failure in CreateSnapshotForBucket: SD-00003: Error creating snapshot: SD-10016: Error executing snapdrive command "/usr/sbin/snapdrive snap create -vg cmaarch_SdDg -vg cmadbf_SdDg -snapname smo_dbrestore_psprod_f_c_1_ff8080812f01f3a8012f01f3abd20001_0 -unrelated": Starting snap create /dev/mapper/cmaarch_SdDg, /dev/mapper/cmadbf_SdDg

  WARNING:  DO NOT CONTROL-C!

            If snap create is interrupted, incomplete snapdrive

                         generated data may remain on the filer volume(s)

                         which may interfere with other snap operations.

0001-123 Admin error: Failed to create snapshot smo_dbrestore_psprod_f_c_1_ff8080812f01f3a8012f01f3abd20001_0.CREATE_INCOMPLETE_03292011_101106 on filer XXXj-netapp02 volume lnx2_XXXtcma_arch : Snapshot operation failed: No space left on device.

.

--[ERROR] FLOW-11010: Operation transitioning to abort due to prior failure.

--[ WARN] FLOW-11011: Operation aborted

--[ERROR] FLOW-11008: Operation failed: SD-00003: Error creating snapshot: SD-10016: Error executing snapdrive command "/usr/sbin/snapdrive snap create -vg cmaarch_SdDg -vg cmadbf_SdDg -snapname smo_dbrestore_psprod_f_c_1_ff8080812f01f3a8012f01f3abd20001_0 -unrelated": Starting snap create /dev/mapper/cmaarch_SdDg, /dev/mapper/cmadbf_SdDg

  WARNING:  DO NOT CONTROL-C!

            If snap create is interrupted, incomplete snapdrive

                         generated data may remain on the filer volume(s)

                         which may interfere with other snap operations.

0001-123 Admin error: Failed to create snapshot smo_dbrestore_psprod_f_c_1_ff8080812f01f3a8012f01f3abd20001_0.CREATE_INCOMPLETE_03292011_101106 on filer XXXj-netapp02 volume lnx2_XXXtxxx_arch : Snapshot operation failed: No space left on device.

.

--[ERROR] SMO-13032: Cannot perform operation: Backup Create.  Root cause: SMO-11004: Error creating snapshot: FLOW-11019: Failure in CreateSnapshotForBucket: SD-00003: Error creating snapshot: SD-10016: Error executing snapdrive command "/usr/sbin/snapdrive snap create -vg cmaarch_SdDg -vg cmadbf_SdDg -snapname smo_dbrestore_psprod_f_c_1_ff8080812f01f3a8012f01f3abd20001_0 -unrelated": Starting snap create /dev/mapper/cmaarch_SdDg, /dev/mapper/cmadbf_SdDg

  WARNING:  DO NOT CONTROL-C!

            If snap create is interrupted, incomplete snapdrive

                         generated data may remain on the filer volume(s)

                         which may interfere with other snap operations.

0001-123 Admin error: Failed to create snapshot smo_dbrestore_psprod_f_c_1_ff8080812f01f3a8012f01f3abd20001_0.CREATE_INCOMPLETE_03292011_101106 on filer xxxj-netapp02 volume lnx2_xxxtxx_arch : Snapshot operation failed: No space left on device.

--[ INFO] SMO-07131: Unlocked database for SnapManager operations - removed lock file "/u01/app/oracle/product/10.2.0/db_1/dbs/.sm_lock_psprod" on host svr-ps-ldb02.cli.ad.

--[ INFO] SMO-07433: Returning the database to its initial state: psprod(OPEN).

--[ INFO] ORACLE-20000: Changing state for database instance psprod from MOUNTED to OPEN.

--[ INFO] ORACLE-20032: Opening database psprod with READ WRITE  option.

--[ INFO] SMO-13039: Successfully aborted operation: Backup Create

--[ERROR] SMO-13048: Backup Create Operation Status: FAILED

--[ INFO] SMO-13049: Elapsed Time: 0:00:46.914

I have checked there is suffecient space for snapshots on the volume.

gdefevere
3,932 Views

We have the same issue. Did you found an solution for this problem ?

Public