trouble with snapshots

36 views
Skip to first unread message

Marcin Ciesielski

unread,
Nov 30, 2017, 3:50:23 PM11/30/17
to dedupfilesystem-sdfs-user-discuss
Dear all
I am struggling with the snapshot command 
I am using sdfs_3.5.8.3_amd64  on ubuntu 16.04

my volume is above 500GG set as a backup and low memory
for the test purpose all my dat sits in one folder DATA 

so my command is 
sdfscli --snapshot --file-path=DATA/ --snapshot-path=../.snapshots/DATA_SNAP
as I understand file-path is relative to the volume, the whole snapshot-path is relative to file-path

I assume that folder .snapshots will be created on the same level as DATA

I am completely lost
1. I don't see how to specify the volume in the command.
2. I am not sure if it is possible to take the snapshot of the whole volume and exclude folder .snapshots at is root
3. every time I run the command I get following exception, so I am not even sure if my command is correct

java.io.IOException: java.net.SocketTimeoutException: Read timed out
        at org.opendedup.sdfs.mgmt.cli.MgmtServerConnection.getResponse(MgmtServerConnection.java:132)
        at org.opendedup.sdfs.mgmt.cli.ProcessSnapshotCmd.runCmd(ProcessSnapshotCmd.java:21)
        at org.opendedup.sdfs.mgmt.cli.SDFSCmdline.parseCmdLine(SDFSCmdline.java:175)
        at org.opendedup.sdfs.mgmt.cli.SDFSCmdline.main(SDFSCmdline.java:626)
Caused by: java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
        at java.net.SocketInputStream.read(SocketInputStream.java:170)
        at java.net.SocketInputStream.read(SocketInputStream.java:141)
        at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
        at sun.security.ssl.InputRecord.read(InputRecord.java:503)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
        at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
        at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
        at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
        at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
        at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
        at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
        at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
        at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
        at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
        at org.opendedup.sdfs.mgmt.cli.MgmtServerConnection.getResponse(MgmtServerConnection.java:116)
Reply all
Reply to author
Forward
0 new messages