Skip to content

Instantly share code, notes, and snippets.

@MVesuviusC
Last active December 11, 2023 18:37
Show Gist options
  • Save MVesuviusC/40cff94bfda9cfdd4281cfbd8fd9ca0b to your computer and use it in GitHub Desktop.
Save MVesuviusC/40cff94bfda9cfdd4281cfbd8fd9ca0b to your computer and use it in GitHub Desktop.
commands to run smbclient
smbclient //researchshare/RESTheisen -W research -U mvc002
smbclient //igmdata/igm_roberts -W research -U mvc002
If gcc error: ml purge
# sometimes get this error:
[mvc002@r1pl-hpcf-log01 Counts_2]$ smbclient //igmdata/igm_roberts_osu -W research -U mvc002
Password for [RESEARCH\mvc002]:
Try "help" to get a list of possible commands.
smb: \> prompt
smb: \> recurse
smb: \> cd Roberts_lab\
smb: \Roberts_lab\> mput S0104*
putting file S0104/possorted_genome_bam.bam.bai as \Roberts_lab\S0104\possorted_genome_bam.bam.bai (20024.8 kb/s) (average 20024.8 kb/s)
putting file S0104/molecule_info.h5 as \Roberts_lab\S0104\molecule_info.h5 (89827.8 kb/s) (average 85742.9 kb/s)
putting file S0104/raw_feature_bc_matrix.h5 as \Roberts_lab\S0104\raw_feature_bc_matrix.h5 (92820.6 kb/s) (average 86561.2 kb/s)
putting file S0104/filtered_feature_bc_matrix/matrix.mtx.gz as \Roberts_lab\S0104\filtered_feature_bc_matrix\matrix.mtx.gz (107152.8 kb/s) (average 89563.7 kb/s)
putting file S0104/filtered_feature_bc_matrix/barcodes.tsv.gz as \Roberts_lab\S0104\filtered_feature_bc_matrix\barcodes.tsv.gz (1453.3 kb/s) (average 88952.9 kb/s)
putting file S0104/filtered_feature_bc_matrix/features.tsv.gz as \Roberts_lab\S0104\filtered_feature_bc_matrix\features.tsv.gz (7475.7 kb/s) (average 88165.7 kb/s)
putting file S0104/metrics_summary.csv as \Roberts_lab\S0104\metrics_summary.csv (23.5 kb/s) (average 87564.7 kb/s)
cli_push returned NT_STATUS_IO_TIMEOUT
NT_STATUS_IO_TIMEOUT closing remote file \Roberts_lab\S0104\possorted_genome_bam.bam
putting file S0104/possorted_genome_bam.bam as \Roberts_lab\S0104\possorted_genome_bam.bam putting file S0104/filtered_feature_bc_matrix.h5 as \Roberts_lab\S0104\filtered_feature_bc_matrix.h5 (16377.8 kb/s) (average 68726.9 kb/s)
NT_STATUS_INVALID_NETWORK_RESPONSE closing remote file \Roberts_lab\S0104\web_summary.html
NT_STATUS_CONNECTION_DISCONNECTED making remote directory \Roberts_lab\S0104\raw_feature_bc_matrix
NT_STATUS_CONNECTION_DISCONNECTED opening remote file \Roberts_lab\S0104\raw_feature_bc_matrix\matrix.mtx.gz
NT_STATUS_CONNECTION_DISCONNECTED opening remote file \Roberts_lab\S0104\raw_feature_bc_matrix\barcodes.tsv.gz
NT_STATUS_CONNECTION_DISCONNECTED opening remote file \Roberts_lab\S0104\raw_feature_bc_matrix\features.tsv.gz
smb: \Roberts_lab\> putting file S0104/web_summary.html as \Roberts_lab\S0104\web_summary.html Unable to make dir, skipping...SMBecho failed (NT_STATUS_CONNECTION_DISCONNECTED). The connection is disconnected now
[mvc002@r1pl-hpcf-log01 Counts_2]$
# This seemed to help:
# taken from https://unix.stackexchange.com/questions/31900/smbclient-alternative-for-large-files
smbclient --socket-options='TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072' //igmdata/igm_roberts_osu -W research -U mvc002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment