Today I wanna show you, how to perform a speed test between a Windows Client and your NetApp filer.
Logon to your NetApp filer using SSH.
Set priv to advanced:
netapp::> set -privilege advanced
Warning: These advanced commands are potentially dangerous; use them only when
directed to do so by NetApp personnel.
Do you want to continue? {y|n}: y
netapp::> y
Start iperf server:
netapp::*> network test-link start-server
Install and run iperf on Windows:
- Logon into the Windows client
- Download iperf3 and extract it
https://iperf.fr/en/iperf-download.php#windows
- browse to iperf3.exe and run
iperf -c serveripaddress
Example execution and output:
iperf3.exe -c 10.1.1.10
Connecting to host 10.4.248.156, port 5201
[ 4] local 10.2.1.2 port 61373 connected to 10.1.1.10 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 91.2 MBytes 762 Mbits/sec
[ 4] 1.00-2.00 sec 88.1 MBytes 742 Mbits/sec
[ 4] 2.00-3.00 sec 99.6 MBytes 835 Mbits/sec
[ 4] 3.00-4.00 sec 95.6 MBytes 802 Mbits/sec
[ 4] 4.00-5.00 sec 95.1 MBytes 798 Mbits/sec
[ 4] 5.00-6.00 sec 94.1 MBytes 790 Mbits/sec
[ 4] 6.00-7.00 sec 92.9 MBytes 779 Mbits/sec
[ 4] 7.00-8.00 sec 93.2 MBytes 782 Mbits/sec
[ 4] 8.00-9.00 sec 94.8 MBytes 795 Mbits/sec
[ 4] 9.00-10.00 sec 91.2 MBytes 765 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 936 MBytes 785 Mbits/sec sender
[ 4] 0.00-10.00 sec 936 MBytes 785 Mbits/sec receiver
iperf Done.
Stop iperf server on NetApp:
netapp::*> network test-link stop-server
Showing posts with label Filesystem. Show all posts
Showing posts with label Filesystem. Show all posts
Wednesday, April 1, 2020
Tuesday, February 11, 2020
Restore files from previous versions including all file information
In the following post we will use Robocopy to restore files from previous version including all file information like attributes, timestamps, NTFS ACLs etc
The most admins just move the files from previous versions and lose the original file information.
If files were encrypted our deleted you can use the following method to restore your files, including all information, if shadow copies was configured!
First we need to get the path of the previous version:
Than we could run the following command to restore our files:
robocopy "\\fileserver\c$\data001\@GMT-2019.11.28-11.06.38\testtree" "\\fileserver\c$\data001\testtree" /E /COPYALL /DCOPY:T
Explanation of the switches used in robocopy:
Copy directory recursively (/E)
Copy all file information (/COPYALL, equivalent to /COPY:DATSOU, D=Data, A=Attributes, T=Timestamps, S=Security=NTFS ACLs, O=Owner info, U=Auditing info)
Preserve original directories Timestamps (/DCOPY:T).
The most admins just move the files from previous versions and lose the original file information.
If files were encrypted our deleted you can use the following method to restore your files, including all information, if shadow copies was configured!
First we need to get the path of the previous version:
Than we could run the following command to restore our files:
robocopy "\\fileserver\c$\data001\@GMT-2019.11.28-11.06.38\testtree" "\\fileserver\c$\data001\testtree" /E /COPYALL /DCOPY:T
Explanation of the switches used in robocopy:
Copy directory recursively (/E)
Copy all file information (/COPYALL, equivalent to /COPY:DATSOU, D=Data, A=Attributes, T=Timestamps, S=Security=NTFS ACLs, O=Owner info, U=Auditing info)
Preserve original directories Timestamps (/DCOPY:T).
Labels:
Filesystem,
Robocopy,
Shadow Copy
Monday, May 14, 2018
How to find largest files using Powershell
If your
hard drive is running out of space, you need to know which files causing this
issue!
To
establish this we will use Get-ChildItem.
Use the
following command to get the top three files.
Get-ChildItem
-r| sort -descending -property length | select -first 3 name, Length
The Length
will be displayed in Bytes, if you have large files it´s better to display it
in Mega Bytes, so let´s calculate the responding property length into MB.
Get-ChildItem
-r|sort -descending -property length | select -first 3 name,
@{Name="Megabytes";Expression={[Math]::round($_.length / 1MB, 2)}}
Now we get
all files, where are these files located? Just select DirectoryName as well, to get it.
Get-ChildItem
-r|sort -descending -property length | select -first 3 name, DirectoryName,
@{Name="Megabytes";Expression={[Math]::round($_.length / 1MB, 2)}}
Labels:
Filesystem,
Powershell
Subscribe to:
Posts (Atom)