ONTAP Discussions

How can I see the previous page of "disk show" output ?

ARTHUR_STUDY
5,806 Views

Dear all,

Appreciate if you can tell me how to see the first page of "disk show" output after I type this command in Data ONTAP, I always got too long output and the first page showed out very fast that I can't see it.I can only get the last page of this output. Do we have any command to pause this output like Linux " |more " or " |less " , so that we can read this page by page?

Thanks a lot in advance!

Best

David

6 REPLIES 6

arunchak
5,806 Views

Hi,

Are you using c-mode data ONTAP?

If so you can set the number of output lines to show.

Go to advanced mode

Run command “set rows 24”

It will show 24 lines per page and ask you to move to the next page.

Thanks,

  Arun

ARTHUR_STUDY
5,806 Views

Hi Arunchak,

Thanks for your help. But I am using 7-mode, Would you please let me know how to "Go to advanced mode" and which command to use to setup the rows? Thanks a lot!

Best

arunchak
5,807 Views

HI,

unfortunately you don't have that option in 7-mode .

You can use linux though.

eg:

login to a linux machine

linux prompt>> ssh root@<7-mode filer ip> lun show >> /lunshow.txt

it will ask you for password  of the filer.

Now your lun show output will be available in yout /lunshow.txt file

Thanks,

  Arun

arunchak
5,807 Views

or one other way is set your putty settings such that number of scroll lines are more like 2000. Now you can scroll back to check the previous page.

ARTHUR_STUDY
5,807 Views

Arunchak,

Thanks a lot! Putty setting can be a good alternate method. It's helpful !

Have a good day!

Best

arunchak
5,807 Views

Thanks

Have a good day

Public