NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

snapdrive cannot restore a single file

JEPHEWUMSP
4,170 Views

When I tried to use snapdrive to restore a single file, I got error like 'Unable to get the fstype and mntOpts', what is the problem?

[root@np-db-01 snapdrive]# more /etc/issue

Oracle Linux Server release 5.8

Kernel \r on an \m

[root@np-db-01 snapdrive]# uname -a

Linux np-db-01 2.6.39-300.17.2.el5uek #1 SMP Wed Nov 7 17:34:26 PST 2012 x86_64 x86_64 x86_64 GNU/Linux

[root@np-db-01 /]# snapdrive snap restore -file /u02/oradata/sm/users01.dbf -snapname 10.0.44.1:/vol/NR_Test_DB_01_u02:nrma_1_8a898f8b3b6e3224013b6e322ae60001_0_20121206 -force -noprompt -verbose

Starting to restore /u02/oradata/sm/users01.dbf

  WARNING:  This can take several minutes.

            DO NOT CONTROL-C!

            If snap restore is interrupted, the filespecs

            being restored may have inconsistent or corrupted

            data.

  For detailed progress information, see the log file /var/log/sd-recovery.log

0002-137 Command error: Unable to get the fstype and mntOpts for 10.0.44.1:/vol/NR_Test_DB_01_u02/oradata/sm/users01.dbf from snapshot 10.0.44.1:/vol/MA_Test_DB_01_u02:nrma_1_8a898f8b3b6e3224013b6e322ae60001_0_20121206.

3 REPLIES 3

NETAPPACT
4,170 Views

Did you get to the bottom of this one?

We've just hit the same error...

Regards

Gavin

himanshp
4,170 Views

Hello,

Can you please confirm the SDU version and send the SDU trace log for the issue reported above.

Thanks,

Himanshu

NETAPPACT
4,170 Views

Hi there,

If the above was directed at me, then we've since opened a NetApp support case, ref #2003905411.

Regards

Gavin

Public