Skip to main content
NetApp Knowledgebase

When do we use the bye, halt, and reboot commands?

 

Applies to

Data ONTAP 7
Data ONTAP 8

Answer

The bye command works at the ok/CFE/LOADER prompt (ok> or CFE> or LOADER>) to reboot the filer.
The halt command works at the at filer prompt, it terminates all services (for example: CIFS) and brings the filer to the ok prompt (ok>).
The reboot command works at the filer prompt (filer1>) to reboot the filer.

Using the reboot command

f810-ca> bye (shows that bye only works at the ok/CFE/LOADER prompt)
bye not found. Type '?' for a list of commands
f810-ca> reboot

CIFS local server is shutting down...

CIFS local server has shut down...
Tue Aug 3 16:46:01 PDT [kern.shutdown:notice]: System shut down because : "rebo
ot".
Tue Aug 3 16:46:01 PDT [iscsi.service.shutdown:info]: iSCSI service shutdown

Intel Open Firmware by FirmWorks
Copyright 1995-2004 FirmWorks, NetApp. All Rights Reserved.
Firmware release 4.2.3_i1
Press Del to abort boot, Esc to skip POST

Memory size is 512 MB

Note:

In a clustered configuration, running  the "reboot" command on a node does not cause a CF takeover implicitly. It starts a 90 second counter that allows the rebooted node time to come back online before attempting a takeover. This timer can be monitored with "cf status" while the partner node is rebooting.

Using the halt and bye command

f810-ca> halt

CIFS local server is shutting down...

CIFS local server has shut down...
Tue Aug 3 15:57:01 PDT [kern.shutdown:notice]: System shut down because : "halt".
Tue Aug 3 15:57:01 PDT [iscsi.service.shutdown:info]: iSCSI service shutdown
Program terminated
ok reboot     (shows that reboot only works from the filer prompt)
reboot ?
ok bye

Intel Open Firmware by FirmWorks
Copyright 1995-2004 FirmWorks, NetApp. All Rights Reserved.
Firmware release 4.2.3_i1
Press Del to abort boot, Es

Memory size is 512 MB
Testing SIO
Testing LCD
Probing devices
Testing 512MB
256 to 320MB
Skipping further tests
Complete
Finding image...
Loading isa floppy
Floppy not first boot disk
No floppy disk found.

Booting from fcal
Loading /pci2/fcal@7/disk@10
100%
Starting Press CTRL-C for special boot menu

Halting the filer will interrupt CIFS service, give advance warning to CIFS users.

 

Additional Information

Add your text here.